google / google/oboe

no way to select device option in test input or test output usage using AutomatedTest

Open
#2,138 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
4.1k
Forks
639
Avg merge
2d 23h
Merged PRs (30d)
8

Description

Android version(s): 15/16
Android device(s):
Oboe version: 1.6.0
App name used for testing:
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)

**Short description**
I wanted to use the automated method described here: https://github.com/google/oboe/blob/main/apps/OboeTester/docs/AutomatedTesting.md
I am not able to select few config options mainly device from the command line params as explained above
is it not supported??
**Steps to reproduce**
give the below command is adb
**adb shell am start -n com.mobileer.oboetester/.MainActivity \
--es test input \
--ei sample_rate 16000 \
**--ei device 54**\
--ei in_channels 2 \**
**Expected behavior**
Obostester app will launch with the above parameters for test input
**Actual behavior**
Its launching with default device id
**Device**

Please list which devices have this bug.
If device specific, and you are on Linux or a Macintosh, connect the device and please share the result for the following script. This gets properties of the device.

```
for p in \
ro.product.brand ro.product.manufacturer ro.product.model \
ro.product.device ro.product.cpu.abi ro.build.description \
ro.hardware ro.hardware.chipname ro.arch "| grep aaudio";
do echo "$p = $(adb shell getprop $p)"; done
```

**Any additional context**

If applicable, please attach a few seconds of an uncompressed recording of the sound in a WAV or AIFF file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.