Changeset ae5d58a for src/io/source_avcodec.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/source_avcodec.c
r1120f86 rae5d58a 67 67 void aubio_source_avcodec_readframe(aubio_source_avcodec_t *s, uint_t * read_samples); 68 68 69 aubio_source_avcodec_t * new_aubio_source_avcodec(c har_t * path, uint_t samplerate, uint_t hop_size) {69 aubio_source_avcodec_t * new_aubio_source_avcodec(const char_t * path, uint_t samplerate, uint_t hop_size) { 70 70 aubio_source_avcodec_t * s = AUBIO_NEW(aubio_source_avcodec_t); 71 71 int err; … … 370 370 } 371 371 372 uint_t aubio_source_avcodec_get_samplerate( aubio_source_avcodec_t * s) {372 uint_t aubio_source_avcodec_get_samplerate(const aubio_source_avcodec_t * s) { 373 373 return s->samplerate; 374 374 } 375 375 376 uint_t aubio_source_avcodec_get_channels( aubio_source_avcodec_t * s) {376 uint_t aubio_source_avcodec_get_channels(const aubio_source_avcodec_t * s) { 377 377 return s->input_channels; 378 378 }
Note: See TracChangeset
for help on using the changeset viewer.