Changeset 52ca8a3 for src/io/sink.c
- Timestamp:
- Jan 24, 2014, 5:22:00 PM (11 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:
- 5cb8abe
- Parents:
- 5ab8e59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink.c
r5ab8e59 r52ca8a3 28 28 #ifdef HAVE_SNDFILE 29 29 #include "io/sink_sndfile.h" 30 #endif 31 #ifdef HAVE_WAVWRITE 32 #include "io/sink_wavwrite.h" 30 33 #endif 31 34 … … 67 70 } 68 71 #endif /* HAVE_SNDFILE */ 72 #if HAVE_WAVWRITE 73 s->sink = (void *)new_aubio_sink_wavwrite(uri, samplerate); 74 if (s->sink) { 75 s->s_do = (aubio_sink_do_t)(aubio_sink_wavwrite_do); 76 s->s_del = (del_aubio_sink_t)(del_aubio_sink_wavwrite); 77 return s; 78 } 79 #endif /* HAVE_WAVWRITE */ 69 80 AUBIO_ERROR("sink: failed creating aubio sink with %s\n", uri); 70 81 AUBIO_FREE(s);
Note: See TracChangeset
for help on using the changeset viewer.