Hello,
I compiled Android Automotive OS 10_2.4.0 for iMX8QM EVK.
I connected my bluetooth speaker to the system.
But I can't get an audio output from my Bluetooth speaker.
What kind of updates do I need to make in the source package for this.
Could you help me with this issue?
Best regards,
Efecan
Hi @cbl,
Hello @Dhruvit,
Thank you very much. I'm fine. I hope you are well.
I can only receive Alarm and Notification sounds through the jack with wired headphones.
Actually, that's exactly what I want to do. So I want to route all audio to audio jack.
For this, I looked at the section 8.2.1 Routing audio stream to different sound cards in the Android User Guide, but I was not successful.
I'm listing the steps I followed below.
1) I made changes to the AudioControl.cpp file as it says in the docs. The change I made is as follows.
static int sContextToBusMap[] = {
-1, // INVALID
0, // MUSIC_CONTEXT
1, // NAVIGATION_CONTEXT
1, // VOICE_COMMAND_CONTEXT
1, // CALL_RING_CONTEXT
1, // CALL_CONTEXT
1, // ALARM_CONTEXT
1, // NOTIFICATION_CONTEXT
1, // SYSTEM_SOUND_CONTEXT
};I made this change and compiled Android. I flashed the image to my EVK board, but after booting, Android closed by saying "Shutting Down".
Can you tell me where I am wrong?
Which files should I change for the audio routing process?
Do you have a chance to guide me through the steps to be implemented?
Best regards,
Efecan Cebel
Hi @cbl,
I hope you are doing well
Thanks & Regards,
Dhruvit Vasavada
Hi @Dhruvit,
Where should I change in tinyalsa_hal.cpp to route all audio outputs to wm8960? can you help with this?
Best regards,
Efecan
Hi @cbl,
Hello @Dhruvit,
Thank you very much for your return.
But I don't know how to route all sound to wm8960 sound card in select_input_device() and select_mode() functions.
Can you support me on this?
Best regards,
Efecan
Hi @cbl,
Hi @cbl,