mirror of https://github.com/stella-emu/stella.git
updated audio docs
This commit is contained in:
parent
c58a149916
commit
14b22d185b
|
@ -1899,28 +1899,52 @@
|
||||||
shown.</td>
|
shown.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-sound <1|0></pre></td>
|
<td><pre>-audio.enabled <1|0></pre></td>
|
||||||
<td>Enable or disable sound generation.</td>
|
<td>Enable or disable sound generation.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-fragsize <number></pre></td>
|
<td><pre>-audio.volume <0 - 100></pre></td>
|
||||||
<td>Specify the sound fragment size to use. Linux/Mac seems to work
|
<td>Set the volume.</td>
|
||||||
with 512, Windows usually needs 1024.</td>
|
</tr>
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-freq <number></pre></td>
|
<td><pre>-audio.preset <1 - 5></pre></td>
|
||||||
<td>Set sound sample output frequency (11025, 22050, 31400, 44100, 48000)
|
<td>Set an audio preset. Numbers in sequence represent presets for
|
||||||
Default is 31400. Do not change unless you experience sound
|
'custom', 'low quality, 'medium lag', 'high quality, medium lag',
|
||||||
issues.</td>
|
'high quality, low lag' and 'very high quality, very low lag'.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-volume <number></pre></td>
|
<td><pre>-audio.fragment_size <128|256|512|1024|2048|4096></pre></td>
|
||||||
<td>Set the volume (0 - 100).</td>
|
<td>Set the number of samples in a single fragment processed by the audio driver.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><pre>-audio.sample_rate <44100|48000|96000></pre></td>
|
||||||
|
<td>Set sound sample output frequency.</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><pre>-audio.resampling_quality <1|2|3></pre></td>
|
||||||
|
<td>Set resampling quality to low (1), high (2) or ultra (3).</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><pre>-audio.headroom <0 - 20></pre></td>
|
||||||
|
<td>Set number of additional half-frames to prebuffer.</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><pre>-audio.buffer_size <0 - 20></pre></td>
|
||||||
|
<td>Set maximum number of additional half-frames to buffer.</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><pre>-audio.stereo <1|0></pre></td>
|
||||||
|
<td>Enable or disable stereo mode for all ROMs.</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-tia.zoom <zoom></pre></td>
|
<td><pre>-tia.zoom <zoom></pre></td>
|
||||||
|
@ -1961,7 +1985,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><pre>-tv.filter <0 - 5></pre></td>
|
<td><pre>-tv.filter <0 - 5></pre></td>
|
||||||
<td>Blargg TV effects, 0 is disabled, next numbers in
|
<td>Blargg TV effects, 0 is disabled, next numbers in
|
||||||
sequence represent presets for 'RGB', 'S-Video', 'Composite', 'Bad Adjust',
|
sequence represent presets for 'RGB', 'S-Video', 'Composite', 'Bad Adjust'
|
||||||
and 'Custom' modes.</td>
|
and 'Custom' modes.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -2659,6 +2683,7 @@
|
||||||
</td><td>-audio.resampling_quality</td></tr>
|
</td><td>-audio.resampling_quality</td></tr>
|
||||||
<tr><td>Headroom</td><td>Number of frames to buffer before playback starts. Higher values increase latency, but reduce the potential for dropouts.</td><td>-audio.headroom</td></tr>
|
<tr><td>Headroom</td><td>Number of frames to buffer before playback starts. Higher values increase latency, but reduce the potential for dropouts.</td><td>-audio.headroom</td></tr>
|
||||||
<tr><td>Buffer size</td><td>Maximum size of the audio buffer. Higher values increase maximum latency, but reduce the potential for dropouts</td><td>-audio.buffer_size</td></tr>
|
<tr><td>Buffer size</td><td>Maximum size of the audio buffer. Higher values increase maximum latency, but reduce the potential for dropouts</td><td>-audio.buffer_size</td></tr>
|
||||||
|
<tr><td>Stereo for all ROMs</td><td>Enables stereo mode for all ROMs.</td><td>-audio.stereo</td></tr>
|
||||||
</table>
|
</table>
|
||||||
<p>
|
<p>
|
||||||
<strong>IMPORTANT:</strong> In order to maintain a stable stream of audio data, emulation speed must be
|
<strong>IMPORTANT:</strong> In order to maintain a stable stream of audio data, emulation speed must be
|
||||||
|
|
|
@ -67,13 +67,13 @@ Settings::Settings()
|
||||||
// Sound options
|
// Sound options
|
||||||
setPermanent(AudioSettings::SETTING_ENABLED, AudioSettings::DEFAULT_ENABLED);
|
setPermanent(AudioSettings::SETTING_ENABLED, AudioSettings::DEFAULT_ENABLED);
|
||||||
setPermanent(AudioSettings::SETTING_VOLUME, AudioSettings::DEFAULT_VOLUME);
|
setPermanent(AudioSettings::SETTING_VOLUME, AudioSettings::DEFAULT_VOLUME);
|
||||||
setPermanent(AudioSettings::SETTING_STEREO, AudioSettings::DEFAULT_STEREO);
|
|
||||||
setPermanent(AudioSettings::SETTING_PRESET, static_cast<int>(AudioSettings::DEFAULT_PRESET));
|
setPermanent(AudioSettings::SETTING_PRESET, static_cast<int>(AudioSettings::DEFAULT_PRESET));
|
||||||
setPermanent(AudioSettings::SETTING_SAMPLE_RATE, AudioSettings::DEFAULT_SAMPLE_RATE);
|
|
||||||
setPermanent(AudioSettings::SETTING_FRAGMENT_SIZE, AudioSettings::DEFAULT_FRAGMENT_SIZE);
|
setPermanent(AudioSettings::SETTING_FRAGMENT_SIZE, AudioSettings::DEFAULT_FRAGMENT_SIZE);
|
||||||
setPermanent(AudioSettings::SETTING_BUFFER_SIZE, AudioSettings::DEFAULT_BUFFER_SIZE);
|
setPermanent(AudioSettings::SETTING_SAMPLE_RATE, AudioSettings::DEFAULT_SAMPLE_RATE);
|
||||||
setPermanent(AudioSettings::SETTING_HEADROOM, AudioSettings::DEFAULT_HEADROOM);
|
|
||||||
setPermanent(AudioSettings::SETTING_RESAMPLING_QUALITY, static_cast<int>(AudioSettings::DEFAULT_RESAMPLING_QUALITY));
|
setPermanent(AudioSettings::SETTING_RESAMPLING_QUALITY, static_cast<int>(AudioSettings::DEFAULT_RESAMPLING_QUALITY));
|
||||||
|
setPermanent(AudioSettings::SETTING_HEADROOM, AudioSettings::DEFAULT_HEADROOM);
|
||||||
|
setPermanent(AudioSettings::SETTING_BUFFER_SIZE, AudioSettings::DEFAULT_BUFFER_SIZE);
|
||||||
|
setPermanent(AudioSettings::SETTING_STEREO, AudioSettings::DEFAULT_STEREO);
|
||||||
|
|
||||||
// Input event options
|
// Input event options
|
||||||
setPermanent("keymap", "");
|
setPermanent("keymap", "");
|
||||||
|
@ -367,18 +367,17 @@ void Settings::usage() const
|
||||||
<< " -uimessages <1|0> Show onscreen UI messages for different events\n"
|
<< " -uimessages <1|0> Show onscreen UI messages for different events\n"
|
||||||
<< endl
|
<< endl
|
||||||
#ifdef SOUND_SUPPORT
|
#ifdef SOUND_SUPPORT
|
||||||
<< " -audio.enabled <1|0> Enable audio\n"
|
<< " -audio.enabled <1|0> Enable audio\n"
|
||||||
<< " -audio.volume <number> Vokume (0-100)\n"
|
<< " -audio.volume <0-100> Volume\n"
|
||||||
<< " -audio.stereo <1|0> Enable stereo mode for all ROMs\n"
|
<< " -audio.preset <1-5> Audio preset (or 1 for custom)\n"
|
||||||
<< " -audio.preset <1-5> Audio preset (or 1 for custom)\n"
|
<< " -audio.sample_rate <number> Output sample rate (44100|48000|96000)\n"
|
||||||
<< " -audio.sample_rate <number> Output sample rate (44100|48000|96000)\n"
|
<< " -audio.fragment_size <number> Fragment size (128|256|512|1024|\n"
|
||||||
<< " -audio.fragment_size <number> Fragment size (128|256|512|1024|\n"
|
<< " 2048|4096)\n"
|
||||||
<< " 2048|4096)\n"
|
<< " -audio.resampling_quality <1-3> Resampling quality\n"
|
||||||
<< " -audio.buffer_size <number> Max. number of additional half-\n"
|
<< " -audio.headroom <0-20> Additional half-frames to prebuffer\n"
|
||||||
<< " frames to buffer(0-20)\n"
|
<< " -audio.buffer_size <0-20> Max. number of additional half-\n"
|
||||||
<< " -audio.headroom <number> Additional half-frames to prebuffer\n"
|
<< " frames to buffer\n"
|
||||||
<< " (0-20)\n"
|
<< " -audio.stereo <1|0> Enable stereo mode for all ROMs\n"
|
||||||
<< " -audio.resampling_quality <1-3> Resampling quality\n"
|
|
||||||
<< endl
|
<< endl
|
||||||
#endif
|
#endif
|
||||||
<< " -tia.zoom <zoom> Use the specified zoom level (windowed mode)\n"
|
<< " -tia.zoom <zoom> Use the specified zoom level (windowed mode)\n"
|
||||||
|
|
Loading…
Reference in New Issue