Home
last modified time | relevance | path

Searched refs:MAX_NUM_VOLUMES (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h50 static constexpr uint32_t MAX_NUM_VOLUMES = FCC_2; // stereo volume only variable
246 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero)
250 int32_t prevVolume[MAX_NUM_VOLUMES];
251 int32_t volumeInc[MAX_NUM_VOLUMES];
283 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume
284 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume
285 float mVolumeInc[MAX_NUM_VOLUMES]; // floating point volume increment
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp446 if ((unsigned)param >= VOLUME0 && (unsigned)param < VOLUME0 + MAX_NUM_VOLUMES) { in setParameter()
523 for (uint32_t i = 0; i < MAX_NUM_VOLUMES; i++) { in adjustVolumeRamp()
536 for (uint32_t i = 0; i < MAX_NUM_VOLUMES; i++) { in adjustVolumeRamp()