| Index: remoting/client/client_context.cc
|
| diff --git a/remoting/client/client_context.cc b/remoting/client/client_context.cc
|
| index 7335dc31727f410d85880a39ea439ebd80470aab..7dcbdf8a0939b5994aa5d5517598ef46c2c0bfb0 100644
|
| --- a/remoting/client/client_context.cc
|
| +++ b/remoting/client/client_context.cc
|
| @@ -8,7 +8,8 @@ namespace remoting {
|
|
|
| ClientContext::ClientContext(base::SingleThreadTaskRunner* main_task_runner)
|
| : main_task_runner_(main_task_runner),
|
| - decode_thread_("ChromotingClientDecodeThread") {
|
| + decode_thread_("ChromotingClientDecodeThread"),
|
| + audio_decode_thread_("ChromotingClientAudioDecodeThread") {
|
| }
|
|
|
| ClientContext::~ClientContext() {
|
| @@ -17,11 +18,13 @@ ClientContext::~ClientContext() {
|
| void ClientContext::Start() {
|
| // Start all the threads.
|
| decode_thread_.Start();
|
| + audio_decode_thread_.Start();
|
| }
|
|
|
| void ClientContext::Stop() {
|
| // Stop all the threads.
|
| decode_thread_.Stop();
|
| + audio_decode_thread_.Stop();
|
| }
|
|
|
| base::SingleThreadTaskRunner* ClientContext::main_task_runner() {
|
| @@ -32,4 +35,8 @@ base::SingleThreadTaskRunner* ClientContext::decode_task_runner() {
|
| return decode_thread_.message_loop_proxy();
|
| }
|
|
|
| +base::SingleThreadTaskRunner* ClientContext::audio_decode_task_runner() {
|
| + return audio_decode_thread_.message_loop_proxy();
|
| +}
|
| +
|
| } // namespace remoting
|
|
|