add dtmf_player_amp propertyo

This commit is contained in:
Simon Morlat 2012-08-21 10:32:26 +02:00
parent 2e5e82c03d
commit aca7607bea

View file

@ -4246,7 +4246,7 @@ static MSFilter *get_dtmf_gen(LinphoneCore *lc){
return stream->dtmfgen;
}
if (lc->ringstream==NULL){
float amp=0.1;
float amp=lp_config_get_float(lc->config,"sound","dtmf_player_amp",0.1);
MSSndCard *ringcard=lc->sound_conf.lsd_card ?lc->sound_conf.lsd_card : lc->sound_conf.ring_sndcard;
if (ringcard == NULL)
return NULL;