USB audio For Android Platform

2

I am using Android 4.2.2 on Qualcomm APQ8064 Chip set. I want to enable audio output to the USB headset. I tried using aplay command but no luck. The driver for usb-audio is already there in the code. Everything is integrated but i don't get any output on the usb-headset. Any flags that need to be set?? Any lead will be of great help.

@Micheal:Following are the logs for the same, I just noticed that below logs from AudioUsbALSA can also be seen when the USB headset is not connected.

3502:I/InputReader(  676): Device added: id=8, name='Logitech Inc. Logitech USB Headset H340', sources=0x00000501
3504:D/StatusBar.NetworkController(  769): refreshViews: Data not connected!! Set no data type icon / Roaming
3505:D/StatusBar.NetworkController(  769): refreshViews connected={ } level=?? combinedSignalIconId=0x7f02013d/com.android.systemui:drawable/stat_sys_signal_null combinedActivityIconId=0x0 mobileLabel=No Internet connection wifiLabel= emergencyOnly=false combinedLabel=No Internet connection mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f02013d mQSPhoneSignalIconId=0x7f020073 mDataDirectionIconId=0x0 mDataSignalIconId=0x7f02013d mDataTypeIconId=0x0 mQSDataTypeIconId=0x0 mNoSimIconId=0x0 mWifiIconId=0x0 mQSWifiIconId=0x0 mBluetoothTetherIconId=0x1080563
3600:V/PhoneStatusBar(  769): setLightsOn(true)
3627:V/AudioHardwareALSA(  272): closeUsbPlaybackIfNothingActive, musbPlaybackState: 0
3628:D/AudioUsbALSA(  272): exitPlaybackThread, mproxypfdPlayback: -1
3629:D/AudioUsbALSA(  272): closeDevice handle 0x0
3630:D/AudioUsbALSA(  272): closeDevice handle 0x0
3710:V/PhoneStatusBar(  769): setLightsOn(true)
3730:V/AudioHardwareALSA(  272): closeUsbPlaybackIfNothingActive, musbPlaybackState: 0
3731:D/AudioUsbALSA(  272): exitPlaybackThread, mproxypfdPlayback: -1
3732:D/AudioUsbALSA(  272): closeDevice handle 0x0
3733:D/AudioUsbALSA(  272): closeDevice handle 0x0
android
audio
usb
alsa
asked on Stack Overflow Mar 24, 2014 by Nirmal • edited Apr 4, 2014 by Nirmal

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0