• 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
OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO


  • Subject: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
  • From: Joel Reymont <email@hidden>
  • Date: Wed, 11 Feb 2009 12:44:31 +0000

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

---

    AudioComponentDescription desc;

    desc.componentType = kAudioUnitType_Output;
    desc.componentSubType = kAudioUnitSubType_RemoteIO;
    desc.componentFlags = 0;
    desc.componentFlagsMask = 0;
    desc.componentManufacturer = kAudioUnitManufacturer_Apple;

    // Get component

AudioComponent inputComponent = AudioComponentFindNext(NULL, &desc);

    // Get audio units

    status = AudioComponentInstanceNew(inputComponent, &_audioUnit);

if (status != noErr) {
if (error) *error = [[NSError alloc] initWithDomain:AudioServerErrorDomain
code:status
userInfo:nil];
return NO;
}


    // 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
  • Follow-Ups:
    • Re: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
      • From: Joel Reymont <email@hidden>
  • Prev by Date: Re: How to record input and output sound into one file?
  • Next by Date: Re: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
  • Previous by thread: Re: Plugin delay compensation
  • Next by thread: Re: OSStatus -10877 from setting kAudioOutputUnitProperty_EnableIO
  • Index(es):
    • Date
    • Thread