Lines Matching refs:mStream
21 : mStream(stream), mDevice(device) {} in AudioProxyStreamOut()
24 mDevice->close_output_stream(mDevice, mStream); in ~AudioProxyStreamOut()
28 return mStream->write(mStream, buffer, bytes); in write()
34 mStream->get_presentation_position(mStream, in getPresentationPosition()
41 void AudioProxyStreamOut::standby() { mStream->standby(mStream); } in standby()
43 void AudioProxyStreamOut::pause() { mStream->pause(mStream); } in pause()
45 void AudioProxyStreamOut::resume() { mStream->resume(mStream); } in resume()
48 mStream->drain(mStream, static_cast<audio_proxy_drain_type_t>(type)); in drain()
51 void AudioProxyStreamOut::flush() { mStream->flush(mStream); } in flush()
54 mStream->set_volume(mStream, left, right); in setVolume()
58 return mStream->get_buffer_size(mStream); in getBufferSizeBytes()
62 return mStream->get_latency(mStream); in getLatencyMs()
66 if (mStream->v2) { in start()
67 mStream->v2->start(mStream->v2); in start()
72 if (mStream->v2) { in stop()
73 mStream->v2->stop(mStream->v2); in stop()
80 if (!mStream->v2) { in createMmapBuffer()
85 mStream->v2->create_mmap_buffer(mStream->v2, minBufferSizeFrames); in createMmapBuffer()
95 if (!mStream->v2) { in getMmapPosition()
101 mStream->v2->get_mmap_position(mStream->v2, &frames, &ts); in getMmapPosition()