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.
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:
and when playback is stopped:
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.