openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvortex-dev] Re: [ALSA - driver 0001138]: errors when installing au8


From: Raymond
Subject: [Openvortex-dev] Re: [ALSA - driver 0001138]: errors when installing au8820 modules
Date: Fri, 10 Jun 2005 19:28:18 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.4.3) Gecko/20041005


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.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]