Home
last modified time | relevance | path

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

/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp40 Result result = mAudioStream->requestStart(); in load()
59 if (mAudioStream){ in stop()
60 mAudioStream->stop(); in stop()
61 mAudioStream->close(); in stop()
62 mAudioStream.reset(); in stop()
129 mAudioStream->getSampleRate()); in onAudioReady()
183 Result result = builder.openStream(mAudioStream); in openStream()
189 if (mAudioStream->getFormat() == AudioFormat::I16){ in openStream()
191 (size_t)mAudioStream->getBufferCapacityInFrames() * in openStream()
192 mAudioStream->getChannelCount()); in openStream()
[all …]
DGame.h63 std::shared_ptr<AudioStream> mAudioStream; variable
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp88 Result result = builder.openStream(mAudioStream); in openStream()
100 result = mAudioStream->setBufferSizeInFrames( in openStream()
101 mAudioStream->getFramesPerBurst() * kBufferSizeInBursts); in openStream()
109 mSampleRate = mAudioStream->getSampleRate(); in openStream()
115 Result result = mAudioStream->requestStart(); in startStream()
137 if (mAudioStream) { in teardownAudioStream()
138 mAudioStream->stop(); in teardownAudioStream()
139 mAudioStream->close(); in teardownAudioStream()
140 mAudioStream.reset(); in teardownAudioStream()
DSimpleMultiPlayer.h81 std::shared_ptr<oboe::AudioStream> mAudioStream;