diff options
author | Viral Mehta <viral.mehta@einfochips.com> | 2009-03-10 15:43:18 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-18 07:52:28 +0100 |
commit | 36c7b833e5d2501142a371e4e75281d3a29fbd6b (patch) | |
tree | 750835589dd140c8e78e62b77da2124d46262448 /drivers/sbus/char/display7seg.c | |
parent | 041b62374c7fedc11a8a1eeda2868612d3d1436c (diff) |
ALSA: oss-mixer - Fixes recording gain control
At the time of initialization, SNDRV_MIXER_OSS_PRESENT_PVOLUME bit is not
set for MIC (slot 7).
So, the same should not be checked when an application tries to do gain
control for audio recording devices.
Just check slot->present for SNDRV_MIXER_OSS_PRESENT_CVOLUME independently.
Verified with a simple application which opens /dev/dsp for recording and
/dev/mixer for volume control.
Have tested two usb audio mic devices.
Signed-off-by: Viral Mehta <viral.mehta@einfochips.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/sbus/char/display7seg.c')
0 files changed, 0 insertions, 0 deletions