File diff r21435:37fd42ff92b8 → r21436:38079fc3bcd8
src/sound/sound_driver.hpp
Show inline comments
 
@@ -19,9 +19,15 @@ class SoundDriver : public Driver {
 
public:
 
	/** Called once every tick */
 
	virtual void MainLoop() {}
 

	
 
	/**
 
	 * Get the currently active instance of the sound driver.
 
	 */
 
	static SoundDriver *GetInstance() {
 
		return static_cast<SoundDriver*>(*DriverFactoryBase::GetActiveDriver(Driver::DT_SOUND));
 
	}
 
};
 

	
 
extern SoundDriver *_sound_driver;
 
extern char *_ini_sounddriver;
 

	
 
#endif /* SOUND_SOUND_DRIVER_HPP */