Searched refs:levelTo (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_linear_ramp.cpp | 31 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/ |
D | AAudioUtilities.cpp | 280 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 …]
|
D | LinearRamp.cpp | 31 bool LinearRamp::nextSegment(int32_t frames, float *levelFrom, float *levelTo) { in nextSegment() argument 45 *levelTo = level; in nextSegment() 47 *levelTo = mLevelTo; in nextSegment()
|
D | AAudioUtilities.h | 181 float levelTo); 188 float levelTo); 194 float levelTo);
|
D | LinearRamp.h | 82 bool nextSegment(int32_t frames, float *levelFrom, float *levelTo);
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalPlay.cpp | 221 float levelTo; in writeNowWithConversion() local 222 mVolumeRamp.nextSegment(framesToWrite, &levelFrom, &levelTo); in writeNowWithConversion() 234 levelFrom, levelTo); in writeNowWithConversion()
|