Re: AudioBufferList changing the number of buffers
Re: AudioBufferList changing the number of buffers
- Subject: Re: AudioBufferList changing the number of buffers
- From: Peter Rebholz <email@hidden>
- Date: Mon, 7 Apr 2008 13:51:33 -0500
Never mind, I found the answer in CAPlayThrough. I tried googling
several times but never in the context of CoreAudio. I figured it had
to do increasing the amount of memory for the struct but it didn't
seem like safe idea.
Peter
On Apr 7, 2008, at 1:37 PM, Peter Rebholz wrote:
I realize this is more of a C question but I'll ask anyway.
I'm still bit of a C n00b but I believe I have a reasonable
understanding of it. I'm trying to create an AudioBufferList with n
number of channels to hold non-interleaved audio data. I can't seem
to figure out how I'm supposed to point the mBuffers array to the
additional memory that I've allocated. My understanding is that
arrays are constants and therefor cannot be reassigned.
What's the correct way to deal with this? I know I've seen the same
thing in a few other CoreAudio stucts.
Thanks,
Peter
_______________________________________________
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