| Index: ppapi/proxy/ppb_audio_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_audio_proxy.cc b/ppapi/proxy/ppb_audio_proxy.cc
|
| index 58f5abc0d4141f747e3a2845dd1682ccfc4388ff..d84c3cb6995837ca992527c420d0b52328177088 100644
|
| --- a/ppapi/proxy/ppb_audio_proxy.cc
|
| +++ b/ppapi/proxy/ppb_audio_proxy.cc
|
| @@ -95,6 +95,8 @@ PP_Resource Audio::GetCurrentConfig() {
|
| PP_Bool Audio::StartPlayback() {
|
| if (playing())
|
| return PP_TRUE;
|
| + if (!PPB_Audio_Shared::IsThreadFunctionReady())
|
| + return PP_FALSE;
|
| SetStartPlaybackState();
|
| PluginDispatcher::GetForResource(this)->Send(
|
| new PpapiHostMsg_PPBAudio_StartOrStop(
|
|
|