Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioMixer.h58 static const uint32_t MAX_NUM_VOLUMES = 2; // stereo volume only variable
178 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero)
182 int32_t prevVolume[MAX_NUM_VOLUMES];
186 int32_t volumeInc[MAX_NUM_VOLUMES];
252 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume
253 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume
254 float mVolumeInc[MAX_NUM_VOLUMES]; // floating point volume increment
DAudioMixer.cpp712 if ((unsigned)param >= VOLUME0 && (unsigned)param < VOLUME0 + MAX_NUM_VOLUMES) { in setParameter()
834 for (uint32_t i = 0; i < MAX_NUM_VOLUMES; i++) { in adjustVolumeRamp()
847 for (uint32_t i = 0; i < MAX_NUM_VOLUMES; i++) { in adjustVolumeRamp()