• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18
19    <string name="app_name">Loopback App</string>
20
21    <string name="buttonPlay_play">Refresh Screen</string>
22    <string name="buttonPlay_pause">Pause</string>
23    <string name="buttonTest_enabled">Round-Trip\nLatency Test</string>
24    <string name="buttonTest_disabled">FX Disabled Loopback 2</string>
25    <string name="buttonSave">Save Results</string>
26    <string name="buttonZoomOutFull">Unzoom</string>
27    <string name="buttonZoomOut">Zoom Out</string>
28    <string name="buttonZoomIn"> Zoom In</string>
29    <string name="buttonAbout">About</string>
30    <string name="buttonRecorderBufferPeriod">Recorder</string>
31    <string name="buttonPlayerBufferPeriod">Player</string>
32    <string name="ReadHistTitle">Frequency vs. Recorder Buffer Period (ms) Plot</string>
33    <string name="WriteHistTitle">Frequency vs. Player Buffer Period (ms) Plot</string>
34    <string name="buttonBufferTest">Buffer Period\n&amp; Glitch Test</string>
35    <string name="buttonCalibrateSoundLevel">Calibrate Sound Level Now</string>
36    <string name="buttonGlitches">Glitches</string>
37    <string name="numGlitches">Total Number of Glitches:</string>
38
39    <!-- disabled -->
40    <string name="buttonZoomInFull">In Full</string>
41
42    <string name="buttonSettings">Settings</string>
43
44
45    <string name="labelMicSource">Microphone Source</string>
46    <string-array name="mic_source_array">
47        <item>DEFAULT</item>
48        <item>MIC</item>
49        <item>CAMCORDER</item>
50        <item>VOICE_RECOGNITION</item>
51        <item>VOICE_COMMUNICATION</item>
52        <item>REMOTE_SUBMIX (Java only)</item>
53        <item>UNPROCESSED (N or later)</item>
54    </string-array>
55
56    <string name="labelPerformanceMode">Performance Mode</string>
57    <string-array name="performance_mode_array">
58        <item>DEFAULT</item>
59        <item>NONE</item>
60        <item>LATENCY</item>
61        <item>LATENCY_EFFECTS</item>
62        <item>POWER_SAVING</item>
63    </string-array>
64
65    <string name="labelInfo">Test settings will appear here after the first test is run</string>
66    <string name="labelSettings">SETTINGS</string>
67    <string name="labelAbout">About</string>
68    <string name="labelSamplingRate">Sampling Rate</string>
69    <string name="AboutInfo">Round-trip audio latency testing app\n
70        using the Dr. Rick O\'Rang audio loopback dongle.\n
71        Authors: Ricardo Garcia (rago), Tzu-Yin Tai, and Brandon Swanson\n
72        Open source project on:\n
73        https://github.com/gkasten/drrickorang\n
74        References:\n
75        https://source.android.com/devices/audio/latency.html\n
76        https://goo.gl/dxcw0d\n\n\n
77        adb parameters:  all parameters are optional. If not specified, defaults will be used.\n
78        -ei SF \t\t\t\t\t\t\t\t\t\t\t\t ####\t\t sampling frequency \n
79        -ei BS \t\t\t\t\t\t\t\t\t\t\t\t ####\t\t down sample block size \n
80        -es Filename \t\t\t\t\t\t\t ssss\t\t\t output filename \n
81        -ei MicSource \t\t\t\t\t\t\t ####\t\t microphone source\n
82        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 0: DEFAULT\n
83        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 1: MIC\n
84        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 2: CAMCORDER\n
85        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 3: VOICE_RECOGNITION\n
86        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 4: VOICE_COMMUNICATION\n
87        -ei AudioThread \t\t\t\t\t ####\t\t Audio Thread Type\n
88        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 0: Java\n
89        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 1: Native (SLES)\n
90        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 2: Native (AAudio)\n
91        -ei AudioLevel \t\t\t\t\t\t ####\t\t Audio Level [0:15]\n
92        -ei RecorderBuffer \t\t\t\t ####\t\t Recorder Buffer Frames\n
93        -ei PlayerBuffer \t\t\t\t\t\t ####\t\t Player Buffer Frames\n
94        -ei TestType \t\t\t\t\t\t\t\t ####\t\t Audio Test Type\n
95        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 222: Latency Test\n
96        \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 223: Buffer Test\n
97        -ei BufferTestDuration \t ####\t\t Buffer Test Duration \n
98        -ei NumLoadThreads \t ####\t\t Number of Simulated Load Threads (0 - 20) \n
99        -ei CI \t ####\t\t Channel Index for USB Audio (0 - 8) \n
100        -ez CaptureSysTrace \t ####\t\t enable/disable systrace and bugreport capturing \n
101        -ez CaptureWavs \t ####\t\t enable/disable .wav file snippets capturing \n
102        -ei NumCaptures \t ####\t\t Number of systrace/bugreport and/or wav snippets to capture \n
103        -ei WaveDuration \t ####\t\t Duration in seconds of captured wave files
104        \n\n\n
105
106        Example: adb shell am start -n org.drrickorang.loopback/.LoopbackActivity \n
107        --ei SF 48000 --es FileName output --ei MicSource 3 --ei AudioThread 1 --ei AudioLevel 12
108        --ei TestType 223 --ei BufferTestDuration 5 --ez CaptureWavs true --ei NumCaptures 5
109    </string>
110
111    <!-- spinnerSamplingRate Options -->
112    <string-array name="samplingRate_array">
113        <item>8000</item>
114        <item>11025</item>
115        <item>22050</item>
116        <item>44100</item>
117        <item>48000</item>
118    </string-array>
119
120    <string name="labelAudioThreadType">Audio Thread Type</string>
121
122    <!-- spinnerAudioThreadType Options -->
123    <string-array name="audioThreadType_array">
124        <item>Java</item>
125        <item>native (SLES)</item>
126        <item>native (AAudio)</item>
127    </string-array>
128
129    <string name="labelChannelIndex">Channel Index</string>
130
131    <!-- spinnerChannelIndex Options -->
132    <string-array name="channelIndex_array">
133        <item>Mono</item>
134        <item>0</item>
135        <item>1</item>
136        <item>2</item>
137        <item>3</item>
138        <item>4</item>
139        <item>5</item>
140        <item>6</item>
141        <item>7</item>
142    </string-array>
143
144    <string name="labelPlayerBuffer">Player Buffer (Frames) (Max: %1$d)</string>
145    <string name="labelRecorderBuffer">Recorder Buffer (Frames) (Max: %1$d)</string>
146    <string name="buttonDefaultSettings">Compute Default Settings</string>
147    <string name="buttonRecordDefault">System Default Recorder Buffer</string>
148    <string name="labelBufferTestDuration">Buffer Test Duration (Seconds) (Max: %1$d)</string>
149    <string name="labelBufferTestWavePlotDuration">Buffer Test Wave Plot Duration (Seconds)
150                                                   (Max: %1$d)</string>
151    <string name="loadThreadsLabel">Number of Simulated Load Threads</string>
152    <string name="enableSystrace">Systrace Captures During Test</string>
153    <string name="enableBugreport">BugReport Captures During Test</string>
154    <string name="enableWavSnippets">Wav Snippet Captures During Test</string>
155    <string name="enableSoundLevelCalibration">
156        Calibrate sound level before latency test (experimental)</string>
157    <string name="numCapturesSetting">Number of Systrace/BugReport and or Wav Snippets to Capture
158    </string>
159    <string name="labelIgnoreFirstFrames">
160        Frames to ignore at the start of the latency test (Max: %1$d)</string>
161
162    <string name="SaveFileDialogLabel">Save Files To:</string>
163    <string name="SaveFileDialogOK">//mnt/sdcard/</string>
164    <string name="SaveFileDialogChooseFilenames">Choose Filenames \n and Location</string>
165    <string name="heatTitle">Glitches and Callbacks over Time</string>
166    <string name="compareAll">Compare All</string>
167
168    <string name="systraceHelp">
169        To use this feature it is necessary to launch a shell script on the Android device using ADB
170        shell.  This script is responsible for launching an asynchronous Systrace and writing its
171        buffer to file when signaled by the Loopback App.
172        \n\n
173        At the completion of the audio glitch/buffer test the Loopback App will signal the script to
174        exit so the script must be started before each test.
175        \n\n
176        The Loopback App places this script on the Android device when launched at
177        \n
178        /sdcard/Loopback/loopback_listener
179        \n\n
180
181        Trace Categories: The loopback_listener script takes as arguments the categories to be
182        tracked in the Systrace. By default the sched and audio categories are included.  For a list
183        of available categories see\n
184        developer.android.com/tools/help/systrace.html
185        \n\n
186
187        Example invocation:\n
188        adb shell \"sh /sdcard/Loopback/loopback_listener load am\"
189    </string>
190
191    <string name="calibrateSoundLevelHelp">
192        This feature is highly experimental. It will try various volume levels until it picks one
193        that it thinks is optimal. It has only been tested with the loopback plug and may fail
194        completely in open air.
195    </string>
196
197    <string name="notificationText">Please disregard me.</string>
198</resources>
199