mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
first pass of stereo support
This commit is contained in:
1 parent
7f36607ea5
commit
928a989de1
20 files changed
+592
-205
No files matched your search
@@ -67,6 +67,7 @@ static switch_status_t silence_stream_file_open(switch_file_handle_t *handle, co
|
||||
}
|
||||
}
|
||||
|
||||
handle->channels = 1;
|
||||
handle->private_info = sh;
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
@@ -153,6 +154,8 @@ static switch_status_t tone_stream_file_open(switch_file_handle_t *handle, const
|
||||
handle->samplerate = 8000;
|
||||
}
|
||||
|
||||
handle->channels = 1;
|
||||
|
||||
teletone_init_session(&ts, 0, teletone_handler, audio_buffer);
|
||||
ts.rate = handle->samplerate;
|
||||
ts.channels = 1;
|
||||
|
||||
Reference in new issue
Block a user