File: nebu_SourceEngine.h

package info (click to toggle)
gltron 0.70final-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,752 kB
  • ctags: 4,793
  • sloc: ansic: 19,182; sh: 3,257; cpp: 973; makefile: 268
file content (24 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef NEBU_Sound_SourceEngine_H
#define NEBU_Sound_SourceEngine_H

#include "nebu_Source3D.h"

namespace Sound {
  class SourceEngine : public Source3D {
  public:
    SourceEngine(System *system, SourceSample *source) {
      _system = system;
      _source = source;

      _speedShift = 1.0f;
      _pitchShift = 1.0f;
    };

    virtual void GetModifiers(float &fPan, float &fVolume, float &fShift);

    float _speedShift;
    float _pitchShift;
  };
}

#endif