• 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
Channel Mapping and Audio Input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Channel Mapping and Audio Input


  • Subject: Channel Mapping and Audio Input
  • From: Mark Coniglio <email@hidden>
  • Date: Tue, 27 Feb 2007 08:06:54 +0100

I am using AUHAL for audio input, and have a question about mapping.

The hardware source is a two channel device.

I've set the output format of the audio input (kAudioUnitScope_Output, element 1) to four channels. I would like to be able to route input 1 and 2 from the hardware, to any of the four ourput channels. My tests show this:

Case 1: Channel map { 0, 1, 0, 1 } = all four output channels have sound.

Case 2: Channel map { -1, 1, 0, 1 } = first output chan = no sound, remaining channels have sound

Case 3: Channel map { 1, -1, 0, 1 } = second output chan = no sound, remaining channels have sound

Case 4: Channel map { -1, -1, 0, 1 } = no channels have sound!

It would seem that in case 4, I am telling channels 3 and 4 of the output to receive data from channels 0 and 1 of the input device. But instead I get no audio at all.

It seems that as long as position 1 or 2 of the map has a valid source, i.e., 0 or 1, I get the correct mapping. But if position 1 and 2 of the map are both -1, then I get nothing.

Am I doing something wrong? Does AUHAL get confused if I set the audio output stream for the input device to 4 output channels ?

Thank in advance for the help,
Mark

--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater          | http://www.troikaranch.org
=====================================================================
_______________________________________________
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


  • Prev by Date: Re: Inconsistency with number of inputs and outputs returned by and AU Plugin
  • Next by Date: Matrix Mixer and Number of Channels Per Bus
  • Previous by thread: Re: Inconsistency with number of inputs and outputs returned by and AU Plugin
  • Next by thread: Matrix Mixer and Number of Channels Per Bus
  • Index(es):
    • Date
    • Thread