summaryrefslogtreecommitdiff
path: root/src/sound/null_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/null_s.h')
-rw-r--r--src/sound/null_s.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound/null_s.h b/src/sound/null_s.h
index 34f12e70e..5951842cb 100644
--- a/src/sound/null_s.h
+++ b/src/sound/null_s.h
@@ -14,6 +14,7 @@
#include "sound_driver.hpp"
+/** Implementation of the null sound driver. */
class SoundDriver_Null: public SoundDriver {
public:
/* virtual */ const char *Start(const char * const *param) { return NULL; }
@@ -22,6 +23,7 @@ public:
/* virtual */ const char *GetName() const { return "null"; }
};
+/** Factory for the null sound driver. */
class FSoundDriver_Null: public SoundDriverFactory<FSoundDriver_Null> {
public:
static const int priority = 1;