Home
last modified time | relevance | path

Searched refs:StreamBase (Results 1 – 23 of 23) sorted by relevance

/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java22 import org.hyphonate.megaaudio.common.StreamBase;
75 mPlayerSampleRate = StreamBase.getSystemSampleRate(); in setSources()
76 mRecorderSampleRate = StreamBase.getSystemSampleRate(); in setSources()
164 mNumRecorderBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in buildStreams()
177 return StreamBase.ERROR_UNSUPPORTED; in buildStreams()
184 mNumPlayerBurstFrames = StreamBase.getNumBurstFrames(playerType); in buildStreams()
202 return StreamBase.ERROR_UNSUPPORTED; in buildStreams()
208 return StreamBase.OK; in buildStreams()
216 int result = StreamBase.OK; in start()
217 if (mPlayer != null && (result = mPlayer.startStream()) != StreamBase.OK) { in start()
[all …]
/cts/apps/CtsVerifier/jni/megaaudio/common/
DOboeStream.cpp26 StreamBase::Result OboeStream::OboeErrorToMegaAudioError(oboe::Result oboeError) { in OboeErrorToMegaAudioError()
28 StreamBase::Result maErr = ERROR_UNKNOWN; in OboeErrorToMegaAudioError()
48 StreamBase::Result OboeStream::teardownStream() { in teardownStream()
53 StreamBase::Result OboeStream::teardownStream_l() { in teardownStream_l()
68 StreamBase::Result OboeStream::startStream() { in startStream()
92 StreamBase::Result OboeStream::stopStream() { in stopStream()
109 StreamBase::Result OboeStream::getTimeStamp(oboe::FrameTimestamp* timeStamp) { in getTimeStamp()
131 … ? (int) mAudioStream->getLastErrorCallbackResult() : StreamBase::ERROR_INVALID_STATE); in getLastErrorCallbackResult()
DStreamBase.h24 class StreamBase {
38 StreamBase() : in StreamBase() function
45 virtual ~StreamBase() {} in ~StreamBase()
DOboeStream.h25 class OboeStream: public StreamBase {
39 StreamBase::Result getTimeStamp(oboe::FrameTimestamp* timeStamp);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralPlayerActivity.java26 import org.hyphonate.megaaudio.common.StreamBase;
55 StreamBase.setup(this); in onCreate()
57 mSampleRate = StreamBase.getSystemSampleRate(); in onCreate()
58 mNumExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in onCreate()
85 result = (mAudioPlayer.startStream() == StreamBase.OK); in startPlay()
97 result = (mAudioPlayer.stopStream() == StreamBase.OK); in stopPlay()
DAudioColdStartBaseActivity.java29 import org.hyphonate.megaaudio.common.StreamBase;
128 StreamBase.setup(this); in onCreate()
129 mSampleRate = StreamBase.getSystemSampleRate(); in onCreate()
130 mNumExchangeFrames = StreamBase.getNumBurstFrames(mAudioApi); in onCreate()
183 mNumExchangeFrames = StreamBase.getNumBurstFrames(mAudioApi); in onClick()
189 mNumExchangeFrames = StreamBase.getNumBurstFrames(mAudioApi); in onClick()
DAudioOutputRoutingNotificationsActivity.java34 import org.hyphonate.megaaudio.common.StreamBase;
79 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
DAudioInputRoutingNotificationsActivity.java34 import org.hyphonate.megaaudio.common.StreamBase;
73 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
DAudioDisconnectActivity.java36 import org.hyphonate.megaaudio.common.StreamBase;
65 private StreamBase mStream;
88 StreamBase.loadMegaAudioLibrary(); in StreamBase.loadMegaAudioLibrary()
512 StreamBase.setup(this); in onCreate()
513 mSystemSampleRate = StreamBase.getSystemSampleRate(); in onCreate()
514 mNumExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
DAudioLoopbackCalibrationDialog.java41 import org.hyphonate.megaaudio.common.StreamBase;
186 == StreamBase.OK in startAudio()
187 && mDuplexAudioManager.start() == StreamBase.OK) { in startAudio()
DAnalogHeadsetAudioActivity.java45 import org.hyphonate.megaaudio.common.StreamBase;
367 StreamBase.setup(this); in setupPlayer()
368 int numBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in setupPlayer()
DAudioTap2ToneActivity.java53 import org.hyphonate.megaaudio.common.StreamBase;
269 StreamBase.setup(this); in onCreate()
297 if (mDuplexAudioManager.buildStreams(mApi, BuilderBase.TYPE_JAVA) == StreamBase.OK) { in startAudio()
DAudioDataPathsBaseActivity.java49 import org.hyphonate.megaaudio.common.StreamBase;
117 StreamBase.setup(this); in onCreate()
652 if (errorCode != StreamBase.OK) { in startTest()
703 if (mDuplexAudioManager.start() != StreamBase.OK) { in startTest()
DAudioMultichannelMixdownActivity.java43 import org.hyphonate.megaaudio.common.StreamBase;
561 StreamBase.setup(this); in onCreate()
867 if (mDuplexAudioManager.start() != StreamBase.OK) { in startDuplex()
DAudioLoopbackLatencyActivity.java51 import org.hyphonate.megaaudio.common.StreamBase;
410 StreamBase.setup(this); in onCreate()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DPlayer.java22 import org.hyphonate.megaaudio.common.StreamBase;
30 public abstract class Player extends StreamBase {
DJavaPlayer.java25 import org.hyphonate.megaaudio.common.StreamBase;
153 StreamBase.channelCountToOutPositionMask(mChannelCount)); in setupStream()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DRecorder.java21 import org.hyphonate.megaaudio.common.StreamBase;
23 public abstract class Recorder extends StreamBase {
DJavaRecorder.java26 import org.hyphonate.megaaudio.common.StreamBase;
130 .setChannelIndexMask(StreamBase.channelCountToIndexMask(mChannelCount)); in setupStream()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DOboePlayer.cpp74 StreamBase::Result OboePlayer::setupStream(int32_t channelCount, int32_t channelMask, in setupStream()
142 StreamBase::Result OboePlayer::startStream() { in startStream()
143 StreamBase::Result result = Player::startStream(); in startStream()
150 StreamBase::Result result = Player::getTimeStamp(&nativeStamp); in getJavaTimestamp()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DStreamBase.java29 public abstract class StreamBase { class
31 private static final String TAG = StreamBase.class.getSimpleName();
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp36 StreamBase::Result OboeRecorder::setupStream(int32_t channelCount, int32_t sampleRate, in setupStream()
91 StreamBase::Result OboeRecorder::startStream() { in startStream()
92 StreamBase::Result result = Recorder::startStream(); in startStream()
/cts/apps/CtsVerifier/jni/megaaudio/
DAndroid.bp26 "common/StreamBase.cpp",