Move dB parser to mixer abstraction

Moved the parser of dB value to mixer abstraction from hcontrol layer.
Also, cleaned up codes.
This commit is contained in:
Takashi Iwai 2006-07-28 14:36:37 +02:00
parent 8f7152b633
commit ae76129999
3 changed files with 126 additions and 126 deletions

View file

@ -504,7 +504,6 @@ int snd_hctl_elem_write(snd_hctl_elem_t *elem, snd_ctl_elem_value_t * value);
int snd_hctl_elem_tlv_read(snd_hctl_elem_t *elem, unsigned int *tlv, unsigned int tlv_size);
int snd_hctl_elem_tlv_write(snd_hctl_elem_t *elem, const unsigned int *tlv);
int snd_hctl_elem_tlv_command(snd_hctl_elem_t *elem, const unsigned int *tlv);
int snd_hctl_elem_get_db_gain(snd_hctl_elem_t *elem, long volume, long *db_gain);
snd_hctl_t *snd_hctl_elem_get_hctl(snd_hctl_elem_t *elem);