Changeset d00e223
- Timestamp:
- Jul 27, 2012, 6:39:05 PM (12 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:
- 85ebab8
- Parents:
- 01e158d
- Location:
- src/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source.c
r01e158d rd00e223 72 72 } 73 73 74 uint_t aubio_source_get_samplerate(aubio_source_t * s) { 75 #ifdef __APPLE__ 76 return aubio_source_apple_audio_get_samplerate((aubio_source_apple_audio_t *)s->source); 77 #else /* __APPLE__ */ 78 #if HAVE_SNDFILE 79 return aubio_source_sndfile_get_samplerate((aubio_source_sndfile_t *)s->source); 80 #endif /* HAVE_SNDFILE */ 81 #endif /* __APPLE__ */ 82 } 83 -
src/io/source.h
r01e158d rd00e223 35 35 aubio_source_t * new_aubio_source(char_t * uri, uint_t samplerate, uint_t hop_size); 36 36 void aubio_source_do(aubio_source_t * s, fvec_t * read_data, uint_t * read); 37 uint_t aubio_source_get_samplerate(aubio_source_t * s); 37 38 void del_aubio_source(aubio_source_t * s); 38 39
Note: See TracChangeset
for help on using the changeset viewer.