• 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
Re: IO Test sample code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IO Test sample code


  • Subject: Re: IO Test sample code
  • From: Art Gillespie <email@hidden>
  • Date: Wed, 12 Nov 2003 16:25:07 -0500
  • Mail-followup-to: CoreAudio API <email@hidden>

Robert,

AudioUnitGetPropertyInfo returns -10879 - InvalidProperty for
kAudioOutputUnitProperty_EnableIO (same error as your call to SetProperty).

So my first guess was that Apple's default output unit didn't support
this feature.

However, calling AudioUnitGetProperty(kAudioOutputUnit_HasIO) returns
'1' in the data parameter for both input and output, indicating that
it's already enabled.

Finally, the AUGraphInitialize returns kAudioUnitErr_InvalidElement when
you specify element 1 as the source for the 'loopback' (as you had it
originally), but it returns kAudioUnitErr_FormatNotSupported when you
use element 0. I have no idea what all this means, but now my curiosity
is piqued (feedback loops are a soft spot for me :-)).

Best,

Art
>>0xBA

On Wed, Nov 12, 2003 at 11:53:50AM -0500, Robert Grant wrote:
> In the spirit of Art's drum machine - but unfortunately less successful
> - here's a little app that tries to wire up the DefaultOutputUnit's new
_______________________________________________
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: IO Test sample code
      • From: Robert Grant <email@hidden>
References: 
 >IO Test sample code (From: Robert Grant <email@hidden>)

  • Prev by Date: Output Audio Devices
  • Next by Date: Re: CoreMIDI Docs In Xcode
  • Previous by thread: IO Test sample code
  • Next by thread: Re: IO Test sample code
  • Index(es):
    • Date
    • Thread