~ubuntu-branches/debian/squeeze/stellarium/squeeze

« back to all changes in this revision

Viewing changes to src/audio.h

  • Committer: Bazaar Package Importer
  • Author(s): Cédric Delfosse
  • Date: 2008-05-19 21:28:23 UTC
  • mfrom: (3.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080519212823-m5nfiuntxstxzxj7
Tags: 0.9.1-4
Add libxcursor-dev, libxfixes-dev, libxinerama-dev, libqt4-opengl-dev to
build-deps (Closes: #479906)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <config.h>
26
26
 
27
27
#include <string>
28
 
#include "SDL.h"
29
28
 
30
 
#ifdef HAVE_SDL_MIXER_H
31
 
# include "SDL_mixer.h"
 
29
#ifdef HAVE_SDL_SDL_MIXER_H
 
30
#include <SDL/SDL_mixer.h>
32
31
 
33
32
class Audio
34
33
{
44
43
  void increment_volume();
45
44
  void decrement_volume();
46
45
  std::string get_name() { return track_name; };
47
 
  void update(int delta_time);
 
46
  void update(double delta_time);
48
47
 
49
48
 private:
50
49
  Mix_Music *track;
62
61
  virtual ~Audio() {;}
63
62
  void play(bool loop) {;}
64
63
  void pause() {;}
65
 
  void resync() {;}
 
64
  void sync() {;}
66
65
  void resume() {;}
67
66
  void stop() {;}
68
67
  void set_volume(float _volume) {;}
69
68
  void increment_volume() {;}
70
69
  void decrement_volume() {;}
71
70
  std::string get_name() { return "Compiled with no Audio!"; };
72
 
  void update(int delta_time) {;}
 
71
  void update(double delta_time) {;}
73
72
 
74
73
 private:
75
74
};