Changeset ef47246 for src/io/utils_apple_audio.c
- Timestamp:
- Mar 23, 2013, 7:06:59 AM (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:
- 4084cd8
- Parents:
- c059581 (diff), c833f56 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/utils_apple_audio.c
rc059581 ref47246 11 11 CFURLRef getURLFromPath(const char * path); 12 12 13 int createAubioBufferList(AudioBufferList * bufferList, int channels, int segmentSize) {13 int createAubioBufferList(AudioBufferList * bufferList, int channels, int max_source_samples) { 14 14 bufferList->mNumberBuffers = 1; 15 15 bufferList->mBuffers[0].mNumberChannels = channels; 16 bufferList->mBuffers[0].mData = AUBIO_ARRAY(short, segmentSize);17 bufferList->mBuffers[0].mDataByteSize = segmentSize* sizeof(short);16 bufferList->mBuffers[0].mData = AUBIO_ARRAY(short, max_source_samples); 17 bufferList->mBuffers[0].mDataByteSize = max_source_samples * sizeof(short); 18 18 return 0; 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.