HostInterface: Add separate volume control for fast forwarding

This commit is contained in:
Connor McLaughlin
2020-12-09 00:48:00 +10:00
parent 6d45d4d579
commit 678146b907
13 changed files with 171 additions and 76 deletions

View File

@ -47,6 +47,8 @@
<string name="settings_summary_log_to_logcat">Writes log messages to the Android message logger. Only useful when attached to a computer with adb.</string>
<string name="settings_volume">Volume</string>
<string name="settings_summary_volume">Controls the volume of the emulator\'s sound output.</string>
<string name="settings_fast_forward_volume">Volume</string>
<string name="settings_summary_fast_forward_volume">Controls the volume of the emulator\'s sound output when fast forwarding.</string>
<string name="settings_mute_all_sound">Mute All Sound</string>
<string name="settings_summary_mute_all_sound">Prevents the emulator from emitting any sound.</string>
<string name="settings_mute_cd_audio">Mute CD Audio</string>

View File

@ -26,6 +26,15 @@
app:min="0"
app:iconSpaceReserved="false"
app:showSeekBarValue="true" />
<SeekBarPreference
app:key="Audio/OutputVolume"
app:title="@string/settings_fast_forward_volume"
app:summary="@string/settings_summary_fast_forward_volume"
app:defaultValue="100"
android:max="100"
app:min="0"
app:iconSpaceReserved="false"
app:showSeekBarValue="true" />
<SwitchPreferenceCompat
app:key="Audio/OutputMuted"
app:title="@string/settings_mute_all_sound"