Re: Stereo panning with the HAL
Re: Stereo panning with the HAL
- Subject: Re: Stereo panning with the HAL
- From: Jeff Moore <email@hidden>
- Date: Tue, 6 May 2008 21:56:34 -0700
As you may surmise from the error you got, the built-in hardware
doesn't support a stereo pan control. Rather, the built-in hardware
has an individual volume control for the left and right channels.
On May 6, 2008, at 6:25 PM, Andrew MacDonald wrote:
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?
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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