提交 c25779d6 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

gsmopen: works02

上级 624ed423
...@@ -868,7 +868,6 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch ...@@ -868,7 +868,6 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
#ifndef GSMOPEN_PORTAUDIO #ifndef GSMOPEN_PORTAUDIO
switch_core_timer_next(&tech_pvt->timer_read); switch_core_timer_next(&tech_pvt->timer_read);
#endif// GSMOPEN_PORTAUDIO #endif// GSMOPEN_PORTAUDIO
//usleep(20000);
//goto cng; //goto cng;
if(tech_pvt->no_sound==1){ if(tech_pvt->no_sound==1){
...@@ -1507,8 +1506,8 @@ static switch_status_t load_config(int reload_type) ...@@ -1507,8 +1506,8 @@ static switch_status_t load_config(int reload_type)
const char *gsmopen_sound_rate = "8000"; const char *gsmopen_sound_rate = "8000";
const char *alsa_play_is_mono = "1"; const char *alsa_play_is_mono = "1";
const char *alsa_capture_is_mono = "1"; const char *alsa_capture_is_mono = "1";
const char *capture_boost = "5"; const char *capture_boost = "0";
const char *playback_boost = "10"; const char *playback_boost = "0";
#if defined(GSMOPEN_ALSA) || defined(GSMOPEN_PORTAUDIO) #if defined(GSMOPEN_ALSA) || defined(GSMOPEN_PORTAUDIO)
const char *no_sound = "0"; const char *no_sound = "0";
#else #else
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论