Home
last modified time | relevance | path

Searched refs:levelTo (Results 1 – 4 of 4) 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 ASSERT_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 ASSERT_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 ASSERT_EQ(8.0f, levelTo); in TEST()
64 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
[all …]
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp135 float levelTo; in writeNowWithConversion() local
137 &levelFrom, &levelTo); in writeNowWithConversion()
149 levelTo); in writeNowWithConversion()
158 levelTo); in writeNowWithConversion()
164 levelTo); in writeNowWithConversion()
176 levelTo); in writeNowWithConversion()
182 levelTo); in writeNowWithConversion()
191 levelTo); in writeNowWithConversion()
/frameworks/av/media/libaaudio/src/utility/
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()
DLinearRamp.h82 bool nextSegment(int32_t frames, float *levelFrom, float *levelTo);