Home
last modified time | relevance | path

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

/external/oboe/samples/iolib/src/main/cpp/player/
DSampleSource.h42 : mSampleBuffer(sampleBuffer), mCurFrameIndex(0), mIsPlaying(false), mGain(1.0f) { in SampleSource()
47 void setPlayMode() { mCurFrameIndex = 0; mIsPlaying = true; } in setPlayMode()
48 void setStopMode() { mIsPlaying = false; mCurFrameIndex = 0; } in setStopMode()
50 bool isPlaying() { return mIsPlaying; } in isPlaying()
81 bool mIsPlaying; variable
DOneShotSampleSource.cpp27 int32_t numWriteFrames = mIsPlaying in mixAudio()
51 mIsPlaying = false; in mixAudio()
/external/oboe/samples/RhythmGame/src/main/cpp/audio/
DPlayer.h48 void setPlaying(bool isPlaying) { mIsPlaying = isPlaying; resetPlayHead(); }; in setPlaying()
53 std::atomic<bool> mIsPlaying { false };
DPlayer.cpp24 if (mIsPlaying){ in renderAudio()
33 mIsPlaying = false; in renderAudio()