gsmopen: works02

This commit is contained in:
Giovanni Maruzzelli 2012-04-02 09:20:31 +02:00
parent 624ed42324
commit c25779d6f4

View File

@ -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)
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