Searched refs:StreamConfiguration (Results 1 – 15 of 15) sorted by relevance
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | TestDataPathsActivity.java | 69 StreamConfiguration.INPUT_PRESET_GENERIC, 70 StreamConfiguration.INPUT_PRESET_CAMCORDER, 73 StreamConfiguration.INPUT_PRESET_UNPROCESSED, 74 StreamConfiguration.INPUT_PRESET_VOICE_PERFORMANCE, 172 protected String getConfigText(StreamConfiguration config) { in getConfigText() 174 if (config.getDirection() == StreamConfiguration.DIRECTION_INPUT) { in getConfigText() 175 … text += ", inPre = " + StreamConfiguration.convertInputPresetToText(config.getInputPreset()); in getConfigText() 183 StreamConfiguration requestedInConfig = mAudioInputTester.requestedConfiguration; in shouldTestBeSkipped() 184 StreamConfiguration requestedOutConfig = mAudioOutTester.requestedConfiguration; in shouldTestBeSkipped() 185 StreamConfiguration actualInConfig = mAudioInputTester.actualConfiguration; in shouldTestBeSkipped() [all …]
|
D | TestDisconnectActivity.java | 189 private String getConfigText(StreamConfiguration config) { in getConfigText() 190 return ((config.getDirection() == StreamConfiguration.DIRECTION_OUTPUT) ? "OUT" : "IN") in getConfigText() 191 + ", Perf = " + StreamConfiguration.convertPerformanceModeToText( in getConfigText() 193 + ", " + StreamConfiguration.convertSharingModeToText(config.getSharingMode()) in getConfigText() 225 StreamConfiguration requestedConfig = (isInput) in testConfiguration() 228 StreamConfiguration actualConfig = (isInput) in testConfiguration() 237 … requestedConfig.setRateConversionQuality(StreamConfiguration.RATE_CONVERSION_QUALITY_MEDIUM); in testConfiguration() 275 if (actualConfig.getNativeApi() == StreamConfiguration.NATIVE_API_OPENSLES) { in testConfiguration() 297 stream.getState() == StreamConfiguration.STREAM_STATE_STARTING) { in testConfiguration() 306 stream.getState() == StreamConfiguration.STREAM_STATE_STARTED) { in testConfiguration() [all …]
|
D | StreamConfigurationView.java | 44 private StreamConfiguration mRequestedConfiguration; 45 private StreamConfiguration mActualConfiguration; 158 mNativeApiSpinner.setSelection(StreamConfiguration.NATIVE_API_UNSPECIFIED); in initializeViews() 196 ? StreamConfiguration.SHARING_MODE_EXCLUSIVE in initializeViews() 197 : StreamConfiguration.SHARING_MODE_SHARED); in initializeViews() 211 ? StreamConfiguration.SESSION_ID_ALLOCATE in initializeViews() 212 : StreamConfiguration.SESSION_ID_NONE); in initializeViews() 234 mPerformanceSpinner.setSelection(StreamConfiguration.PERFORMANCE_MODE_LOW_LATENCY in initializeViews() 235 - StreamConfiguration.PERFORMANCE_MODE_NONE); in initializeViews() 257 mRequestedConfiguration.setDeviceId(StreamConfiguration.UNSPECIFIED); in initializeViews() [all …]
|
D | BaseAutoGlitchActivity.java | 62 protected String getConfigText(StreamConfiguration config) { in getConfigText() 63 int channel = (config.getDirection() == StreamConfiguration.DIRECTION_OUTPUT) in getConfigText() 65 return ((config.getDirection() == StreamConfiguration.DIRECTION_OUTPUT) ? "OUT" : "INP") in getConfigText() 69 + ", Perf = " + StreamConfiguration.convertPerformanceModeToText( in getConfigText() 71 + ", " + StreamConfiguration.convertSharingModeToText(config.getSharingMode()) in getConfigText() 90 StreamConfiguration requestedInConfig = mAudioInputTester.requestedConfiguration; in testConfigurations() 91 StreamConfiguration requestedOutConfig = mAudioOutTester.requestedConfiguration; in testConfigurations() 93 StreamConfiguration actualInConfig = mAudioInputTester.actualConfiguration; in testConfigurations() 94 StreamConfiguration actualOutConfig = mAudioOutTester.actualConfiguration; in testConfigurations() 204 StreamConfiguration requestedInConfig = mAudioInputTester.requestedConfiguration; in shouldTestBeSkipped() [all …]
|
D | AutomatedGlitchActivity.java | 14 StreamConfiguration.PERFORMANCE_MODE_LOW_LATENCY, 15 StreamConfiguration.PERFORMANCE_MODE_NONE 60 StreamConfiguration requestedInConfig = mAudioInputTester.requestedConfiguration; in testConfiguration() 61 StreamConfiguration requestedOutConfig = mAudioOutTester.requestedConfiguration; in testConfiguration() 97 testConfiguration(StreamConfiguration.PERFORMANCE_MODE_LOW_LATENCY, in runTest() 98 StreamConfiguration.SHARING_MODE_EXCLUSIVE, in runTest() 104 StreamConfiguration.SHARING_MODE_SHARED, in runTest()
|
D | AnalyzerActivity.java | 156 … streamContext.configurationView.setFormat(StreamConfiguration.AUDIO_FORMAT_PCM_FLOAT); in resetConfiguration() 163 … streamContext.configurationView.setFormat(StreamConfiguration.AUDIO_FORMAT_PCM_FLOAT); in resetConfiguration() 190 return StreamConfiguration.NATIVE_API_AAUDIO; in getApiFromText() 192 return StreamConfiguration.NATIVE_API_OPENSLES; in getApiFromText() 194 return StreamConfiguration.NATIVE_API_UNSPECIFIED; in getApiFromText() 200 return StreamConfiguration.PERFORMANCE_MODE_NONE; in getPerfFromText() 202 return StreamConfiguration.PERFORMANCE_MODE_POWER_SAVING; in getPerfFromText() 204 return StreamConfiguration.PERFORMANCE_MODE_LOW_LATENCY; in getPerfFromText() 210 return StreamConfiguration.SHARING_MODE_SHARED; in getSharingFromText() 212 return StreamConfiguration.SHARING_MODE_EXCLUSIVE; in getSharingFromText() [all …]
|
D | AudioStreamTester.java | 23 StreamConfiguration requestedConfiguration = new StreamConfiguration(); 24 StreamConfiguration actualConfiguration = new StreamConfiguration();
|
D | ManualGlitchActivity.java | 138 StreamConfiguration requestedInConfig = mAudioInputTester.requestedConfiguration; in configureStreamsFromBundle() 139 StreamConfiguration requestedOutConfig = mAudioOutTester.requestedConfiguration; in configureStreamsFromBundle() 147 String defaultText = StreamConfiguration.convertInputPresetToText( in configureStreamsFromBundle() 148 StreamConfiguration.INPUT_PRESET_VOICE_RECOGNITION); in configureStreamsFromBundle() 150 int inputPreset = StreamConfiguration.convertTextToInputPreset(text); in configureStreamsFromBundle()
|
D | AudioStreamBase.java | 26 private StreamConfiguration mRequestedStreamConfiguration; 27 private StreamConfiguration mActualStreamConfiguration; 139 public void open(StreamConfiguration requestedConfiguration, in open() 140 StreamConfiguration actualConfiguration, in open()
|
D | OboeAudioStream.java | 56 public void open(StreamConfiguration requestedConfiguration, in open() 57 … StreamConfiguration actualConfiguration, int bufferSizeInFrames) throws IOException { in open() 94 ? StreamConfiguration.DIRECTION_INPUT in open() 95 : StreamConfiguration.DIRECTION_OUTPUT); in open()
|
D | AudioInputTester.java | 29 requestedConfiguration.setDirection(StreamConfiguration.DIRECTION_INPUT); in AudioInputTester()
|
D | AudioOutputTester.java | 39 requestedConfiguration.setDirection(StreamConfiguration.DIRECTION_OUTPUT); in AudioOutputTester()
|
D | StreamConfiguration.java | 26 public class StreamConfiguration { class 88 public StreamConfiguration() { in StreamConfiguration() method in StreamConfiguration
|
D | TestOutputActivity.java | 75 mNativeApiSpinner.setSelection(StreamConfiguration.NATIVE_API_UNSPECIFIED); in onCreate()
|
D | TestAudioActivity.java | 444 StreamConfiguration requestedConfig = streamContext.tester.requestedConfiguration; in openStreamContext() 445 StreamConfiguration actualConfig = streamContext.tester.actualConfiguration; in openStreamContext()
|