Changes in src/io/utils_apple_audio.c [19f222d:c833f56]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/utils_apple_audio.c
r19f222d rc833f56 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.