Skip to contentSkip to conversation

Decibel

DISCUSSION Dino Puller 2 participants 2 messages Nov 14, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,
only a simple question: How to obtain min_dB value for my device or
pcm channel? I found the api snd_mixer_selem_get_playback_dB_range but i didn't understand how to use it. Is it the right api? I've found also sndo_mixer_io_get_dB i'm a bit confused.

thanks,
Dino Puller

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

#1 lore raw
Quoted 9 lines · Dino Puller

Hi all,
only a simple question: How to obtain min_dB value for my device or
pcm channel? I found the api snd_mixer_selem_get_playback_dB_range but i didn't understand how to use it. Is it the right api? I've found also sndo_mixer_io_get_dB i'm a bit confused.

thanks,
Dino Puller

Those api commands are not supported yet. The alsa-lib to user application api is there and fixed. The support needs to be added to alsa-driver and some modifications to alsa-lib to make it work. I am working on it.

James

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php