Home
last modified time | relevance | path

Searched refs:mPlayback (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.cpp244 newPatch.mPlayback.setThread( in createAudioPatch_l()
276 newPatch.mPlayback.setThread(thread->asIAfPlaybackThread().get()); in createAudioPatch_l()
286 config.sample_rate = newPatch.mPlayback.thread()->sampleRate(); in createAudioPatch_l()
292 newPatch.mPlayback.thread()->channelCount()); in createAudioPatch_l()
297 config.format = newPatch.mPlayback.thread()->format(); in createAudioPatch_l()
505 mRecord.handle(), mPlayback.handle()); in ~Patch()
524 PatchBuilder().addSource(mPlayback.thread()).addSink(mAudioPatch.sinks[0]).patch(), in createConnections_l()
525 mPlayback.handlePtr(), in createConnections_l()
528 *mPlayback.handlePtr() = AUDIO_PATCH_HANDLE_NONE; in createConnections_l()
532 *mPlayback.handlePtr() = AUDIO_PATCH_HANDLE_NONE; in createConnections_l()
[all …]
DIAfPatchPanel.h204 mPlayback = other.mPlayback; in Patch()
219 swap(mPlayback, other.mPlayback); in swap()
233 mPlayback.handle() != AUDIO_PATCH_HANDLE_NONE; in isSoftware()
253 Endpoint<IAfPlaybackThread, IAfPatchTrack> mPlayback; variable
DEffects.cpp3544 thread = patch.mPlayback.thread(); in checkPort()
/frameworks/av/media/libaudioclient/tests/
Daudiosystem_tests.cpp58 if (mPlayback) { in TearDown()
59 mPlayback->stop(); in TearDown()
61 mPlayback.clear(); in TearDown()
74 sp<AudioPlayback> mPlayback; member in AudioSystemTest
84 mPlayback = sp<AudioPlayback>::make(48000, AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, in createPlaybackSession()
87 ASSERT_NE(nullptr, mPlayback); in createPlaybackSession()
88 ASSERT_EQ(NO_ERROR, mPlayback->loadResource("/data/local/tmp/bbb_2ch_24kHz_s16le.raw")); in createPlaybackSession()
89 EXPECT_EQ(NO_ERROR, mPlayback->create()); in createPlaybackSession()
91 EXPECT_EQ(OK, mPlayback->getAudioTrackHandle()->addAudioDeviceCallback(mCbPlayback)); in createPlaybackSession()
92 EXPECT_EQ(NO_ERROR, mPlayback->start()); in createPlaybackSession()
[all …]