iMX8QM Android Automotive OS 10 Audio Routing Issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8QM Android Automotive OS 10 Audio Routing Issue

1,203件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,169件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @cbl 

Can you share your steps?

 

BR

Zhiming

0 件の賞賛
返信

1,157件の閲覧回数
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 件の賞賛
返信