• 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: HALOutputUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HALOutputUnit


  • Subject: Re: HALOutputUnit
  • From: James Coker <email@hidden>
  • Date: Thu, 8 Jan 2004 23:59:41 -0700

No converter seems to be necessary. All channels from the target
device are conveniently flattened onto one bus (makes it easy to
hook in a MatrixMixer.... Output channels are on the input side of bus 0,
input channels are on the output side of bus 1.

I was able to easily set one up to replace a DefaultOutputUnit. You can use
AudioDeviceGetProperty calls to get the device id's and names. Then set the
CurrentDevice property with one of those ID's. Dunno yet how to determine
how many channels are available. Some obvious targets (SupportedNumChannels
and get property info on ChannelMap) don't seem to work.

Jim

On Jan 8, 2004, at 7:15 PM, Robert Grant wrote:

What properties need to be set to make it happy? I imagine that once it's configured it probably behaves in a similar manner to the DefaultOutputUnit?

I think the DefaultOutputUnit does some fancy footwork to convert the canonical format to the device format - would a HALOutputUnit do this by default or would we have to connect it to an Converter before wiring it into a graph for example?

Robert.
_______________________________________________
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.

References: 
 >A freezing bug (From: Robert Grant <email@hidden>)
 >Re: A freezing bug (From: James Coker <email@hidden>)
 >Re: A freezing bug (From: Robert Grant <email@hidden>)
 >Re: A freezing bug (From: William Stewart <email@hidden>)
 >HALOutputUnit (From: Robert Grant <email@hidden>)

  • Prev by Date: HALOutputUnit (was Re: A freezing bug)
  • Next by Date: Re: writing aiff file to disk
  • Previous by thread: HALOutputUnit
  • Next by thread: HALOutputUnit (was Re: A freezing bug)
  • Index(es):
    • Date
    • Thread