• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioBufferList changing the number of buffers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >AudioBufferList changing the number of buffers (From: Peter Rebholz <email@hidden>)

  • Prev by Date: AudioBufferList changing the number of buffers
  • Next by Date: Re: Coreaudio-api Digest, Vol 5, Issue 130
  • Previous by thread: AudioBufferList changing the number of buffers
  • Next by thread: Re: Coreaudio-api Digest, Vol 5, Issue 130
  • Index(es):
    • Date
    • Thread