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()
53 StreamBase::Result OboeStream::teardownStream_l() { in teardownStream_l()
58 oboe::Result result = oboe::Result::OK; in teardownStream_l()
60 if (result == oboe::Result::OK) { in teardownStream_l()
68 StreamBase::Result OboeStream::startStream() { in startStream()
74 oboe::Result result = oboe::Result::ErrorInternal; in startStream()
77 if (result != oboe::Result::OK){ in startStream()
87 mStreamStarted = result == oboe::Result::OK; in startStream()
92 StreamBase::Result OboeStream::stopStream() { in stopStream()
95 Result errCode = ERROR_UNKNOWN; in stopStream()
99 oboe::Result result = mAudioStream->stop(); in stopStream()
109 StreamBase::Result OboeStream::getTimeStamp(oboe::FrameTimestamp* timeStamp) { in getTimeStamp()
110 Result errCode = ERROR_UNKNOWN; in getTimeStamp()