AudioUnit and targeting a specific multi-channel on it
AudioUnit and targeting a specific multi-channel on it
- Subject: AudioUnit and targeting a specific multi-channel on it
- From: Dylan Ashe <email@hidden>
- Date: Thu, 27 Oct 2005 14:34:59 -0700
- Thread-topic: AudioUnit and targeting a specific multi-channel on it
Title: AudioUnit and targeting a specific multi-channel on it
[ Sorry about my ignorance on this topic — I only write audio software once a year — and it’s for my haunted house that I put together — and need more than a couple independent channels of audio coming out of my Mac.]
Anyway...
I have some code that (prior to 10.4 etc) talked to 2 Delta-410 cards.
In the old world, each pair of channels on each Delta-410 returned it’s own component. For example:
com_midiman_driver_DeltaAudioEngine:Delta_0x00000012:1 // Analog 1/2 Delta-410 #1
com_midiman_driver_DeltaAudioEngine:Delta_0x00000012:2 // Analog 3/4 Delta-410 #1
com_midiman_driver_DeltaAudioEngine:Delta_0x00000012:3 // Analog 5/6 Delta-410 #1
com_midiman_driver_DeltaAudioEngine:Delta_0x00000012:4 // Analog 7/8 Delta-410 #1
com_midiman_driver_DeltaAudioEngine:Delta_0x00000013:1 // Analog 1/2 Delta-410 #2
com_midiman_driver_DeltaAudioEngine:Delta_0x00000013:2 // Analog 3/4 Delta-410 #2
com_midiman_driver_DeltaAudioEngine:Delta_0x00000013:3 // Analog 5/6 Delta-410 #2
com_midiman_driver_DeltaAudioEngine:Delta_0x00000013:4 // Analog 7/8 Delta-410 #2
In the “old world” I would then simply take those names, call OpenAComponent(), AudioUnitInitialize(), AudioUnitSetProperty(), MatchASFormats(), and off I was playing different audio to different outputs.
Now under 10.4 I’m finding that only two components are being returned for my Delta-410 cards:
com_midiman_driver_Delta_AudioEngine:Delta_0x00000012:D6381412:0
com_midiman_driver_Delta_AudioEngine:Delta_0x00000012:D6381413:0
Does anyone know of a simple way of telling the audio unit what channel to use on that component?
Thanks,
Dylan
_______________________________________________
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