kAudioOutputUnitProperty_CurrentDevice with error -2147450879
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