File: SourceEngine.cpp

package info (click to toggle)
gltron 0.70final-9
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,208 kB
  • ctags: 5,051
  • sloc: ansic: 19,181; sh: 3,443; cpp: 973; makefile: 269
file content (14 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "audio/nebu_SourceEngine.h"

namespace Sound {
  void SourceEngine::GetModifiers(float& fPan, float& fVolume, float& fShift) {
    Source3D::GetModifiers(fPan, fVolume, fShift);
    fVolume *= _speedShift;
    fShift *= _pitchShift;
  }
}