iMX8QM Android Automotive OS 10 Audio Routing Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8QM Android Automotive OS 10 Audio Routing Issue

1,196 Views
cbl
Contributor V

Hello,

I am developing with Android Automotive OS 10 on the iMX8QM EVK board.

I want to listen to other sounds such as music through the jack on the board.

I tried to follow the steps under the 8.2.1 Routing audio stream to different sound cards title in the Android User Guide, but I was unsuccessful.

Could you help me get Music and other audio to the CPU jack?

Best regards,

0 Kudos
Reply
2 Replies

1,162 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @cbl 

Can you share your steps?

 

BR

Zhiming

0 Kudos
Reply

1,150 Views
cbl
Contributor V

Hello @Zhiming_Liu,

First, I made the necessary changes in the AudioControl.cpp source file as shown in the Android User Guide.

static int sContextToBusMap[] = {
-1, // INVALID
0, // MUSIC_CONTEXT
0, // NAVIGATION_CONTEXT
1, // VOICE_COMMAND_CONTEXT
1, // CALL_RING_CONTEXT
1, // CALL_CONTEXT
1, // ALARM_CONTEXT
1, // NOTIFICATION_CONTEXT
1, // SYSTEM_SOUND_CONTEXT
};

Afterwards, I couldn't understand how to make a change in the audio_policy_configuration_car.xml file, which is the 2nd step in the document.

In step 3, the config_cs42888.h and wm8960.h header files mentioned in the document are not included in the Android Automotive OS 10 source package.

After these steps, I built the image, but after booting, the system shuts down by saying "Shutting Down" and it does not boot again.

Can you help me with this? I want to route all the sounds in the system to the wm8960 sound card.

Best regards,
Efecan

0 Kudos
Reply