Lines Matching refs:ac
172 PP_Resource ac = audio_config_interface_->CreateStereo16Bit(
174 ASSERT_TRUE(ac);
176 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
177 core_interface_->ReleaseResource(ac);
178 ac = 0;
184 ac = audio_interface_->GetCurrentConfig(audio);
185 ASSERT_TRUE(ac);
186 ASSERT_TRUE(audio_config_interface_->IsAudioConfig(ac));
187 ASSERT_EQ(sample_rate, audio_config_interface_->GetSampleRate(ac));
188 ASSERT_EQ(frame_count, audio_config_interface_->GetSampleFrameCount(ac));
189 core_interface_->ReleaseResource(ac);
190 ac = 0;
209 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 2048);
210 ASSERT_TRUE(ac);
213 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
214 core_interface_->ReleaseResource(ac);
215 ac = 0;
233 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 2048);
234 ASSERT_TRUE(ac);
241 0, ac, AudioCallbackTrampoline, this);
251 instance_->pp_instance(), ac, NULL, NULL);
254 core_interface_->ReleaseResource(ac);
255 ac = 0;
276 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 1024);
277 ASSERT_TRUE(ac);
280 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
281 core_interface_->ReleaseResource(ac);
282 ac = 0;
306 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 1024);
307 ASSERT_TRUE(ac);
310 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
311 core_interface_->ReleaseResource(ac);
312 ac = 0;
337 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 1024);
338 ASSERT_TRUE(ac);
341 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
342 core_interface_->ReleaseResource(ac);
343 ac = 0;
377 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 1024);
378 ASSERT_TRUE(ac);
381 instance_->pp_instance(), ac, AudioCallbackTrampoline1_0, this);
382 core_interface_->ReleaseResource(ac);
383 ac = 0;
418 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 1024);
419 ASSERT_TRUE(ac);
422 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
423 core_interface_->ReleaseResource(ac);
424 ac = 0;
452 PP_Resource ac = CreateAudioConfig(PP_AUDIOSAMPLERATE_44100, 1024);
453 ASSERT_TRUE(ac);
456 instance_->pp_instance(), ac, AudioCallbackTrampoline, this);
457 core_interface_->ReleaseResource(ac);
458 ac = 0;