Home
last modified time | relevance | path

Searched refs:amplitude (Results 1 – 4 of 4) sorted by relevance

/cts/suite/audio_quality/lib/src/task/
DTaskSound.cpp79 int amplitude = atoi(tokens->at(1).string()); in run() local
83 buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, amplitude, in run()
90 int amplitude = atoi(tokens->at(1).string()); in run() local
93 buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, amplitude, in run()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackSurroundTest.java462 int amplitude = 8000; in SamplePlayerShorts() local
465 mData[i] = (short)(random.nextInt(amplitude) - (amplitude / 2)); in SamplePlayerShorts()
DAudioHelper.java104 int numCycles, double amplitude) { in createSineWavesShort() argument
108 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort()
DAudioTrackLatencyTest.java133 public double amplitude = 0.5; field in AudioTrackLatencyTest.TestSetup
141 samplesPerFrame, 1, amplitude); in createTrack()