The amixer display 10-bands EQ stereo controls as mono controls.
The function of the equalizer is similar to bass, treble but equalizer
has 10-bands instead of 2-bands ( bass & treble )
Why do snd_mixer_selem_has_capture_channel(elem, SND_MIXER_SCHN_MONO) =
1 for those equalizer gain control ?
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
pmono = 0, cmono = 0 (0, 0, 0, 0)
Front Left: Playback 22 [71%] [on]
Front Right: Playback 22 [71%] [on]
Simple mixer control 'EQ0 31Hz',0
Capabilities: volume
Playback channels: Front Left - Front Right
Limits: 0 - 32767
pmono = 0, cmono = 1 (1, 0, 0, 0)
Mono: 32767 [100%]
Front Left:
Front Right:
...
Simple mixer control 'EQ9 16KHz',0
Capabilities: volume
Playback channels: Front Left - Front Right
Limits: 0 - 32767
pmono = 0, cmono = 1 (1, 0, 0, 0)
Mono: 16022 [49%]
Front Left:
Front Right:
amixer contents
numid=16,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=22,22
numid=2,iface=MIXER,name='EQ0 31Hz'
; type=INTEGER,access=rw---,values=2,min=0,max=32767,step=0
: values=32767,16022
...
numid=11,iface=MIXER,name='EQ9 16KHz'
; type=INTEGER,access=rw---,values=2,min=0,max=32767,step=0
: values=16022,32767
Takashi Iwai wrote:
At Fri, 10 Jun 2005 15:35:41 +0800,
Raymond wrote:
Do the au88x0 driver need to free those kcontrols for EQ peak and
10-bands EQ gain kcontrol ?
No. The added controls are released automatically.
Any method to detect memory leak ? ( THere are other kcontrol such as
HRTF,ITD,ILD,...)
Compild alsa-driver with debug option (--with-debug=full).
Then bookkeeping of the kmalloc/vmalloc chunks is enabled.
You'll be warned if any of them are not released after removing ALSA
modules.
_______________________________________________
Openvortex-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openvortex-dev