Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 12, 2005, 12:41:09 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/soundEngine: modified, so it has some more c++ style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/soundEngine/src/sound_control.h

    r3509 r3512  
    22#define SOUNDCONTROL_CLASS_H
    33
    4 #include <SDL/SDL.h>
     4#include "stdincl.h"
    55#include <SDL/SDL_mixer.h>
    6 #include <stdio.h>
    76
    87class SoundControl {
     
    3736  static SoundControl* singletonRef;
    3837
     38  bool isInit;
     39
    3940 public:
     41
    4042  Mix_Music* music;
    4143  static SoundControl* sound;
    4244  int bits;
    4345  int volume;
     46
    4447  int track_number;
    45   int audio_rate, audio_channels, audio_buffers;
     48  int audio_rate;
     49  int audio_channels;
     50  int audio_buffers;
    4651  int done;
    47   Uint16 audio_format;
    4852  int sfx_channel1;
    4953  int sfx_channel2;
    5054  int finished;
     55
     56  Uint16 audio_format;
    5157};
    5258
Note: See TracChangeset for help on using the changeset viewer.