AnsweredAssumed Answered

How to enable sgtl5000 in android kitkat with imx6q?

Question asked by Xiyuan Zhou on Nov 3, 2015
Latest reply on Nov 4, 2015 by Xiyuan Zhou

Hi, I am porting sgtl5000 drivers to android 4.4.2, and there is still no sound, and when selecting from Setting->Sound->notification sound menu, some error shows in logcat,

 

log as below:

---------

11-24 18:06:23.850: W/AudioPolicyManagerBase(2319): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0

11-24 18:06:23.850: W/AudioPolicyManagerBase(2319): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0

11-24 18:06:23.850: W/AudioPolicyManagerBase(2319): getOutput() could not find output for stream 1, samplingRate 48000,format 1, channels 3, flags 4

11-24 18:06:23.850: E/AudioTrack(2700): Could not get audio output for stream type 1

11-24 18:06:23.850: E/SoundPool(2700): Error creating AudioTrack

11-24 18:06:23.900: D/Ringtone(2957): Successfully created local player

11-24 18:06:23.900: E/AudioPolicyManagerBase(2319): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION

11-24 18:06:23.900: W/AudioPolicyManagerBase(2319): getOutput() could not find output for stream 5, samplingRate 0,format 0, channels 3, flags 0

11-24 18:06:23.900: E/MediaPlayer(2957): error (-19, 0)

11-24 18:06:23.900: E/MediaPlayer(2957): Should have subtitle controller already set

11-24 18:06:23.900: E/MediaPlayer(2957): Error (-19,0)

 

 

Some days ago,  I made similar porting steps in android4.3, it works well, but it is not applicable to android4.4.

 

Where is the problem?  Any suggestion is appreciated.

Thanks.

Outcomes