Home
last modified time | relevance | path

Searched defs:sampleRate (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/media/src/android/media/cts/
DAudioRecordNative.java44 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
48 public boolean open(int numChannels, int channelMask, int sampleRate, in open()
116 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test()
121 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test()
152 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen()
170 int numChannels, int channelMask, int sampleRate, in nativeTest()
DAudioTrackNative.java46 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
50 public boolean open(int numChannels, int channelMask, int sampleRate, in open()
118 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test()
123 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test()
154 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen()
171 int numChannels, int channelMask, int sampleRate, in nativeTest()
DAudioTrackSurroundTest.java208 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack()
250 void checkIndividualTimestamps(int sampleRate) { in checkIndividualTimestamps()
341 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase()
469 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts()
480 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, in SamplePlayerShorts()
509 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBytes()
514 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig, @RawRes final String res) in SamplePlayerBytes()
DAudioHelper.java65 public static byte[] createSoundDataInByteArray(int bufferSamples, final int sampleRate, in createSoundDataInByteArray()
78 public static short[] createSoundDataInShortArray(int bufferSamples, final int sampleRate, in createSoundDataInShortArray()
89 public static float[] createSoundDataInFloatArray(int bufferSamples, final int sampleRate, in createSoundDataInFloatArray()
417 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
423 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
628 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
DNonBlockingAudioTrack.java49 public NonBlockingAudioTrack(int sampleRate, int channelCount, boolean hwAvSync, in NonBlockingAudioTrack()
/cts/tests/media/src/android/mediav2/cts/
DEncoderProfileLevelTest.java410 private LevelLimitVP9(int level, long sampleRate, int size, int breadth, in getMinLevelVP9()
420 private final long sampleRate; in getMinLevelVP9() field in EncoderProfileLevelTest.LevelLimitVP9
442 int sampleRate = size * frameRate; in getMinLevelVP9() local
456 private LevelLimitMPEG2(int level, long sampleRate, int width, int height, in getMinLevelMPEG2()
467 private final long sampleRate; in getMinLevelMPEG2() field in EncoderProfileLevelTest.LevelLimitMPEG2
482 int sampleRate = size * frameRate; in getMinLevelMPEG2() local
496 private LevelLimitMPEG4(int profile, int level, long sampleRate, int width, in getMinLevelMPEG4()
509 private final long sampleRate; in getMinLevelMPEG4() field in EncoderProfileLevelTest.LevelLimitMPEG4
542 int sampleRate = size * frameRate; in getMinLevelMPEG4() local
558 private LevelLimitAV1(int level, int size, int width, int height, long sampleRate, in getMinLevelAV1()
[all …]
/cts/tests/tests/systemui/AudioRecorderTestApp_AudioRecord/src/android/systemui/cts/audiorecorder/audiorecord/
DAudioRecorderService.java49 final int sampleRate = 32000; in run() local
/cts/tests/tests/permission/src/android/permission/cts/
DNoAudioPermissionTest.java114 final int sampleRate = 8000; in testRecordPermission() local
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DOboeRecorder.java54 public int setupStream(int channelCount, int sampleRate, int numBurstFrames) { in setupStream()
89 …private native int setupStreamN(long nativeRecorder, int channelCount, int sampleRate, int routeDe… in setupStreamN()
DRecorder.java54 public static int calcMinBufferFrames(int channelCount, int sampleRate) { in calcMinBufferFrames()
DJavaRecorder.java94 public int setupStream(int channelCount, int sampleRate, int numBurstFrames) { in setupStream()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DOboePlayer.java62 public int setupStream(int channelCount, int sampleRate, int numBurstFrames) { in setupStream()
103 …private native int setupStreamN(long nativePlayer, int channelCount, int sampleRate, int routeDevi… in setupStreamN()
DPlayer.java46 public static int calcMinBufferFrames(int channelCount, int sampleRate) { in calcMinBufferFrames()
DJavaPlayer.java110 public int setupStream(int channelCount, int sampleRate, int numBufferFrames) { in setupStream()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.h52 void setSampleRate(float sampleRate) { in setSampleRate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java13 private final int sampleRate; // Recording sampling rate. field in WavAnalyzer
25 public WavAnalyzer(byte[] byteData, int sampleRate, Listener listener) { in WavAnalyzer()
DAudioRecordHelper.java28 private final int sampleRate; field in AudioRecordHelper
DUtil.java17 public static int toLength(double duration, int sampleRate) { in toLength()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DStreamBase.java99 public abstract int setupStream(int channelCount, int sampleRate, int numFrames); in setupStream()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/audio/
DAudioCapabilitiesTestActivity.java228 private static AudioFormat makeAudioFormat(int encoding, int sampleRate, int channelCount) { in makeAudioFormat()
/cts/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java70 final int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in createAudioTrack() local
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java81 public void setSampleRate(float sampleRate) { in setSampleRate()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainHotwordDetectionService.java278 int sampleRate = 16000; in canReadAudio() local
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h153 void setSampleRate(int32_t sampleRate) { in setSampleRate()
315 virtual void setSampleRate(int32_t sampleRate) { in setSampleRate()
396 void setSampleRate(int32_t sampleRate) override { in setSampleRate()
/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.cpp89 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper()

12