mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Minor alsa fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -423,7 +423,7 @@ static snd_pcm_t *alsa_card_init(char *dev, snd_pcm_stream_t stream)
|
||||
}
|
||||
#endif
|
||||
|
||||
err = snd_pcm_sw_params_set_silence_threshold(handle, swparams, buffer_size);
|
||||
err = snd_pcm_sw_params_set_silence_threshold(handle, swparams, silencethreshold);
|
||||
if (err < 0) {
|
||||
ast_log(LOG_ERROR, "Unable to set silence threshold: %s\n", snd_strerror(err));
|
||||
}
|
||||
|
Reference in New Issue
Block a user