Change remaining references to -nosound to -sound none in code and docs; move description of -sound option to OSD-specific doc files to be orthogonal to -video (nw)

This commit is contained in:
Alex W. Jackson 2014-06-13 21:01:35 +00:00
parent 1358278e4d
commit f661e32ec8
6 changed files with 16 additions and 10 deletions

View File

@ -59,7 +59,7 @@ Performance options
-bench [n] -bench [n]
Benchmark for [n] number of emulated seconds; implies the command string: Benchmark for [n] number of emulated seconds; implies the command string:
-str [n] -video none -nosound -nothrottle. Default is OFF (-nobench) -str [n] -video none -sound none -nothrottle. Default is OFF (-nobench)
@ -326,6 +326,11 @@ Full screen options
Sound options Sound options
------------- -------------
-sound <sdl|none>
Specifies which sound subsystem to use. 'none' disables sound altogether.
The default is sdl.
-audio_latency <value> -audio_latency <value>
This controls the amount of latency built into the audio streaming. By This controls the amount of latency built into the audio streaming. By

View File

@ -864,11 +864,6 @@ Core vector options
Core sound options Core sound options
------------------ ------------------
-sound [value]
Enable (auto), disable (none), or SDL (sdl) if using SDL. The default
is enable (auto).
-samplerate <value> / -sr <value> -samplerate <value> / -sr <value>
Sets the audio sample rate. Smaller values (e.g. 11025) cause lower Sets the audio sample rate. Smaller values (e.g. 11025) cause lower

View File

@ -70,7 +70,7 @@ Windows performance options
-bench [n] -bench [n]
Benchmark for [n] number of emulated seconds; implies the command string: Benchmark for [n] number of emulated seconds; implies the command string:
-str [n] -video none -nosound -nothrottle -str [n] -video none -sound none -nothrottle
@ -339,6 +339,12 @@ Full screen options
Windows sound options Windows sound options
--------------------- ---------------------
-sound <dsound|sdl|none>
Specifies which sound subsystem to use. 'none' disables sound altogether.
The default is dsound.
-audio_latency <value> -audio_latency <value>
This controls the amount of latency built into the audio streaming. By This controls the amount of latency built into the audio streaming. By

View File

@ -33,7 +33,7 @@ const options_entry osd_options::s_option_entries[] =
{ NULL, NULL, OPTION_HEADER, "OSD PERFORMANCE OPTIONS" }, { NULL, NULL, OPTION_HEADER, "OSD PERFORMANCE OPTIONS" },
{ OSDOPTION_MULTITHREADING ";mt", "0", OPTION_BOOLEAN, "enable multithreading; this enables rendering and blitting on a separate thread" }, { OSDOPTION_MULTITHREADING ";mt", "0", OPTION_BOOLEAN, "enable multithreading; this enables rendering and blitting on a separate thread" },
{ OSDOPTION_NUMPROCESSORS ";np", OSDOPTVAL_AUTO, OPTION_STRING, "number of processors; this overrides the number the system reports" }, { OSDOPTION_NUMPROCESSORS ";np", OSDOPTVAL_AUTO, OPTION_STRING, "number of processors; this overrides the number the system reports" },
{ OSDOPTION_BENCH, "0", OPTION_INTEGER, "benchmark for the given number of emulated seconds; implies -video none -nosound -nothrottle" }, { OSDOPTION_BENCH, "0", OPTION_INTEGER, "benchmark for the given number of emulated seconds; implies -video none -sound none -nothrottle" },
// video options // video options
{ NULL, NULL, OPTION_HEADER, "OSD VIDEO OPTIONS" }, { NULL, NULL, OPTION_HEADER, "OSD VIDEO OPTIONS" },
// OS X can be trusted to have working hardware OpenGL, so default to it on for the best user experience // OS X can be trusted to have working hardware OpenGL, so default to it on for the best user experience

View File

@ -509,7 +509,7 @@ Show SDL video performance.
.TP .TP
.B \-bench .B \-bench
Benchmark for the given number of emulated seconds; Benchmark for the given number of emulated seconds;
implies \-video none \-nosound \-nothrottle. implies \-video none \-sound none \-nothrottle.
.\" .\"
.\" ******************************************************* .\" *******************************************************
.SS Rotation options .SS Rotation options

View File

@ -166,7 +166,7 @@ goto :eof
:runone :runone
@echo Testing %1 (%2)... @echo Testing %1 (%2)...
echo.>>%SUMMARY% echo.>>%SUMMARY%
mame %1 -str 30 -watchdog 300 -nodebug -nothrottle -inipath .. -video none -nosound 1>log\%1.txt 2>log\%1.err mame %1 -str 30 -watchdog 300 -nodebug -nothrottle -inipath .. -video none -sound none 1>log\%1.txt 2>log\%1.err
if %errorlevel% equ 100 ( if %errorlevel% equ 100 (
echo @@@@@driver=%1: Exception>>%SUMMARY% echo @@@@@driver=%1: Exception>>%SUMMARY%
type log\%1.err >>%SUMMARY% type log\%1.err >>%SUMMARY%