• 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: Stereo panning with the HAL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Stereo panning with the HAL (From: Andrew MacDonald <email@hidden>)

  • Prev by Date: Stereo panning with the HAL
  • Next by Date: Re: Stereo panning with the HAL
  • Previous by thread: Stereo panning with the HAL
  • Next by thread: Re: Stereo panning with the HAL
  • Index(es):
    • Date
    • Thread