mirror of https://github.com/OpenTTD/OpenTTD.git
Codechange: Move Sound Driver parameter name listings (#10127)
This commit is contained in:
parent
3b3c9c1c3a
commit
21cea308f9
|
@ -176,7 +176,7 @@ static void ShowHelp()
|
|||
"\n"
|
||||
"Command line options:\n"
|
||||
" -v drv = Set video driver (see below)\n"
|
||||
" -s drv = Set sound driver (see below) (param bufsize,hz)\n"
|
||||
" -s drv = Set sound driver (see below)\n"
|
||||
" -m drv = Set music driver (see below)\n"
|
||||
" -b drv = Set the blitter to use (see below)\n"
|
||||
" -r res = Set resolution (for instance 800x600)\n"
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
/** Factory for the allegro sound driver. */
|
||||
class FSoundDriver_Allegro : public DriverFactoryBase {
|
||||
public:
|
||||
FSoundDriver_Allegro() : DriverFactoryBase(Driver::DT_SOUND, 4, "allegro", "Allegro Sound Driver") {}
|
||||
FSoundDriver_Allegro() : DriverFactoryBase(Driver::DT_SOUND, 4, "allegro", "Allegro Sound Driver (param hz,samples)") {}
|
||||
/* virtual */ Driver *CreateInstance() const { return new SoundDriver_Allegro(); }
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ public:
|
|||
|
||||
class FSoundDriver_Cocoa : public DriverFactoryBase {
|
||||
public:
|
||||
FSoundDriver_Cocoa() : DriverFactoryBase(Driver::DT_SOUND, 10, "cocoa", "Cocoa Sound Driver") {}
|
||||
FSoundDriver_Cocoa() : DriverFactoryBase(Driver::DT_SOUND, 10, "cocoa", "Cocoa Sound Driver (param hz)") {}
|
||||
Driver *CreateInstance() const override { return new SoundDriver_Cocoa(); }
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
/** Factory for the SDL sound driver. */
|
||||
class FSoundDriver_SDL : public DriverFactoryBase {
|
||||
public:
|
||||
FSoundDriver_SDL() : DriverFactoryBase(Driver::DT_SOUND, 5, "sdl", "SDL Sound Driver") {}
|
||||
FSoundDriver_SDL() : DriverFactoryBase(Driver::DT_SOUND, 5, "sdl", "SDL Sound Driver (param hz,samples)") {}
|
||||
Driver *CreateInstance() const override { return new SoundDriver_SDL(); }
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
/** Factory for the sound driver for Windows. */
|
||||
class FSoundDriver_Win32 : public DriverFactoryBase {
|
||||
public:
|
||||
FSoundDriver_Win32() : DriverFactoryBase(Driver::DT_SOUND, 9, "win32", "Win32 WaveOut Sound Driver") {}
|
||||
FSoundDriver_Win32() : DriverFactoryBase(Driver::DT_SOUND, 9, "win32", "Win32 WaveOut Sound Driver (param bufsize,hz)") {}
|
||||
Driver *CreateInstance() const override { return new SoundDriver_Win32(); }
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
/** Factory for the XAudio2 sound driver. */
|
||||
class FSoundDriver_XAudio2 : public DriverFactoryBase {
|
||||
public:
|
||||
FSoundDriver_XAudio2() : DriverFactoryBase(Driver::DT_SOUND, 10, "xaudio2", "XAudio2 Sound Driver") {}
|
||||
FSoundDriver_XAudio2() : DriverFactoryBase(Driver::DT_SOUND, 10, "xaudio2", "XAudio2 Sound Driver (param bufsize,hz)") {}
|
||||
Driver *CreateInstance() const override { return new SoundDriver_XAudio2(); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue