/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/ |
D | DuplexAudioManager.java | 22 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/ |
D | OboeStream.cpp | 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() 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()
|
D | StreamBase.h | 24 class StreamBase { 38 StreamBase() : in StreamBase() function 45 virtual ~StreamBase() {} in ~StreamBase()
|
D | OboeStream.h | 25 class OboeStream: public StreamBase { 39 StreamBase::Result getTimeStamp(oboe::FrameTimestamp* timeStamp);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralPlayerActivity.java | 26 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()
|
D | AudioColdStartBaseActivity.java | 29 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()
|
D | AudioOutputRoutingNotificationsActivity.java | 34 import org.hyphonate.megaaudio.common.StreamBase; 79 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
|
D | AudioInputRoutingNotificationsActivity.java | 34 import org.hyphonate.megaaudio.common.StreamBase; 73 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
|
D | AudioDisconnectActivity.java | 36 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()
|
D | AudioLoopbackCalibrationDialog.java | 41 import org.hyphonate.megaaudio.common.StreamBase; 186 == StreamBase.OK in startAudio() 187 && mDuplexAudioManager.start() == StreamBase.OK) { in startAudio()
|
D | AnalogHeadsetAudioActivity.java | 45 import org.hyphonate.megaaudio.common.StreamBase; 367 StreamBase.setup(this); in setupPlayer() 368 int numBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in setupPlayer()
|
D | AudioTap2ToneActivity.java | 53 import org.hyphonate.megaaudio.common.StreamBase; 269 StreamBase.setup(this); in onCreate() 297 if (mDuplexAudioManager.buildStreams(mApi, BuilderBase.TYPE_JAVA) == StreamBase.OK) { in startAudio()
|
D | AudioDataPathsBaseActivity.java | 49 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()
|
D | AudioMultichannelMixdownActivity.java | 43 import org.hyphonate.megaaudio.common.StreamBase; 561 StreamBase.setup(this); in onCreate() 867 if (mDuplexAudioManager.start() != StreamBase.OK) { in startDuplex()
|
D | AudioLoopbackLatencyActivity.java | 51 import org.hyphonate.megaaudio.common.StreamBase; 410 StreamBase.setup(this); in onCreate()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | Player.java | 22 import org.hyphonate.megaaudio.common.StreamBase; 30 public abstract class Player extends StreamBase {
|
D | JavaPlayer.java | 25 import org.hyphonate.megaaudio.common.StreamBase; 153 StreamBase.channelCountToOutPositionMask(mChannelCount)); in setupStream()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | Recorder.java | 21 import org.hyphonate.megaaudio.common.StreamBase; 23 public abstract class Recorder extends StreamBase {
|
D | JavaRecorder.java | 26 import org.hyphonate.megaaudio.common.StreamBase; 130 .setChannelIndexMask(StreamBase.channelCountToIndexMask(mChannelCount)); in setupStream()
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | OboePlayer.cpp | 74 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/ |
D | StreamBase.java | 29 public abstract class StreamBase { class 31 private static final String TAG = StreamBase.class.getSimpleName();
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | OboeRecorder.cpp | 36 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/ |
D | Android.bp | 26 "common/StreamBase.cpp",
|