[alsa-devel] Where is simple mixer control "Surround" defined for ac97 or via82xx? I cant find it anywhere in ac97....

John L. Utz III john.utz at dmx.com
Thu Aug 9 00:04:29 CEST 2007

The Surround controls exists:

amixer sget Surround
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [-46.50dB] [off]
  Front Right: Playback 0 [0%] [-46.50dB] [off]

amixer controls | grep Surround
numid=20,iface=MIXER,name='Surround Playback Switch'
numid=21,iface=MIXER,name='Surround Playback Volume'

But for the life of me, i cant find the code that implements it!

There are many implementations inside of the hda directory, but those
dont have anything todo with non hda things, the only item in the ac97
directory is for AD18XX:

ac97_codec.c:958:AD18XX_PCM_VOLUME("Surround Playback Volume", 1)

This shouldnt have anything to do with VIA 1618 stuff, right?



More information about the Alsa-devel mailing list