From 2723db28844be0c3413e6e02aa11f0ecc9144ab0 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 7 Jul 2007 20:31:23 +0000 Subject: (svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first --- src/sound/win32_s.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sound/win32_s.h') diff --git a/src/sound/win32_s.h b/src/sound/win32_s.h index 820e6c74e..8fbd8b0c1 100644 --- a/src/sound/win32_s.h +++ b/src/sound/win32_s.h @@ -7,8 +7,6 @@ class SoundDriver_Win32: public SoundDriver { public: - /* virtual */ bool CanProbe() { return true; } - /* virtual */ const char *Start(const char * const *param); /* virtual */ void Stop(); @@ -16,6 +14,7 @@ public: class FSoundDriver_Win32: public SoundDriverFactory { public: + static const int priority = 10; /* virtual */ const char *GetName() { return "win32"; } /* virtual */ const char *GetDescription() { return "Win32 WaveOut Driver"; } /* virtual */ Driver *CreateInstance() { return new SoundDriver_Win32(); } -- cgit v1.2.3-54-g00ecf