Searched refs:StreamBase (Results 1 – 12 of 12) sorted by relevance
22 import org.hyphonate.megaaudio.common.StreamBase;87 if (errorCode != StreamBase.OK) { in setupStreams()94 return StreamBase.ERROR_UNSUPPORTED; in setupStreams()110 if (errorCode != StreamBase.OK) { in setupStreams()116 return StreamBase.ERROR_UNSUPPORTED; in setupStreams()120 return StreamBase.OK; in setupStreams()124 int result = StreamBase.OK; in start()125 if (mRecorder != null && (result = mRecorder.startStream()) != StreamBase.OK) { in start()129 if (mPlayer != null && (result = mPlayer.startStream()) != StreamBase.OK) { in start()137 int playerResult = StreamBase.OK; in stop()[all …]
26 StreamBase::Result OboeStream::OboeErrorToMegaAudioError(oboe::Result oboeError) { in OboeErrorToMegaAudioError()28 StreamBase::Result maErr = ERROR_UNKNOWN; in OboeErrorToMegaAudioError()48 StreamBase::Result OboeStream::teardownStream() { in teardownStream()55 StreamBase::Result OboeStream::teardownStream_l() { in teardownStream_l()70 StreamBase::Result OboeStream::startStream() { in startStream()96 StreamBase::Result OboeStream::stopStream() { in stopStream()113 StreamBase::Result OboeStream::getTimeStamp(oboe::FrameTimestamp* timeStamp) { in getTimeStamp()
24 class StreamBase {38 StreamBase() : in StreamBase() function43 virtual ~StreamBase() {} in ~StreamBase()
25 class OboeStream: public StreamBase {34 StreamBase::Result getTimeStamp(oboe::FrameTimestamp* timeStamp);
21 import org.hyphonate.megaaudio.common.StreamBase;23 public abstract class Recorder extends StreamBase {
25 import org.hyphonate.megaaudio.common.StreamBase;110 .setChannelIndexMask(StreamBase.channelCountToIndexMask(mChannelCount)) in setupStream()
22 import org.hyphonate.megaaudio.common.StreamBase;30 public abstract class Player extends StreamBase {
31 import org.hyphonate.megaaudio.common.StreamBase;92 BuilderBase.TYPE_JAVA) != StreamBase.OK) { in startRecording()99 if (mDuplexManager.start() != StreamBase.OK) { in startRecording()112 int result = StreamBase.OK; in stopRecording()
69 StreamBase::Result OboePlayer::setupStream(int32_t channelCount, int32_t sampleRate, int32_t routeD… in setupStream()125 StreamBase::Result OboePlayer::startStream() { in startStream()126 StreamBase::Result result = Player::startStream(); in startStream()133 StreamBase::Result result = Player::getTimeStamp(&nativeStamp); in getJavaTimestamp()
36 StreamBase::Result OboeRecorder::setupStream( in setupStream()90 StreamBase::Result OboeRecorder::startStream() { in startStream()91 StreamBase::Result result = Recorder::startStream(); in startStream()
22 public abstract class StreamBase { class
25 "common/StreamBase.cpp",