diff options
author | Phil Burk <philburk@mobileer.com> | 2020-11-19 17:28:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 17:28:55 -0800 |
commit | 3e93fa0cdc1686748bba3694e95cfa3cd20a17f0 (patch) | |
tree | 59350c273a7c740a9a6bdc5f5a4790bee34848a1 | |
parent | 52e2163781c8f485f5e67b081c94043a6e8dff15 (diff) | |
download | oboe-3e93fa0cdc1686748bba3694e95cfa3cd20a17f0.tar.gz |
Update AutomatedTesting.md
Doc newly shared parameters from #1089
-rw-r--r-- | apps/OboeTester/docs/AutomatedTesting.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/OboeTester/docs/AutomatedTesting.md b/apps/OboeTester/docs/AutomatedTesting.md index 85c8635f..77a50961 100644 --- a/apps/OboeTester/docs/AutomatedTesting.md +++ b/apps/OboeTester/docs/AutomatedTesting.md @@ -54,28 +54,29 @@ There are several optional parameter in common for all tests: --ei buffer_bursts {bursts} // number of bursts in the buffer, 2 for "double buffered" --es in_api {"unspecified", "opensles", "aaudio"} // native input API, default is "unspecified" --es out_api {"unspecified", "opensles", "aaudio"} // native output API, default is "unspecified" + --ei in_channels {samples} // number of input channels, default is 2 + --ei out_channels {samples} // number of output channels, default is 2 + --ei sample_rate {hertz} + --es in_perf {"none", "lowlat", "powersave"} // input performance mode, default is "lowlat" + --es out_perf {"none", "lowlat", "powersave"} // output performance mode, default is "lowlat" + --es in_sharing {"shared", "exclusive"} // input sharing mode, default is "exclusive" + --es out_sharing {"shared", "exclusive"} // output sharing mode, default is "exclusive" There are several optional parameters for just the "glitch" test: - --ei sample_rate {hertz} --ef tolerance {tolerance} // amount of deviation from expected that is considered a glitch // Range of tolerance is 0.0 to 1.0. Default is 0.1. Note use of "-ef". --ei duration {seconds} // glitch test duration, default is 10 seconds - --ei in_channels {samples} // number of input channels, default is 2 - --ei out_channels {samples} // number of output channels, default is 2 - --es in_perf {"none", "lowlat", "powersave"} // input performance mode, default is "lowlat" - --es out_perf {"none", "lowlat", "powersave"} // output performance mode, default is "lowlat" // input preset, default is "voicerec" --es in_preset ("generic", "camcorder", "voicerec", "voicecomm", "unprocessed", "performance"} - --es in_sharing {"shared", "exclusive"} // input sharing mode, default is "exclusive" - --es out_sharing {"shared", "exclusive"} // output sharing mode, default is "exclusive" -For example, a complete command might be: +For example, a complete command for a "latency" test might be: adb shell am start -n com.google.sample.oboe.manualtest/.MainActivity \ --es test latency \ --es file /sdcard/latency20190903.txt \ - --ei buffer_bursts 2 + --ei buffer_bursts 2 \ + --ei out_channels 1 or for a "glitch" test: @@ -90,7 +91,6 @@ or for a "glitch" test: --ei sample_rate 48000 \ --ef tolerance 0.123 \ --ei in_channels 2 \ - --ei out_channels 2 ## Interpreting Test Results |