Home
last modified time | relevance | path

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

123

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackNative.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()
115 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test()
120 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test()
151 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen()
168 int numChannels, int channelMask, int sampleRate, in nativeTest()
DAudioRecordNative.java41 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
45 public boolean open(int numChannels, int channelMask, int sampleRate, in open()
113 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test()
118 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test()
149 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen()
167 int numChannels, int channelMask, int sampleRate, in nativeTest()
DAudioTrackSurroundTest.java193 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack()
235 void checkIndividualTimestamps(int sampleRate) { in checkIndividualTimestamps()
326 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase()
417 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts()
428 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerShorts()
457 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBytes()
462 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerBytes()
DAudioNativeTest.java351 int numChannels, int sampleRate, boolean useFloat, in doRecordTest()
409 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open()
DDtsAudioFormatsTest.kt93 sampleRates.map { sampleRate -> in <lambda>() method
DDirectAudioProfilesForAttributesTest.kt115 sampleRates.map { sampleRate -> in <lambda>() method
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DNativeAudioSource.java37 public void setSampleRate(int sampleRate) { in setSampleRate()
66 private native void setSampleRateN(long nativeSourcePtr, int sampleRate); in setSampleRateN()
DAudioSource.java29 public void setSampleRate(int sampleRate) {} in setSampleRate()
/cts/tests/tests/systemui/AudioRecorderTestApp_AudioRecord/src/android/systemui/cts/audiorecorder/audiorecord/
DAudioRecorderService.java49 final int sampleRate = 32000; in run() local
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java89 public void setPlayerSampleRate(int sampleRate) { in setPlayerSampleRate()
93 public void setRecordererSampleRate(int sampleRate) { in setRecordererSampleRate()
126 public void setRecorderSampleRate(int sampleRate) { in setRecorderSampleRate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java15 private final int sampleRate; // Recording sampling rate. field in WavAnalyzer
27 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/tests/tests/media/audio/modules/audiorecordpermissiontests/lib/src/android/media/audio/cts/audiorecordpermissiontests/common/
DRecordService.kt115 val sampleRate = 32000 in record() constant
/cts/apps/CtsVerifier/jni/megaaudio/player/
DAudioSource.h46 virtual void setSampleRate(int sampleRate) {} in setSampleRate()
DWaveTableSource.cpp28 void WaveTableSource::setSampleRate(int sampleRate) { in setSampleRate()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java66 public static byte[] createSoundDataInByteArray(int bufferSamples, final int sampleRate, in createSoundDataInByteArray()
79 public static short[] createSoundDataInShortArray(int bufferSamples, final int sampleRate, in createSoundDataInShortArray()
90 public static float[] createSoundDataInFloatArray(int bufferSamples, final int sampleRate, in createSoundDataInFloatArray()
111 final int sampleRate, final double frequency, double sweep) { in createSoundDataInShortByteBuffer()
532 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
538 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit()
/cts/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java71 final int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in createAudioTrack() local
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DRecorder.java87 public static int calcMinBufferFramesStatic(int channelCount, int sampleRate) { in calcMinBufferFramesStatic()
/cts/tests/media/common/src/android/mediav2/common/cts/
DRawResource.java87 public Builder setSampleRate(int sampleRate) { in setSampleRate()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java82 public void setSampleRate(int sampleRate) { in setSampleRate()
/cts/tests/media/src/android/mediav2/cts/
DAudioEncoderTest.java71 int sampleRate, int channelCount, int pcmEncoding) { in getAudioEncoderCfgParams()
DCodecDecoderValidationTest.java111 String refFile, float rmsError, long refCRC, int sampleRate, int channelCount, in CodecDecoderValidationTest()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioCodecTest.java128 int sampleRate = mSampleRateArray[sampleRateIdx]; in getSampleRate() local
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DBuilderBase.java121 public BuilderBase setSampleRate(int sampleRate) { in setSampleRate()

123