• 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: Bizarre error in CoreAudio code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bizarre error in CoreAudio code


  • Subject: Re: Bizarre error in CoreAudio code
  • From: Doug Wyatt <email@hidden>
  • Date: Wed, 30 Jun 2004 12:47:28 -0700

You probably have selected an input-only device before enabling input on the unit ... the error indicates that the device does not have a current stream format.

How did you open the unit?

Did you set kAudioOutputUnitProperty_EnableIO to true on bus 1, scope input?

Doug

On Jun 29, 2004, at 15:29, Chilton Webb wrote:
Hi,

if I use this...

err =AudioUnitSetProperty(InputUnit,
kAudioOutputUnitProperty_CurrentDevice,
kAudioUnitScope_Global,
0,
&inputDevice,
sizeof(inputDevice));

... with the correct DeviceID of a USB mic or the iSight camera, I get the 'kAudioUnitErr_InvalidPropertyValue' as an error. Otherwise, all is fine. Why would that be?

Thanks,
-Chilton
_______________________________________________
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.
_______________________________________________
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: 
 >Bizarre error in CoreAudio code (From: Chilton Webb <email@hidden>)

  • Prev by Date: Re: Simple Audio Playback
  • Next by Date: Re: Bizarre error in CoreAudio code
  • Previous by thread: Bizarre error in CoreAudio code
  • Next by thread: Re: Bizarre error in CoreAudio code
  • Index(es):
    • Date
    • Thread