Changeset ae5d58a for src/io/sink.c
- Timestamp:
- Apr 21, 2016, 6:47:50 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:
- b643a33
- Parents:
- 1120f86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink.c
r1120f86 rae5d58a 55 55 }; 56 56 57 aubio_sink_t * new_aubio_sink(c har_t * uri, uint_t samplerate) {57 aubio_sink_t * new_aubio_sink(const char_t * uri, uint_t samplerate) { 58 58 aubio_sink_t * s = AUBIO_NEW(aubio_sink_t); 59 59 #ifdef HAVE_SINK_APPLE_AUDIO … … 121 121 } 122 122 123 uint_t aubio_sink_get_samplerate( aubio_sink_t * s) {123 uint_t aubio_sink_get_samplerate(const aubio_sink_t * s) { 124 124 return s->s_get_samplerate((void *)s->sink); 125 125 } 126 126 127 uint_t aubio_sink_get_channels( aubio_sink_t * s) {127 uint_t aubio_sink_get_channels(const aubio_sink_t * s) { 128 128 return s->s_get_channels((void *)s->sink); 129 129 }
Note: See TracChangeset
for help on using the changeset viewer.