Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamRecorder.java59 public static int calcNumBufferBytes(int numChannels, int sampleRate, int encoding) { in calcNumBufferBytes()
75 public static int calcNumBufferFrames(int numChannels, int sampleRate, int encoding) { in calcNumBufferFrames()
119 private boolean open_internal(int numChans, int sampleRate) { in open_internal()
155 public boolean open(int numChans, int sampleRate, int numBurstFrames) { in open()
DStreamPlayer.java90 private static int calcNumBufferBytes(int sampleRate, int numChannels, int encoding) { in calcNumBufferBytes()
96 private static int calcNumBufferFrames(int sampleRate, int numChannels, int encoding) { in calcNumBufferFrames()
106 public boolean open(int numChans, int sampleRate, int numBurstFrames, AudioFiller filler) { in open()
DWaveTableFloatFiller.java51 public void setSampleRate(float sampleRate) { in setSampleRate()
/cts/tests/tests/media/src/android/media/cts/
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()
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()
DAudioTrackSurroundTest.java199 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack()
239 void checkIndividualTimestamps(int sampleRate) { in checkIndividualTimestamps()
329 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase()
458 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts()
469 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerShorts()
498 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBytes()
503 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerBytes()
DAudioHelper.java64 public static byte[] createSoundDataInByteArray(int bufferSamples, final int sampleRate, in createSoundDataInByteArray()
77 public static short[] createSoundDataInShortArray(int bufferSamples, final int sampleRate, in createSoundDataInShortArray()
88 public static float[] createSoundDataInFloatArray(int bufferSamples, final int sampleRate, in createSoundDataInFloatArray()
405 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
411 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
616 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
DNonBlockingAudioTrack.java48 public NonBlockingAudioTrack(int sampleRate, int channelCount, boolean hwAvSync, in NonBlockingAudioTrack()
DAudioNativeTest.java340 int numChannels, int sampleRate, boolean useFloat, in doRecordTest()
DCodecState.java284 int sampleRate = in onOutputFormatChanged() local
DEncoderTest.java305 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in testEncoder() local
/cts/tests/media/src/android/mediav2/cts/
DEncoderProfileLevelTest.java415 private LevelLimitVP9(int level, long sampleRate, int size, int breadth, in getMinLevelVP9()
425 private final long sampleRate; in getMinLevelVP9() field in EncoderProfileLevelTest.LevelLimitVP9
447 int sampleRate = size * frameRate; in getMinLevelVP9() local
461 private LevelLimitMPEG2(int level, long sampleRate, int width, int height, in getMinLevelMPEG2()
472 private final long sampleRate; in getMinLevelMPEG2() field in EncoderProfileLevelTest.LevelLimitMPEG2
487 int sampleRate = size * frameRate; in getMinLevelMPEG2() local
501 private LevelLimitMPEG4(int profile, int level, long sampleRate, int width, in getMinLevelMPEG4()
514 private final long sampleRate; in getMinLevelMPEG4() field in EncoderProfileLevelTest.LevelLimitMPEG4
547 int sampleRate = size * frameRate; in getMinLevelMPEG4() local
563 private LevelLimitAV1(int level, int size, int width, int height, long sampleRate, in getMinLevelAV1()
[all …]
/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()
DHifiUltrasoundTestActivity.java302 private void play(byte[] data, int sampleRate) { in play()
DHifiUltrasoundSpeakerTestActivity.java343 private void play(byte[] data, int sampleRate) { in play()
/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.h35 int32_t sampleRate; member
Dutils.cpp89 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper()
Dtest_aaudio_callback.cpp34 int32_t sampleRate = AAudioStream_getSampleRate(stream); in measureLatency() local
Dtest_aaudio_stream_builder.cpp159 const int32_t sampleRate = GetParam(); in TEST_P() local
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp74 jint sampleRate, jboolean useFloat, jint numBuffers) { in open()
379 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, in Java_android_media_cts_AudioTrackNative_nativeTest()
428 jint numChannels, jint channelMask, jint sampleRate, in Java_android_media_cts_AudioTrackNative_nativeOpen()
Daudio-record-native.cpp82 uint32_t sampleRate, in open()
468 jint numChannels, jint channelMask, jint sampleRate, in Java_android_media_cts_AudioRecordNative_nativeTest()
515 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen()
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java365 final int sampleRate = 48000; in testVisualizerCapture_CVE_2017_0396() local
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.h39 SLuint32 sampleRate; // -s# member

12