Skip to content

Commit

Permalink
Added all static members to audio_manager.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Glover committed Mar 18, 2010
1 parent 2c41445 commit 587563a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/audio/audio_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@

namespace audio
{
// Static data must be initialised
int audio_manager::audio_rate_;
u_int16 audio_manager::audio_format_;
int audio_manager::audio_channels_;
int audio_manager::audio_buffers_;
int audio_manager::audio_mixchannels_;

bool audio_manager::set_audio_rate(const int audio_rate) {
audio_rate_ = audio_rate;

Expand Down

0 comments on commit 587563a

Please sign in to comment.