kopia lustrzana https://github.com/sh123/codec2_talkie
Refactoring
rodzic
d2f285bca4
commit
6eb23a045b
|
@ -20,7 +20,7 @@ public class Loopback implements Transport {
|
|||
|
||||
@Override
|
||||
public String name() {
|
||||
return "ECHO TEST";
|
||||
return "Loopback";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -332,4 +332,22 @@
|
|||
<item>300</item>
|
||||
<item>1200</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="ports_type_labels">
|
||||
<item>Loopback/Echo</item>
|
||||
<item>Bluetooth</item>
|
||||
<item>Bluetooth LE (BLE)</item>
|
||||
<item>TCP/IP</item>
|
||||
<item>USB serial</item>
|
||||
<item>Sound modem</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="ports_type_values">
|
||||
<item>loopback</item>
|
||||
<item>bluetooth</item>
|
||||
<item>ble</item>
|
||||
<item>tcpip</item>
|
||||
<item>usb</item>
|
||||
<item>sound</item>
|
||||
</string-array>
|
||||
</resources>
|
|
@ -14,12 +14,12 @@
|
|||
|
||||
<string name="codec2_category_title">Codec2 Settings</string>
|
||||
<string name="codec2_mode_title">Mode/Speed</string>
|
||||
<string name="codec2_test_mode_title">Echo test mode</string>
|
||||
<string name="codec2_test_mode_title">Loopback test mode</string>
|
||||
<string name="codec2_test_mode_summary">Records and plays recording without transmission</string>
|
||||
<string name="codec2_recorder_title">Enable recorder</string>
|
||||
<string name="codec2_recorder_summary">Record incoming and outgoing transmissions for future playback</string>
|
||||
|
||||
<string name="main_status_loopback_test">ECHO TEST</string>
|
||||
<string name="main_status_loopback_test">Loopback</string>
|
||||
<string name="main_status_stop">STOPPED</string>
|
||||
<string name="main_status_tx">TRANSMITTING</string>
|
||||
<string name="main_status_rx">RECEIVING</string>
|
||||
|
@ -299,4 +299,5 @@
|
|||
<string name="ports_sound_modem_type_title">Modem modulation type</string>
|
||||
<string name="ports_sound_modem_control_title">Sound modem settings</string>
|
||||
<string name="ports_sound_modem_control_settings">Set sound modem settings, such as bit rate</string>
|
||||
<string name="ports_type_title">TNC transport type</string>
|
||||
</resources>
|
|
@ -83,13 +83,6 @@
|
|||
app:defaultValue="48">
|
||||
</EditTextPreference>
|
||||
|
||||
<SwitchPreference
|
||||
app:key="codec2_test_mode"
|
||||
app:title="@string/codec2_test_mode_title"
|
||||
app:summary="@string/codec2_test_mode_summary"
|
||||
app:defaultValue="false">
|
||||
</SwitchPreference>
|
||||
|
||||
<SwitchPreference
|
||||
app:key="codec2_recording_enabled"
|
||||
app:title="@string/codec2_recorder_title"
|
||||
|
@ -102,6 +95,22 @@
|
|||
app:key="ports_category"
|
||||
app:title="@string/ports_category_title">
|
||||
|
||||
<ListPreference
|
||||
app:key="ports_type"
|
||||
app:title="@string/ports_type_title"
|
||||
app:entries="@array/ports_type_labels"
|
||||
app:entryValues="@array/ports_type_values"
|
||||
app:summary="%s"
|
||||
app:defaultValue="loopback">
|
||||
</ListPreference>
|
||||
|
||||
<SwitchPreference
|
||||
app:key="codec2_test_mode"
|
||||
app:title="@string/codec2_test_mode_title"
|
||||
app:summary="@string/codec2_test_mode_summary"
|
||||
app:defaultValue="false">
|
||||
</SwitchPreference>
|
||||
|
||||
<Preference
|
||||
app:key="ports_bt_client_name"
|
||||
app:title="@string/usb_bt_client_name_title"
|
||||
|
|
Ładowanie…
Reference in New Issue