Re: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
Re: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
- Subject: Re: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
- From: Joel Reymont <email@hidden>
- Date: Wed, 11 Feb 2009 12:54:35 +0000
Simply asking often helps. I had kInputBus below as 0 whereas it has
to be 1.
On Feb 11, 2009, at 12:44 PM, Joel Reymont wrote:
I'm running this code in the iPhone simulator.
Any suggestions on why setting kAudioOutputUnitProperty_EnableIO
would return -10877?
What is -10877, I can't find the description.
Thanks, Joel
---
// Enable IO for recording
UInt32 flag = 1;
status = AudioUnitSetProperty(_audioUnit,
kAudioOutputUnitProperty_EnableIO,
kAudioUnitScope_Input, kInputBus,
&flag, sizeof(flag));
^^^ returns -10877
---
http://tinyco.de
--- Mac & iPhone
_______________________________________________
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