Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioMixer.h56 static const uint32_t MAX_NUM_VOLUMES = 2; // stereo volume only variable
167 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero)
171 int32_t prevVolume[MAX_NUM_VOLUMES];
175 int32_t volumeInc[MAX_NUM_VOLUMES];
220 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume
221 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume
222 float mVolumeInc[MAX_NUM_VOLUMES]; // floating point volume increment
DAudioMixer.cpp898 if ((unsigned)param >= VOLUME0 && (unsigned)param < VOLUME0 + MAX_NUM_VOLUMES) { in setParameter()
976 for (uint32_t i = 0; i < MAX_NUM_VOLUMES; i++) { in adjustVolumeRamp()
988 for (uint32_t i = 0; i < MAX_NUM_VOLUMES; i++) { in adjustVolumeRamp()