• 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: Creating an AudioBufferList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating an AudioBufferList


  • Subject: Re: Creating an AudioBufferList
  • From: Peter Rebholz <email@hidden>
  • Date: Fri, 21 Nov 2008 16:59:18 -0600

Bill,

Thanks for that tip, I was unaware. I'm assuming that the issue is with offsetof as the method in CABufferList is similar to the first method I described. My concern here is that I think I actually learned the offsetof method by looking at some of the CA PublicUtility code when I was picking up C and CoreAudio at the same time. When I search through the code I see the same method being used; AUOutputBL.cpp:70 does it the same way I did, for example.

I'm not trying to validate my original response so much as I am trying to gain an understanding.

Thanks,
Peter

On Nov 21, 2008, at 2:51 PM, William Stewart wrote:

CABufferList in PublicUtility has a method to do this - you have to be careful about doing this in a way that is compatible with 64bit

Bill
_______________________________________________
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


  • Follow-Ups:
    • Re: Creating an AudioBufferList
      • From: William Stewart <email@hidden>
References: 
 >Creating an AudioBufferList (From: Richard Dearlove <email@hidden>)
 >Re: Creating an AudioBufferList (From: Peter Rebholz <email@hidden>)
 >Re: Creating an AudioBufferList (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Example of minimal CoreMidi code to play MIDI through the built in synth?
  • Next by Date: Re: Detecting if sounds are playing in Crash Landing iPhone App sample sound Engine
  • Previous by thread: Re: Creating an AudioBufferList
  • Next by thread: Re: Creating an AudioBufferList
  • Index(es):
    • Date
    • Thread