Lines Matching refs:volume
189 t->volume[0] = UNITY_GAIN;
190 t->volume[1] = UNITY_GAIN;
496 case VOLUME:
500 if (track.volume[param-VOLUME0] != valueInt) {
501 ALOGV("setParameter(VOLUME, VOLUME0/1: %04x)", valueInt);
502 track.prevVolume[param-VOLUME0] = track.volume[param-VOLUME0] << 16;
503 track.volume[param-VOLUME0] = valueInt;
504 if (target == VOLUME) {
521 ALOGV("setParameter(VOLUME, AUXLEVEL: %04x)", valueInt);
524 if (target == VOLUME) {
583 if (((volumeInc[i]>0) && (((prevVolume[i]+volumeInc[i])>>16) >= volume[i])) ||
584 ((volumeInc[i]<0) && (((prevVolume[i]+volumeInc[i])>>16) <= volume[i]))) {
586 prevVolume[i] = volume[i]<<16;
746 // Now that the volume ramp has been done, set optimal state and
802 t->resampler->setVolume(t->volume[0], t->volume[1]);
822 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
825 // ramp volume
859 const int16_t vl = t->volume[0];
860 const int16_t vr = t->volume[1];
902 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
946 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
992 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
1012 const int16_t vl = t->volume[0];
1013 const int16_t vr = t->volume[1];
1033 // t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
1050 const int16_t vl = t->volume[0];
1051 const int16_t vr = t->volume[1];
1298 const int16_t vl = t.volume[0];
1299 const int16_t vr = t.volume[1];
1319 // volume is boosted, so we might need to clamp even though
1365 const int16_t vl0 = t0.volume[0];
1366 const int16_t vr0 = t0.volume[1];
1370 const int16_t vl1 = t1.volume[0];
1371 const int16_t vr1 = t1.volume[1];