• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Chilton Webb <email@hidden>
  • Date: Mon, 7 Jun 2004 23:15:12 -0500

Hi,

(I'm trying to figure this stuff out on my own, without asking for gratuitous newbie help, but for some reason this is really confusing to me)

I have this code that is not working...

OSStatus err = noErr;
AudioUnit AUHAL;
UInt32 enableIO = 1;

err = OpenDefaultAudioOutput(&AUHAL);
err = AudioUnitSetProperty(AUHAL, kAudioOutputUnitProperty_EnableIO, kAudioUnitScope_Input,1, &enableIO, enableIO);

When I run this, I get -10879 (kAudioUnitErr_InvalidProperty) as the error after the last line above. Why? I want to use that AUHAL as an input as well as output device.

Thank you,
-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.


  • Follow-Ups:
    • Re: (no subject)
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: HALOutputUnit (Pt 2) confusion about surround channel mapping
  • Next by Date: Multiple Newbie CoreAudio AU and AUHAL problems
  • Previous by thread: Re: Digi CoreAudio 6.5 (Ted Barram)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread