Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codechange: Move Sound Driver parameter name listings #10127

Merged
merged 1 commit into from
Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/openttd.cpp
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/sound/allegro_s.h
Expand Up @@ -26,7 +26,7 @@ class SoundDriver_Allegro : public SoundDriver {
/** 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(); }
};

Expand Down
2 changes: 1 addition & 1 deletion src/sound/cocoa_s.h
Expand Up @@ -22,7 +22,7 @@ class SoundDriver_Cocoa : public SoundDriver {

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(); }
};

Expand Down
2 changes: 1 addition & 1 deletion src/sound/sdl_s.h
Expand Up @@ -24,7 +24,7 @@ class SoundDriver_SDL : public SoundDriver {
/** 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(); }
};

Expand Down
2 changes: 1 addition & 1 deletion src/sound/win32_s.h
Expand Up @@ -24,7 +24,7 @@ class SoundDriver_Win32 : public SoundDriver {
/** 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(); }
};

Expand Down
2 changes: 1 addition & 1 deletion src/sound/xaudio2_s.h
Expand Up @@ -24,7 +24,7 @@ class SoundDriver_XAudio2 : public SoundDriver {
/** 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(); }
};

Expand Down