Stereo panning with the HAL
Stereo panning with the HAL
- Subject: Stereo panning with the HAL
- From: Andrew MacDonald <email@hidden>
- Date: Tue, 6 May 2008 18:25:23 -0700
- Acceptlanguage: en-US
- Thread-topic: Stereo panning with the HAL
I'm trying to control the stereo panning on a Macbook using the HAL. (Essentially I want the same functionality as provided by the Balance bar in System Preferences -> Sound -> Output).
In principle it would seem pretty straightforward to use the kAudioDevicePropertyStereoPan parameter with AudioDeviceSetProperty(). However when checking for the property on the "Built-in Output" device:
AudioDeviceGetPropertyInfo(device, channel, false, kAudioDevicePropertyStereoPan, NULL, NULL);
kAudioHardwareUnknownPropertyError is returned for every channel. Is this typical behaviour, and if so, is anyone aware of a different way to obtain stereo panning functionality through the HAL?
Thanks,
Andrew
_______________________________________________
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