Home
last modified time | relevance | path

Searched refs:levelFrom (Results 1 – 6 of 6) 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 EXPECT_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 EXPECT_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 EXPECT_EQ(8.0f, levelFrom); in TEST()
64 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); in TEST()
[all …]
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp279 float levelFrom, in convert() argument
286 levelFrom, in convert()
295 levelFrom, in convert()
304 float levelFrom, in convertMonoToStereo() argument
315 levelFrom, in convertMonoToStereo()
318 if (levelFrom != levelTo) { in convertMonoToStereo()
323 levelFrom, in convertMonoToStereo()
335 if (levelFrom != levelTo) { in convertMonoToStereo()
340 levelFrom, in convertMonoToStereo()
354 levelFrom, in convertMonoToStereo()
[all …]
DLinearRamp.cpp31 bool LinearRamp::nextSegment(int32_t frames, float *levelFrom, float *levelTo) { in nextSegment() argument
33 *levelFrom = mLevelFrom; in nextSegment()
DAAudioUtilities.h180 float levelFrom,
187 float levelFrom,
193 float levelFrom,
DLinearRamp.h82 bool nextSegment(int32_t frames, float *levelFrom, float *levelTo);
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp220 float levelFrom; in writeNowWithConversion() local
222 mVolumeRamp.nextSegment(framesToWrite, &levelFrom, &levelTo); in writeNowWithConversion()
234 levelFrom, levelTo); in writeNowWithConversion()