Audio Out Headphone/Lineout For Android 4.3

Discuss Android on the Wandboard, as well as app development for or on the Wandboard.

Audio Out Headphone/Lineout For Android 4.3

Postby marshg1 » Thu Apr 10, 2014 2:09 pm

I understand that by default the audio gets routed out the HDMI port and have read that using the App "Soundabout" some have used the app to route audio out the headphone jack. Even with Soundabout installed I have not been able to route audio out the headphone jack. Can you walk me through the steps to do this?

Also, what are the steps to do this as a part of the Android Build process? I think the only thing that you need to do is edit device/fsl/wandboard/audio_policy.conf and in the global_configuration section change it to the following audio to go out the headphones:
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_WIRED_HEADSET
default_output_device AUDIO_DEVICE_OUT_WIRED_HEADPHONE
}

To get audio to go out the lineout of the codec would it be?
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_WIRED_HEADSET
default_output_device AUDIO_DEVICE_OUT_WIRED_HEADSET
}

Thanks for your help!
marshg1
 
Posts: 4
Joined: Wed Jan 15, 2014 6:45 pm

Re: Audio Out Headphone/Lineout For Android 4.3

Postby nokiac » Mon Apr 14, 2014 4:43 am

Hi, I need this functionality desperately. I use my wandboard as Android media center, and now I have to turn on the TV to route the audio to my speakers, when I am just listening to Music. Please help anyone.
nokiac
 
Posts: 11
Joined: Mon Mar 17, 2014 3:18 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby nokiac » Sat Jun 07, 2014 11:42 pm

Bump ?
nokiac
 
Posts: 11
Joined: Mon Mar 17, 2014 3:18 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby nokiac » Sun Jul 20, 2014 6:32 am

Hi All,

I finally have success in getting analog audio out with the latest Jellybean image posted (android-4.3-wandboard-20140516.zip) .

I changed the audio policy.conf top section where attached devices and default devices are both now AUDIO_DEVICE_OUT_WIRED_HEADSET .

Also, changing the default input device, I was able to get the sound recorder app to work with a mic connected to the mic-in port.

The config looks as follows :

Code: Select all
global_configuration {
  attached_output_devices AUDIO_DEVICE_OUT_WIRED_HEADSET
  default_output_device AUDIO_DEVICE_OUT_WIRED_HEADSET
  attached_input_devices AUDIO_DEVICE_IN_WIRED_HEADSET
}
nokiac
 
Posts: 11
Joined: Mon Mar 17, 2014 3:18 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby jcsistemas2001 » Sat Aug 16, 2014 4:48 am

Hi,
I try this configuration in a Android 4.3, however still without output audio. Any additional suggestion?
Thanks
jcsistemas2001
 
Posts: 25
Joined: Thu Oct 17, 2013 5:53 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby nokiac » Sat Aug 16, 2014 6:36 am

HI, you need the latest Android image android-4.3-wandboard-20140516.zip , I believe there are kernel updates in that one.
nokiac
 
Posts: 11
Joined: Mon Mar 17, 2014 3:18 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby jcsistemas2001 » Sat Aug 16, 2014 10:46 am

The problem was module the: CONFIG_SND_SOC_IMX_SGTL5000=y !! Was not included.
It's rare, I don't need to modified the audio_policy.conf to get the sound.
Thanks!
jcsistemas2001
 
Posts: 25
Joined: Thu Oct 17, 2013 5:53 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby michrech » Sun Aug 17, 2014 5:16 pm

Which file did you modify to add this setting?

The problem was module the: CONFIG_SND_SOC_IMX_SGTL5000=y !! Was not included.
It's rare, I don't need to modified the audio_policy.conf to get the sound.
Thanks!
michrech
 
Posts: 13
Joined: Tue Jan 21, 2014 3:41 pm

Re: Audio Out Headphone/Lineout For Android 4.3

Postby jcsistemas2001 » Mon Aug 18, 2014 2:37 am

The file: "kernel_imx/arch/arm/configs/wandboard_android_defconfig"
jcsistemas2001
 
Posts: 25
Joined: Thu Oct 17, 2013 5:53 am

Re: Audio Out Headphone/Lineout For Android 4.3

Postby ericfigg » Mon Oct 09, 2017 6:03 pm

Hello guys,
What are the best headphones with microphones that are Android compatible?
Thanks in advance

Buy Smartphone online
ericfigg
 
Posts: 1
Joined: Mon Oct 09, 2017 5:59 pm


Return to Software - Android

Who is online

Users browsing this forum: No registered users and 2 guests