Home
last modified time | relevance | path

Searched refs:levelTo (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_linear_ramp.cpp31 float levelTo = -1.0f; in TEST() local
37 bool ramping = ramp.nextSegment(4, &levelFrom, &levelTo); in TEST()
40 EXPECT_EQ(4.0f, levelTo); in TEST()
42 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
48 ramping = ramp.nextSegment(4, &levelFrom, &levelTo); in TEST()
51 EXPECT_EQ(8.0f, levelTo); in TEST()
53 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
59 ramping = ramp.nextSegment(4, &levelFrom, &levelTo); in TEST()
62 EXPECT_EQ(8.0f, levelTo); in TEST()
64 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
[all …]
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp280 float levelTo) { in convert() argument
287 levelTo); in convert()
296 levelTo); in convert()
305 float levelTo) { in convertMonoToStereo() argument
316 levelTo); in convertMonoToStereo()
318 if (levelFrom != levelTo) { in convertMonoToStereo()
324 levelTo); in convertMonoToStereo()
330 levelTo); in convertMonoToStereo()
335 if (levelFrom != levelTo) { in convertMonoToStereo()
341 levelTo); in convertMonoToStereo()
[all …]
DLinearRamp.cpp31 bool LinearRamp::nextSegment(int32_t frames, float *levelFrom, float *levelTo) { in nextSegment() argument
45 *levelTo = level; in nextSegment()
47 *levelTo = mLevelTo; in nextSegment()
DAAudioUtilities.h181 float levelTo);
188 float levelTo);
194 float levelTo);
DLinearRamp.h82 bool nextSegment(int32_t frames, float *levelFrom, float *levelTo);
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp221 float levelTo; in writeNowWithConversion() local
222 mVolumeRamp.nextSegment(framesToWrite, &levelFrom, &levelTo); in writeNowWithConversion()
234 levelFrom, levelTo); in writeNowWithConversion()