Searched refs:SAMPLE_RATE (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/ |
D | AudioInjector.java | 38 public static final int SAMPLE_RATE = 44100; field in AudioInjector 42 public static final int NUMBER_OF_SAMPLES = computeNumSamples(SAMPLE_RATE, CHANNEL_COUNT); 46 .setSampleRate(SAMPLE_RATE) 107 return createAudioData(SAMPLE_RATE, NUMBER_OF_SAMPLES, CHANNEL_COUNT, FREQUENCY, AMPLITUDE); in createAudioData()
|
D | VirtualAudioTest.java | 90 public static final int SAMPLE_RATE = 44100; field in VirtualAudioTest 94 .setSampleRate(SAMPLE_RATE) 99 .setSampleRate(SAMPLE_RATE) 377 AudioTrack audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, SAMPLE_RATE, in playAudio() 388 SAMPLE_RATE, in recordAudio()
|
D | VirtualAudioPermissionTest.java | 288 AudioInjector.SAMPLE_RATE, in recordAudio()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioOutputRoutingNotificationsActivity.java | 46 static final int SAMPLE_RATE = 48000; field in AudioOutputRoutingNotificationsActivity 85 .setSampleRate(SAMPLE_RATE) in onCreate()
|
D | AudioInputRoutingNotificationsActivity.java | 48 static final int SAMPLE_RATE = 48000; field in AudioInputRoutingNotificationsActivity 80 .setSampleRate(SAMPLE_RATE) in onCreate()
|
D | AnalogHeadsetAudioActivity.java | 101 static final int SAMPLE_RATE = 48000; field in AnalogHeadsetAudioActivity 377 .setSampleRate(SAMPLE_RATE) in setupPlayer()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | RemoteSubmixTest.java | 80 private static final int SAMPLE_RATE = 44100; field in RemoteSubmixTest 84 private static final int BUFFER_SIZE = SAMPLE_RATE * DURATION_IN_SEC 129 .setSampleRate(SAMPLE_RATE) in createPlaybackCaptureRecord()
|
D | AudioPlaybackCaptureTest.java | 83 private static final int SAMPLE_RATE = 44100; field in AudioPlaybackCaptureTest 84 private static final int BUFFER_SIZE = SAMPLE_RATE * 2; // 1s at 44.1k/s 16bit mono 161 .setSampleRate(SAMPLE_RATE) in createDefaultPlaybackCaptureRecord()
|
D | AudioTrackTest.java | 2747 AudioHelper.assertMetricsKeyEquals(metrics, AudioTrack.MetricsConstants.SAMPLE_RATE, in testMediaMetrics()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 2013 field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate";
|