• 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: HALOutputUnit (Pt 1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HALOutputUnit (Pt 1)


  • Subject: Re: HALOutputUnit (Pt 1)
  • From: Airy André <email@hidden>
  • Date: Thu, 5 Feb 2004 19:16:56 +0100

Le 5 fivr. 04, ` 02:06, William Stewart a icrit :

Now that I am providing a filled-out buffer list, AudioUnitRender is returning kAudioUnitErr_CannotDoInCurrentContext.

From what I can see this is returned when:
don't have any input data to give you
you're asking for too much data (ie. you are asking for a different number of frames than it has kept from the I/O proc)... Thus, I wouldn't do sample rate conversion (as this will trip this), and I'd ask for the exact same number of frames as the device is doing I/O in.

We may remove this restriction (and thus do some buffering of the input)...

It seems to work for me if I remove the SetProperty(kAudioUnitProperty_StreamFormat) on the Input.

Airy
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: HALOutputUnit (Pt 1) (From: Bob Stuller <email@hidden>)
 >Re: HALOutputUnit (Pt 1) (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Daisy And captureCurrentPtr.
  • Next by Date: RE: AudioDeviceRead / HALOutputUnit
  • Previous by thread: Re: HALOutputUnit (Pt 1)
  • Next by thread: Re: HALOutputUnit (Pt 1)
  • Index(es):
    • Date
    • Thread