Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamRecorder.java57 public static int calcNumBufferBytes(int numChannels, int sampleRate, int encoding) { in calcNumBufferBytes()
73 public static int calcNumBufferFrames(int numChannels, int sampleRate, int encoding) { in calcNumBufferFrames()
117 private boolean open_internal(int numChans, int sampleRate) { in open_internal()
144 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.java43 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
47 public boolean open(int numChannels, int channelMask, int sampleRate, in open()
111 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test()
116 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test()
147 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen()
164 int numChannels, int channelMask, int sampleRate, in nativeTest()
DAudioTrackSurroundTest.java196 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack()
236 void checkIndividualTimestamps(int sampleRate) { in checkIndividualTimestamps()
326 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase()
455 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts()
466 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerShorts()
495 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBytes()
500 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerBytes()
DAudioHelper.java35 public static byte[] createSoundDataInByteArray(int bufferSamples, final int sampleRate, in createSoundDataInByteArray()
48 public static short[] createSoundDataInShortArray(int bufferSamples, final int sampleRate, in createSoundDataInShortArray()
59 public static float[] createSoundDataInFloatArray(int bufferSamples, final int sampleRate, in createSoundDataInFloatArray()
231 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
237 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
442 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.java277 int numChannels, int sampleRate, boolean useFloat, in doRecordTest()
DCodecState.java282 int sampleRate = in onOutputFormatChanged() local
DEncoderTest.java275 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in testEncoder() local
DAudioRecordTest.java1184 public synchronized void start(int sampleRate) { in start()
1238 AudioTimestamp startTs, AudioTimestamp stopTs, int sampleRate) in verifyContinuousTimestamps()
DMediaCodecListTest.java81 AudioCodec(String mime, boolean isEncoder, int sampleRate) { in AudioCodec()
/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.java298 private void play(byte[] data, int sampleRate) { in play()
DHifiUltrasoundSpeakerTestActivity.java340 private void play(byte[] data, int sampleRate) { in play()
/cts/tests/tests/nativemedia/aaudio/src/
Dutils.h28 int32_t sampleRate; member
Dutils.cpp56 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper()
Dtest_aaudio_callback.cpp34 int32_t sampleRate = AAudioStream_getSampleRate(stream); in measureLatency() local
/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp80 uint32_t sampleRate, in open()
441 jint numChannels, jint channelMask, jint sampleRate, in Java_android_media_cts_AudioRecordNative_nativeTest()
488 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen()
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()
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java360 final int sampleRate = 48000; in testVisualizerCapture_CVE_2017_0396() local
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.h39 SLuint32 sampleRate; // -s# member

12