Re: Mixer volume/decibel mapping

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

 



2010/5/21 James Courtier-Dutton <james.dutton@xxxxxxxxx>

> On 21 May 2010 07:35, Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
> > James Courtier-Dutton wrote:
> >
> >> For the cards that do have this 32bit linear value, a simple lookup
> >> table is used in the kernel code to convert it to 256 step values.
> >
> > Which driver is this?  It should be changed to use the full range.
> >
>
> All creative and emu cards with a DSP.
> They use a lookup table in the driver.
>

seem a bug in the lookup table of alsa-lib

20log10(1/100) = -40dB , it should return -40dB  if set -40dB

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4883

snd_mixer_selem_set_playback_dB(<master element>, 0, -4000, +1) -> returns 0
snd_mixer_selem_get_playback_dB(<master element>, 0, &value) -> returns 0,
sets value to -9999999
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux