]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/soundmgr_openal.hxx
initialize volume to a proper value
[simgear.git] / simgear / sound / soundmgr_openal.hxx
index 30801665ccdc0f2f38cc7134aad037e88cacd869..f1f9bd17a178d5feb8d518a030f40a7c0312e73d 100644 (file)
@@ -95,7 +95,7 @@ public:
     SGSoundMgr();
     ~SGSoundMgr();
 
-    void init();
+    void init(const char *devname = NULL);
     void bind();
     void unbind();
     void update(double dt);
@@ -311,7 +311,6 @@ private:
     vector<ALuint> _free_sources;
     vector<ALuint> _sources_in_use;
 
-    char *_devname;
     bool _bad_doppler;
 
     bool testForALError(string s);