Searched refs:BuilderBase (Results 1 – 16 of 16) sorted by relevance
26 public abstract class BuilderBase { class28 private static final String TAG = BuilderBase.class.getSimpleName();102 public BuilderBase setNumExchangeFrames(int numFrames) { in setNumExchangeFrames()121 public BuilderBase setSampleRate(int sampleRate) { in setSampleRate()141 public BuilderBase setChannelCount(int channelCount) { in setChannelCount()162 public BuilderBase setChannelMask(int mask) { in setChannelMask()180 public BuilderBase setSharingMode(int mode) { in setSharingMode()197 public BuilderBase setPerformanceMode(int mode) { in setPerformanceMode()241 public BuilderBase setRouteDevice(AudioDeviceInfo routeDevice) { in setRouteDevice()
27 import org.hyphonate.megaaudio.common.BuilderBase;34 protected int mAudioApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_AAUDIO;66 mAudioApi = BuilderBase.TYPE_JAVA; in onClick()69 mAudioApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_AAUDIO; in onClick()
34 import org.hyphonate.megaaudio.common.BuilderBase;514 mNumExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()551 ? BuilderBase.PERFORMANCE_MODE_LOWLATENCY in startAudio()552 : BuilderBase.PERFORMANCE_MODE_NONE); in startAudio()554 ? BuilderBase.SHARING_MODE_EXCLUSIVE in startAudio()555 : BuilderBase.SHARING_MODE_SHARED); in startAudio()559 playerBuilder.setPlayerType(BuilderBase.TYPE_OBOE); in startAudio()572 recorderBuilder.setRecorderType(BuilderBase.TYPE_OBOE); in startAudio()579 ? BuilderBase.PERFORMANCE_MODE_LOWLATENCY in startAudio()580 : BuilderBase.PERFORMANCE_MODE_NONE); in startAudio()[all …]
28 import org.hyphonate.megaaudio.common.BuilderBase;44 protected int mAudioApi = BuilderBase.TYPE_OBOE;182 mAudioApi = BuilderBase.TYPE_JAVA; in onClick()188 mAudioApi = BuilderBase.TYPE_OBOE; in onClick()
25 import org.hyphonate.megaaudio.common.BuilderBase;58 mNumExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in onCreate()
33 import org.hyphonate.megaaudio.common.BuilderBase;79 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
33 import org.hyphonate.megaaudio.common.BuilderBase;73 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
52 import org.hyphonate.megaaudio.common.BuilderBase;81 private int mApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_DEFAULT;297 if (mDuplexAudioManager.buildStreams(mApi, BuilderBase.TYPE_JAVA) == StreamBase.OK) { in startAudio()511 mApi = BuilderBase.TYPE_JAVA; in onClick()517 mApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_DEFAULT; in onClick()
40 import org.hyphonate.megaaudio.common.BuilderBase;185 if (mDuplexAudioManager.buildStreams(BuilderBase.TYPE_OBOE, BuilderBase.TYPE_OBOE) in startAudio()
47 import org.hyphonate.megaaudio.common.BuilderBase;626 ? BuilderBase.SHARING_MODE_EXCLUSIVE : BuilderBase.SHARING_MODE_SHARED); in startTest()634 ? BuilderBase.SHARING_MODE_EXCLUSIVE : BuilderBase.SHARING_MODE_SHARED); in startTest()
44 import org.hyphonate.megaaudio.common.BuilderBase;368 int numBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in setupPlayer()
21 import org.hyphonate.megaaudio.common.BuilderBase;59 private int mPlayerSharingMode = BuilderBase.SHARING_MODE_SHARED;60 private int mRecorderSharingMode = BuilderBase.SHARING_MODE_SHARED;162 if ((recorderType & BuilderBase.TYPE_MASK) != BuilderBase.TYPE_NONE) { in buildStreams()164 mNumRecorderBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in buildStreams()182 if ((playerType & BuilderBase.TYPE_MASK) != BuilderBase.TYPE_NONE) { in buildStreams()193 .setPerformanceMode(BuilderBase.PERFORMANCE_MODE_LOWLATENCY); in buildStreams()317 || sharingMode == BuilderBase.SHARING_MODE_NOTSUPPORTED; in isSpecifiedPlayerSharingMode()332 || sharingMode == BuilderBase.SHARING_MODE_NOTSUPPORTED; in isSpecifiedRecorderSharingMode()
20 import org.hyphonate.megaaudio.common.BuilderBase;25 public class PlayerBuilder extends BuilderBase {
24 import org.hyphonate.megaaudio.common.BuilderBase;72 return BuilderBase.SHARING_MODE_NOTSUPPORTED; in getSharingMode()114 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()116 return BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
18 import org.hyphonate.megaaudio.common.BuilderBase;23 public class RecorderBuilder extends BuilderBase {
25 import org.hyphonate.megaaudio.common.BuilderBase;55 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()57 return BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()77 return BuilderBase.SHARING_MODE_NOTSUPPORTED; in getSharingMode()