• 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
kAudioOutputUnitProperty_CurrentDevice with error -2147450879
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioOutputUnitProperty_CurrentDevice with error -2147450879


  • Subject: kAudioOutputUnitProperty_CurrentDevice with error -2147450879
  • From: GW Rodriguez <email@hidden>
  • Date: Sun, 12 Jun 2011 19:52:36 -0400

I have been trying to set a AUHAL's output device to something other than the default output.  Here's the code I've been using:

error = AudioUnitSetProperty(au, kAudioOutputUnitProperty_CurrentDevice, kAudioUnitScope_Global, 0, &deviceID, sizeof(UInt32));

At first I though I was getting the error because I was trying to set this property after I had initialized and started the graph, but once I moved the function to before the init graph I got the same error.  I looked through the archives and couldn't find anyone else with this error code with kAudioOutputUnitProperty_CurrentDevice.

Any help is much appreciated. 
Thanks
--
GW Rodriguez

 _______________________________________________
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: Audio I/O Question
  • Next by Date: Issues, advice needed...
  • Previous by thread: Re: Audio I/O Question
  • Next by thread: Re: kAudioOutputUnitProperty_CurrentDevice with error -2147450879
  • Index(es):
    • Date
    • Thread