diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2017-08-30 17:42:49 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2017-09-02 07:34:48 +0200 |
commit | a52c89800c9826634bcae3a635b71feb905b3641 (patch) | |
tree | ee3b8c3e86eabf037a453ba2cbfdb279f39ef55d /src/common/call.c | |
parent | 94ed39f5e28520ba968a604c7eeabf2be0ca35d7 (diff) |
SDR: Split SDR config from main_mobile.c to sdr_config.c
Diffstat (limited to 'src/common/call.c')
-rw-r--r-- | src/common/call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/call.c b/src/common/call.c index 54e52d5..e3067f3 100644 --- a/src/common/call.c +++ b/src/common/call.c @@ -528,14 +528,14 @@ error: return rc; } -int call_open_audio(void) +int call_open_audio(int latspl) { if (!call.audiodev[0]) return 0; /* open sound device for call control */ /* use factor 1.4 of speech level for complete range of sound card */ - call.sound = sound_open(call.audiodev, NULL, NULL, 1, 0.0, call.samplerate, 1.4, 4000.0); + call.sound = sound_open(call.audiodev, NULL, NULL, 1, 0.0, call.samplerate, latspl, 1.4, 4000.0); if (!call.sound) { PDEBUG(DSENDER, DEBUG_ERROR, "No sound device!\n"); return -EIO; |