Lines Matching defs:pan
48 ApplyMod(T* data, int64 index, float* pan)
51 * pan[0] + middle);
53 * pan[1] + middle);
160 GameSoundBuffer::SetPan(float pan, bigtime_t duration)
162 if (pan < -1.0 || pan > 1.0)
169 fPan = pan;
179 fPanRamp = InitRamp(&fPan, pan, fFormat.frame_rate, duration);
256 float pan[2];
257 pan[0] = fPanRight * fGain;
258 pan[1] = fPanLeft * fGain;
266 ApplyMod<uint8, 0, 128, UINT8_MAX>((uint8*)data, i, pan);
277 pan);
288 pan);
298 ApplyMod<float, -1, 0, 1>((float*)data, i, pan);
306 // FIXME the output should be stereo, and we could pan mono sounds