google / google/oboe

Audio not rerouted to Android Auto

Open
#2,336 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): Android 16
Android device(s): S25+
Oboe version: 1.10.0
App name used for testing: hello-oboe

**Short description**
Audio not rerouted to Android Auto after connecting.

**Steps to reproduce**
1. Connect the smartphone to the PC
2. Install hello-oboe
3. Start Android Auto Dev Server
4. Forward tcp:5277 with adb
5. Start hello oboe and play sound (e.g. hold finger)
6. Start DesktopHeadUnit (using `ANDROID_SDK/extras/google/auto/desktop-head-unit`)

**Expected behavior**
Audio is correctly rerouted to the Android Auto Head Unit.

**Actual behavior**
Audio is still being played through the phone speakers.

**Device**
Samsung Galaxy S25+

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.