Skip to content

No audio over Android Auto #11

@ndkean

Description

@ndkean

No audio is played when connecting to Android Auto. Audio works fine with other players, such as SB Player, and also works if not connected to Android Auto. I've tested this on the latest commit (eb819fd) on my physical device with Android API 35, using the Android Auto in an actual car, and using the Desktop Head Unit; both have the same behavior.

Interestingly, audio works if both SB Player and Squeezelite are connected at the same time, and you start playback on SB Player first. Squeezelite and SB Player will show this log on the DHU when playback is started afterward:

[W]: Audio start: Audio stream already playing.

and when playback is stopped:

[I]: Audio stream close, buffered = 4096

but this does not happen once SB Player is disconnected, and playback is started with Squeezelite.

Same behavior happens using both AAudio and OpenSL ES, and no relevant errors or warnings are logged during this time from what I can see.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions