• 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: AURender Call back function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AURender Call back function


  • Subject: Re: AURender Call back function
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 26 Feb 2009 09:02:56 -0800


On Feb 25, 2009, at 8:41 PM, Gabriele Palmas wrote:

Now I checked AudioFileOpen, ExtAudioFileOpen and ExtAudioFileCreateNew are part of the AudioTollBox Framework that is included in my app.

Adding the framework to the project makes more of a difference at link time. At compile time, the headers need to have been #included. It looks like CAAudioFile.h does include <AudioToolbox/AudioToolbox.h>, so I'm not sure why it wouldn't pick up the AudioFile declarations. Unless there's something different about the header layout on iPhone.

UInt32 nFrames = inNumberFrames;

    PullBuffer(nFrames, ioData);
    if (nFrames < inNumberFrames) { ....

Um, PullBuffer is a method, not a function. You have to call it through an instance of the class, i.e. myfile->PullBuffer. (Unless this snippet is part of a method in a class that subclasses CAAudioFile? In that case, we'd need to see more of the code.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: AURender Call back function
      • From: Gabriele Palmas <email@hidden>
References: 
 >AURender Call back function (From: Gabriele Palmas <email@hidden>)
 >Re: AURender Call back function (From: Jens Alfke <email@hidden>)
 >Re: AURender Call back function (From: Gabriele Palmas <email@hidden>)
 >Re: AURender Call back function (From: Gabriele Palmas <email@hidden>)
 >Re: AURender Call back function (From: Jens Alfke <email@hidden>)
 >Re: AURender Call back function (From: Gabriele Palmas <email@hidden>)

  • Prev by Date: Re: Getting the PreferedHardwareIOBufferDuration
  • Next by Date: Re: Getting the PreferedHardwareIOBufferDuration
  • Previous by thread: Re: AURender Call back function
  • Next by thread: Re: AURender Call back function
  • Index(es):
    • Date
    • Thread