Lines Matching refs:Result
26 StreamBase::Result OboeStream::OboeErrorToMegaAudioError(oboe::Result oboeError) { in OboeErrorToMegaAudioError()
28 StreamBase::Result maErr = ERROR_UNKNOWN; in OboeErrorToMegaAudioError()
31 case oboe::Result::OK: in OboeErrorToMegaAudioError()
34 case oboe::Result::ErrorInternal: in OboeErrorToMegaAudioError()
37 case oboe::Result::ErrorClosed: in OboeErrorToMegaAudioError()
48 StreamBase::Result OboeStream::teardownStream() { in teardownStream()
55 StreamBase::Result OboeStream::teardownStream_l() { in teardownStream_l()
60 oboe::Result result = oboe::Result::OK; in teardownStream_l()
62 if (result == oboe::Result::OK) { in teardownStream_l()
70 StreamBase::Result OboeStream::startStream() { in startStream()
78 oboe::Result result = oboe::Result::ErrorInternal; in startStream()
81 if (result != oboe::Result::OK){ in startStream()
91 mStreamStarted = result == oboe::Result::OK; in startStream()
96 StreamBase::Result OboeStream::stopStream() { in stopStream()
99 Result errCode = ERROR_UNKNOWN; in stopStream()
103 oboe::Result result = mAudioStream->stop(); in stopStream()
113 StreamBase::Result OboeStream::getTimeStamp(oboe::FrameTimestamp* timeStamp) { in getTimeStamp()
115 Result errCode = ERROR_UNKNOWN; in getTimeStamp()