Testing Audio in Android Kitkat

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

Testing Audio in Android Kitkat

1,881 Views
ashokp
Contributor I

Hi All,

How to test audio in kitkat IMX6? Is there any tools available in IMX6 Android kitkat SDK.

Thanks,

P.Ashok

Labels (2)
0 Kudos
9 Replies

942 Views
saurabh206
Senior Contributor III

Hi,

It should have default music player.

You can play music file from it.

Or from Gallery you can select any video file and check the audio.

Thanks

Saurabh

0 Kudos

942 Views
ashokp
Contributor I

Hi ,

Please let me know what is the name of the default music player. Please tell me if you know any commands to play audio files

Thanks,

P.Ashok

0 Kudos

942 Views
saurabh206
Senior Contributor III

If your build doesn't have any music player than you can install music player apk.

If you don't want to install than your build should have cactus player or Gallery application.

With this you can check sound.

0 Kudos

940 Views
ashokp
Contributor I

Hi saurabh206,

Thanks for your details. In our board we have two sound cards one is based HDMI and another one is tlv320aic23 codec. ALSA detect both sound cards and both are working in linux(Android kernel and Linux rootfs). In android we are getting the sound only from HDMI. Sound is not coming from TLV320 codec sound jack. Also audio is not working without HDMI interface.

Below is the ALSA log from kernel boot log

ALSA device list:

  #0: sgtl5000-audio

  #1: imx-hdmi-soc

Is it possible to select the sound cards. Or it is possible to force the system to use specific sound card.

I attached logs with and with out HDMI device

Thanks,

P.Ashok.

0 Kudos

940 Views
saurabh206
Senior Contributor III

From the information you provided you need to modified the android ALSA framework.

Can you provide the logcat detail when HDMI is not there?

Saurabh

0 Kudos

940 Views
ashokp
Contributor I

Hi Saurabh,

I attached the logcat log. Also i observed the alsa utils is not available in external/alsa-utils in the android build.  Please let me know how to add the support.


Thanks,

P.Ashok


0 Kudos

940 Views
saurabh206
Senior Contributor III

You can copy alsa-utils from older version of Android and build it.

Your card tlv320aic23 is not registered.

Your system uses tlv320aic23 or sgtl5000-audio?

Saurabh

0 Kudos

940 Views
ashokp
Contributor I

Hi Saurabh,


I will try to build alsa-utils. If you have it can you send me as attachment.


Thanks,

P.Ashok

0 Kudos

940 Views
saurabh206
Senior Contributor III

Hi,

You can find the source code in Android ICS 4.0.0 branch.

Thanks

Saurabh

0 Kudos