• 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: Another question about output routing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another question about output routing


  • Subject: Re: Another question about output routing
  • From: Chandrasekhar Ramakrishnan <email@hidden>
  • Date: Tue, 14 Mar 2006 08:17:28 -0800

Rick Cohen schrieb:
> If I want to leave the default output connected to one hardware
> interface and have my app sending audio to a different interface, which
> output AU should I connect to?  Generic, HAL, or something else?  Are
> these output AUs already connected to some hardware interface?
>
> What parameters do I need to set up?  Buffers, sample rate, channels,
> etc.? The default output AU seems to work very well with minimal setup.

Use the HALOutput and set the kAudioOutputUnitProperty_CurrentDevice
to the audioDeviceID of the device you want to use. Otherwise set up
is the same as with the default output.

> What if my user chooses the same hardware interface that is currently
> connected to the default output AU.  In that case should I silently
> connect to the default AU?

In my software I still use the HAL output. This means that even if the
default output gets changed to a different device, my app stays
connected to the old device. But if you wanted your software to behave
differently, you can use the default AU.

- sekhar

--
C. Ramakrishnan        email@hidden
 _______________________________________________
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: Another question about output routing
      • From: William Stewart <email@hidden>
References: 
 >Another question about output routing (From: Rick Cohen <email@hidden>)

  • Prev by Date: Re: Some Basic Questions about MultiChannel Audio
  • Next by Date: Re: AudioConverter MP3 decode questions
  • Previous by thread: Another question about output routing
  • Next by thread: Re: Another question about output routing
  • Index(es):
    • Date
    • Thread