Lines Matching refs:mStream
75 if (mStream == nullptr) { in getSampleRate()
78 return AAudioStream_getSampleRate(mStream); in getSampleRate()
85 if (mStream == nullptr) { in getChannelCount()
88 return AAudioStream_getChannelCount(mStream); in getChannelCount()
119 result = AAudioStreamBuilder_openStream(builder, &mStream);
123 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream);
125 AAudioStream_setBufferSizeInFrames(mStream, bufferSizeFrames);
161 result = AAudioStreamBuilder_openStream(builder, &mStream); in open()
169 if (mStream != nullptr) { in close()
170 AAudioStream_close(mStream); in close()
171 mStream = nullptr; in close()
178 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream); in prime()
184 result = AAudioStream_write(mStream, zeros, numFrames, 0); in prime()
191 aaudio_result_t result = AAudioStream_requestStart(mStream); in start()
201 aaudio_result_t result = AAudioStream_requestStop(mStream); in stop()
206 int32_t xRunCount = AAudioStream_getXRunCount(mStream); in stop()
213 aaudio_result_t result = AAudioStream_requestPause(mStream); in pause()
218 int32_t xRunCount = AAudioStream_getXRunCount(mStream); in pause()
225 aaudio_stream_state_t currentState = AAudioStream_getState(mStream); in waitUntilPaused()
228 result = AAudioStream_waitForStateChange(mStream, inputState, in waitUntilPaused()
241 aaudio_result_t result = AAudioStream_requestFlush(mStream); in flush()
250 return mStream; in getStream()
254 AAudioStream *mStream = nullptr;