• 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: Elliot Sedegah <email@hidden>
  • Date: Wed, 30 Jun 2004 12:50:29 -0700

Hi Chilton,
Have you tried enabling IO *before* setting the current device?

//Enable input on the AUHAL
enableIO = 1;
err = AudioUnitSetProperty(mInputUnit,
kAudioOutputUnitProperty_EnableIO,
kAudioUnitScope_Input,
1, // input element
&enableIO,
sizeof(enableIO));


On Jun 29, 2004, at 3:29 PM, 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: Bizarre error in CoreAudio code
  • Previous by thread: Re: Bizarre error in CoreAudio code
  • Next by thread: [ANN] SpectrumAU public beta
  • Index(es):
    • Date
    • Thread