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& 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 -es Filename \t\t\t\t\t\t\t ssss\t\t\t output filename \n 80 -ei MicSource \t\t\t\t\t\t\t ####\t\t microphone source\n 81 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 0: DEFAULT\n 82 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 1: MIC\n 83 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 2: CAMCORDER\n 84 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 3: VOICE_RECOGNITION\n 85 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 4: VOICE_COMMUNICATION\n 86 -ei AudioThread \t\t\t\t\t ####\t\t Audio Thread Type\n 87 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 0: Java\n 88 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 1: Native (JNI)\n 89 -ei AudioLevel \t\t\t\t\t\t ####\t\t Audio Level [0:15]\n 90 -ei RecorderBuffer \t\t\t\t ####\t\t Recorder Buffer Frames\n 91 -ei PlayerBuffer \t\t\t\t\t\t ####\t\t Player Buffer Frames\n 92 -ei TestType \t\t\t\t\t\t\t\t ####\t\t Audio Test Type\n 93 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 222: Latency Test\n 94 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 223: Buffer Test\n 95 -ei BufferTestDuration \t ####\t\t Buffer Test Duration \n 96 -ei NumLoadThreads \t ####\t\t Number of Simulated Load Threads (0 - 20) \n 97 -ei CI \t ####\t\t Channel Index for USB Audio (0 - 8) \n 98 -ez CaptureSysTrace \t ####\t\t enable/disable systrace and bugreport capturing \n 99 -ez CaptureWavs \t ####\t\t enable/disable .wav file snippets capturing \n 100 -ei NumCaptures \t ####\t\t Number of systrace/bugreport and/or wav snippets to capture \n 101 -ei WaveDuration \t ####\t\t Duration in seconds of captured wave files 102 \n\n\n 103 104 Example: adb shell am start -n org.drrickorang.loopback/.LoopbackActivity \n 105 --ei SF 48000 --es FileName output --ei MicSource 3 --ei AudioThread 1 --ei AudioLevel 12 106 --ei TestType 223 --ei BufferTestDuration 5 --ez CaptureWavs true --ei NumCaptures 5 107 </string> 108 109 <!-- spinnerSamplingRate Options --> 110 <string-array name="samplingRate_array"> 111 <item>8000</item> 112 <item>11025</item> 113 <item>22050</item> 114 <item>44100</item> 115 <item>48000</item> 116 </string-array> 117 118 <string name="labelAudioThreadType">Audio Thread Type</string> 119 120 <!-- spinnerAudioThreadType Options --> 121 <string-array name="audioThreadType_array"> 122 <item>Java</item> 123 <item>native (JNI)</item> 124 </string-array> 125 126 <string name="labelChannelIndex">Channel Index</string> 127 128 <!-- spinnerChannelIndex Options --> 129 <string-array name="channelIndex_array"> 130 <item>Mono</item> 131 <item>0</item> 132 <item>1</item> 133 <item>2</item> 134 <item>3</item> 135 <item>4</item> 136 <item>5</item> 137 <item>6</item> 138 <item>7</item> 139 </string-array> 140 141 <string name="labelPlayerBuffer">Player Buffer (Frames) (Max: %1$d)</string> 142 <string name="labelRecorderBuffer">Recorder Buffer (Frames) (Max: %1$d)</string> 143 <string name="buttonDefaultSettings">Compute Default Settings</string> 144 <string name="buttonRecordDefault">System Default Recorder Buffer</string> 145 <string name="labelBufferTestDuration">Buffer Test Duration (Seconds) (Max: %1$d)</string> 146 <string name="labelBufferTestWavePlotDuration">Buffer Test Wave Plot Duration (Seconds) 147 (Max: %1$d)</string> 148 <string name="loadThreadsLabel">Number of Simulated Load Threads</string> 149 <string name="enableSystrace">Systrace Captures During Test</string> 150 <string name="enableBugreport">BugReport Captures During Test</string> 151 <string name="enableWavSnippets">Wav Snippet Captures During Test</string> 152 <string name="enableSoundLevelCalibration"> 153 Calibrate sound level before latency test (experimental)</string> 154 <string name="numCapturesSetting">Number of Systrace/BugReport and or Wav Snippets to Capture 155 </string> 156 <string name="labelIgnoreFirstFrames"> 157 Frames to ignore at the start of the latency test (Max: %1$d)</string> 158 159 <string name="SaveFileDialogLabel">Save Files To:</string> 160 <string name="SaveFileDialogOK">//mnt/sdcard/</string> 161 <string name="SaveFileDialogChooseFilenames">Choose Filenames \n and Location</string> 162 <string name="heatTitle">Glitches and Callbacks over Time</string> 163 <string name="compareAll">Compare All</string> 164 165 <string name="systraceHelp"> 166 To use this feature it is necessary to launch a shell script on the Android device using ADB 167 shell. This script is responsible for launching an asynchronous Systrace and writing its 168 buffer to file when signaled by the Loopback App. 169 \n\n 170 At the completion of the audio glitch/buffer test the Loopback App will signal the script to 171 exit so the script must be started before each test. 172 \n\n 173 The Loopback App places this script on the Android device when launched at 174 \n 175 /sdcard/Loopback/loopback_listener 176 \n\n 177 178 Trace Categories: The loopback_listener script takes as arguments the categories to be 179 tracked in the Systrace. By default the sched and audio categories are included. For a list 180 of available categories see\n 181 developer.android.com/tools/help/systrace.html 182 \n\n 183 184 Example invocation:\n 185 adb shell \"sh /sdcard/Loopback/loopback_listener load am\" 186 </string> 187 188 <string name="calibrateSoundLevelHelp"> 189 This feature is highly experimental. It will try various volume levels until it picks one 190 that it thinks is optimal. It has only been tested with the loopback plug and may fail 191 completely in open air. 192 </string> 193 </resources> 194