diff options
Diffstat (limited to 'src/sound')
-rw-r--r-- | src/sound/allegro_s.h | 1 | ||||
-rw-r--r-- | src/sound/cocoa_s.h | 1 | ||||
-rw-r--r-- | src/sound/null_s.h | 1 | ||||
-rw-r--r-- | src/sound/sdl_s.h | 1 | ||||
-rw-r--r-- | src/sound/win32_s.h | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/sound/allegro_s.h b/src/sound/allegro_s.h index b59b8527f..5eeeae248 100644 --- a/src/sound/allegro_s.h +++ b/src/sound/allegro_s.h @@ -21,6 +21,7 @@ public: /* virtual */ void Stop(); /* virtual */ void MainLoop(); + /* virtual */ const char *GetName() const { return "allegro"; } }; class FSoundDriver_Allegro: public SoundDriverFactory<FSoundDriver_Allegro> { diff --git a/src/sound/cocoa_s.h b/src/sound/cocoa_s.h index dd893cc3e..7492164c5 100644 --- a/src/sound/cocoa_s.h +++ b/src/sound/cocoa_s.h @@ -19,6 +19,7 @@ public: /* virtual */ const char *Start(const char * const *param); /* virtual */ void Stop(); + /* virtual */ const char *GetName() const { return "cocoa"; } }; class FSoundDriver_Cocoa: public SoundDriverFactory<FSoundDriver_Cocoa> { diff --git a/src/sound/null_s.h b/src/sound/null_s.h index 26239ae18..050f39fc9 100644 --- a/src/sound/null_s.h +++ b/src/sound/null_s.h @@ -19,6 +19,7 @@ public: /* virtual */ const char *Start(const char * const *param) { return NULL; } /* virtual */ void Stop() { } + /* virtual */ const char *GetName() const { return "null"; } }; class FSoundDriver_Null: public SoundDriverFactory<FSoundDriver_Null> { diff --git a/src/sound/sdl_s.h b/src/sound/sdl_s.h index e664c4eb5..d8a4d587d 100644 --- a/src/sound/sdl_s.h +++ b/src/sound/sdl_s.h @@ -19,6 +19,7 @@ public: /* virtual */ const char *Start(const char * const *param); /* virtual */ void Stop(); + /* virtual */ const char *GetName() const { return "sdl"; } }; class FSoundDriver_SDL: public SoundDriverFactory<FSoundDriver_SDL> { diff --git a/src/sound/win32_s.h b/src/sound/win32_s.h index 0659ead34..c75d07594 100644 --- a/src/sound/win32_s.h +++ b/src/sound/win32_s.h @@ -19,6 +19,7 @@ public: /* virtual */ const char *Start(const char * const *param); /* virtual */ void Stop(); + /* virtual */ const char *GetName() const { return "win32"; } }; class FSoundDriver_Win32: public SoundDriverFactory<FSoundDriver_Win32> { |