ExtAudioFile and AudioBufferList allocation
ExtAudioFile and AudioBufferList allocation
- Subject: ExtAudioFile and AudioBufferList allocation
- From: Paul Brossier <email@hidden>
- Date: Wed, 10 Nov 2010 13:41:23 +0100
Hi,
When creating the audio buffer list with:
abl.mBuffers[0].mData = (short *)malloc(segmentSize * sizeof(short));
I get a lot of these messages:
test_apple_audio_file(23990,0xa03b7500) malloc: *** error for object
0x101ea04: incorrect checksum for freed object - object was probably
modified after being freed.
*** set a breakpoint in malloc_error_break to debug
When using this instead,
short data[4096];
abl.mBuffers[0].mData = data;
That problem disappear. What is going wrong here?
Thanks, Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden