Changeset b257b60 for src/io/sink_wavwrite.c
- Timestamp:
- Aug 12, 2015, 7:21:38 PM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 60fc05b
- Parents:
- 3a1a5d6 (diff), 7b2d740 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink_wavwrite.c
r3a1a5d6 rb257b60 45 45 #define HTOLES(x) x 46 46 #else 47 #ifdef HAVE_WIN_HACKS 48 #define HTOLES(x) x 49 #else 47 50 #define HTOLES(x) SWAPS(htons(x)) 51 #endif 48 52 #endif 49 53 … … 98 102 // zero samplerate given. do not open yet 99 103 if ((sint_t)samplerate == 0) return s; 104 // samplerate way too large, fail 105 if ((sint_t)samplerate > 192000 * 4) goto beach; 100 106 101 107 s->samplerate = samplerate;
Note: See TracChangeset
for help on using the changeset viewer.