Changeset ae5d58a for src/io/sink_sndfile.c
- Timestamp:
- Apr 21, 2016, 6:47:50 PM (8 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_sndfile.c
r1120f86 rae5d58a 54 54 uint_t aubio_sink_sndfile_open(aubio_sink_sndfile_t *s); 55 55 56 aubio_sink_sndfile_t * new_aubio_sink_sndfile(c har_t * path, uint_t samplerate) {56 aubio_sink_sndfile_t * new_aubio_sink_sndfile(const char_t * path, uint_t samplerate) { 57 57 aubio_sink_sndfile_t * s = AUBIO_NEW(aubio_sink_sndfile_t); 58 58 s->max_size = MAX_SIZE; … … 107 107 } 108 108 109 uint_t aubio_sink_sndfile_get_samplerate( aubio_sink_sndfile_t *s)109 uint_t aubio_sink_sndfile_get_samplerate(const aubio_sink_sndfile_t *s) 110 110 { 111 111 return s->samplerate; 112 112 } 113 113 114 uint_t aubio_sink_sndfile_get_channels( aubio_sink_sndfile_t *s)114 uint_t aubio_sink_sndfile_get_channels(const aubio_sink_sndfile_t *s) 115 115 { 116 116 return s->channels;
Note: See TracChangeset
for help on using the changeset viewer.