Android: Replace inline strings with string resource references
This commit is contained in:
@ -19,8 +19,8 @@
|
||||
|
||||
<SeekBarPreference
|
||||
app:key="Audio/OutputVolume"
|
||||
app:title="Volume"
|
||||
app:summary="Controls the volume of the emulator's sound output."
|
||||
app:title="@string/settings_volume"
|
||||
app:summary="@string/settings_summary_volume"
|
||||
app:defaultValue="100"
|
||||
android:max="100"
|
||||
app:min="0"
|
||||
@ -28,19 +28,19 @@
|
||||
app:showSeekBarValue="true" />
|
||||
<SwitchPreferenceCompat
|
||||
app:key="Audio/OutputMuted"
|
||||
app:title="Mute All Sound"
|
||||
app:title="@string/settings_mute_all_sound"
|
||||
app:defaultValue="false"
|
||||
app:summary="Prevents the emulator from emitting any sound."
|
||||
app:summary="@string/settings_summary_mute_all_sound"
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
app:key="CDROM/MuteCDAudio"
|
||||
app:title="Mute CD Audio"
|
||||
app:title="@string/settings_mute_cd_audio"
|
||||
app:defaultValue="false"
|
||||
app:summary="Forcibly mutes both CD-DA and XA audio from the CD-ROM. Can be used to disable background music in some games."
|
||||
app:summary="@string/settings_summary_mute_cd_audio"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
app:key="Audio/Backend"
|
||||
app:title="Audio Backend"
|
||||
app:title="@string/settings_audio_backend"
|
||||
app:entries="@array/settings_audio_backend_entries"
|
||||
app:entryValues="@array/settings_audio_backend_values"
|
||||
app:defaultValue="OpenSLES"
|
||||
@ -48,18 +48,18 @@
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
app:key="Audio/BufferSize"
|
||||
app:title="Audio Buffer Size"
|
||||
app:title="@string/settings_audio_buffer_size"
|
||||
app:entries="@array/settings_audio_buffer_size_entries"
|
||||
app:entryValues="@array/settings_audio_buffer_size_values"
|
||||
app:defaultValue="2048"
|
||||
app:summary="Determines the latency between audio being generated and output to speakers. Smaller values reduce latency, but variations in emulation speed will cause hitches."
|
||||
app:summary="@string/settings_summary_audio_buffer_size"
|
||||
app:useSimpleSummaryProvider="true"
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
app:key="Audio/Sync"
|
||||
app:title="Audio Sync"
|
||||
app:title="@string/settings_audio_sync"
|
||||
app:defaultValue="true"
|
||||
app:summary="Throttles the emulation speed based on the audio backend pulling audio frames. This helps to remove noises or crackling if emulation is too fast. Sync will automatically be disabled if not running at 100% speed."
|
||||
app:summary="@string/settings_summary_audio_sync"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user