mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-12 14:24:13 +00:00
stereo refactoring
This commit is contained in:
1 parent
56ef59e9ad
commit
4ffbf23ffa
10 files changed
+109
-44
No files matched your search
@@ -140,8 +140,8 @@ static switch_status_t tech_init(loopback_private_t *tech_pvt, switch_core_sessi
|
||||
|
||||
if ((var = switch_channel_get_variable(channel, "loopback_initial_codec"))) {
|
||||
char *dup = switch_core_session_strdup(session, var);
|
||||
uint32_t bit;
|
||||
iananame = switch_parse_codec_buf(dup, &interval, &rate, &bit);
|
||||
uint32_t bit, channels;
|
||||
iananame = switch_parse_codec_buf(dup, &interval, &rate, &bit, &channels);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user