Export dB conversion helper functions

Export helper functions to convert dB level and range.

snd_tlv_*dB*() are to convert dB level or range directly from TLV data.
snd_ctl_*dB*() are to get dB level or range from a control element.
This commit is contained in:
Takashi Iwai 2007-10-24 13:04:14 +02:00
parent 631f7cde82
commit f38e5feca3
5 changed files with 469 additions and 265 deletions

View file

@ -1,6 +1,6 @@
EXTRA_LTLIBRARIES = libcontrol.la
libcontrol_la_SOURCES = cards.c namehint.c hcontrol.c \
libcontrol_la_SOURCES = cards.c tlv.c namehint.c hcontrol.c \
control.c control_hw.c setup.c control_symbols.c
if BUILD_CTL_PLUGIN_SHM
libcontrol_la_SOURCES += control_shm.c