Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_linear_ramp.cpp30 float levelFrom = -1.0f; in TEST() local
37 bool ramping = ramp.nextSegment(4, &levelFrom, &levelTo); in TEST()
39 ASSERT_EQ(0.0f, levelFrom); in TEST()
42 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
48 ramping = ramp.nextSegment(4, &levelFrom, &levelTo); in TEST()
50 ASSERT_EQ(4.0f, levelFrom); in TEST()
53 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
59 ramping = ramp.nextSegment(4, &levelFrom, &levelTo); in TEST()
61 ASSERT_EQ(8.0f, levelFrom); in TEST()
64 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
[all …]
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp134 float levelFrom; in writeNowWithConversion() local
137 &levelFrom, &levelTo); in writeNowWithConversion()
148 levelFrom, in writeNowWithConversion()
157 levelFrom, in writeNowWithConversion()
175 levelFrom, in writeNowWithConversion()
190 levelFrom, in writeNowWithConversion()
/frameworks/av/media/libaaudio/src/utility/
DLinearRamp.cpp31 bool LinearRamp::nextSegment(int32_t frames, float *levelFrom, float *levelTo) { in nextSegment() argument
33 *levelFrom = mLevelFrom; in nextSegment()
DLinearRamp.h82 bool nextSegment(int32_t frames, float *levelFrom, float *levelTo);