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

@ -296,3 +296,14 @@ ALSA_1.0.14 {
@SYMBOL_PREFIX@snd_device_name_free_hint;
@SYMBOL_PREFIX@snd_device_name_get_hint;
} ALSA_1.0.12;
ALSA_1.0.16 {
global:
@SYMBOL_PREFIX@snd_tlv_parse_dB_info;
@SYMBOL_PREFIX@snd_tlv_get_dB_range;
@SYMBOL_PREFIX@snd_tlv_convert_to_dB;
@SYMBOL_PREFIX@snd_tlv_convert_from_dB;
@SYMBOL_PREFIX@snd_ctl_get_dB_range;
@SYMBOL_PREFIX@snd_ctl_convert_to_dB;
@SYMBOL_PREFIX@snd_ctl_convert_from_dB;
} ALSA_1.0.14;