• 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
AudioConverterFillComplexBuffer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioConverterFillComplexBuffer


  • Subject: AudioConverterFillComplexBuffer
  • From: Stephen Shaw <email@hidden>
  • Date: Mon, 22 Aug 2005 17:14:05 -0700
  • Thread-topic: AudioConverterFillComplexBuffer

I'm trying something like in the simple playback example, however, when I
call AudioConverterFillComplexBuffer  (), my callback "_ACComplexInputProc"
never gets called, and I get a result code of -1.

Has anyone seen this or have any ideas what might be happening?
Is there anyway of getting a useful error?


OSStatus SoundBoardCoreAudio::OutputCallbackProc (void *inRefCon,
                                     AudioUnitRenderActionFlags
*ioActionFlags,
                                     const AudioTimeStamp *TimeStamp,
                                     UInt32 inBusNumber,
                                     UInt32 inNumberFrames,
                                     AudioBufferList * ioData)
{
    OSStatus err = noErr;
    AudioStreamPacketDescription* outPacketDescription = NULL;
    void *pInInputDataProcUserData = NULL;


    AudioConverterRef conv = pThisObj->mConverter;
    err = AudioConverterFillComplexBuffer (conv , _ACComplexInputProc ,
pInInputDataProcUserData , &inNumberFrames, ioData, outPacketDescription);
       check (err);

    return (err);
}

Thanks,
Stephen

 _______________________________________________
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

  • Prev by Date: Re: Problem with disclosure triangle (resizing Cocoa view) in Logic
  • Next by Date: Re: Problem with disclosure triangle (resizing Cocoa view) in Logic
  • Previous by thread: Re: Problem with disclosure triangle (resizing Cocoa view) in Logic
  • Next by thread: Legal fanning behaviour?
  • Index(es):
    • Date
    • Thread