Ignore:
Timestamp:
Mar 23, 2013, 7:06:59 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
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.
Message:

Merge develop into device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/utils_apple_audio.c

    rc059581 ref47246  
    1111CFURLRef getURLFromPath(const char * path);
    1212
    13 int createAubioBufferList(AudioBufferList * bufferList, int channels, int segmentSize) {
     13int createAubioBufferList(AudioBufferList * bufferList, int channels, int max_source_samples) {
    1414  bufferList->mNumberBuffers = 1;
    1515  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);
    1818  return 0;
    1919}
Note: See TracChangeset for help on using the changeset viewer.