Firefly开源社区

标题: 3288无法播放歌曲 [打印本页]

作者: celticszhao    时间: 2017-4-10 10:50
标题: 3288无法播放歌曲
各位大神,小弟用3288芯片连接的alc3261的ic,驱动加载好以后i2c是通的,可以设置芯片,但是连接喇叭以后播放没有声音,log提示如下:
I/OpenGLRenderer(  575): Initialized EGL, version 1.4
D/OpenGLRenderer(  575): Enabling debug mode 0
W/gralloc (  152):  Debugmem The fd=52, in vmalloc !!!! Ishwc=0
W/gralloc (  152):  Debugmem The fd=65, in vmalloc !!!! Ishwc=0
W/gralloc (  152):  Debugmem The fd=73, in vmalloc !!!! Ishwc=0
D/ViewRootImpl(  575): 777<<<<<< BACK FROM relayoutnull
W/gralloc (  152):  Debugmem The fd=36, in vmalloc !!!! Ishwc=0
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
W/gralloc (  152):  Debugmem The fd=32, in vmalloc !!!! Ishwc=0
I/ActivityManagerService(  450): Displayed com.android.providers.media/.RingtonePickerActivity: +359ms
D/ViewRootImpl(  575): 777<<<<<< BACK FROM relayoutnull
W/gralloc (  152):  Debugmem The fd=52, in vmalloc !!!! Ishwc=0
W/gralloc (  152):  Debugmem The fd=63, in vmalloc !!!! Ishwc=1
W/gralloc (  152):  Debugmem The fd=85, in vmalloc !!!! Ishwc=1
W/gralloc (  152):  Debugmem The fd=87, in vmalloc !!!! Ishwc=1
W/AudioTrack(  450): AUDIO_OUTPUT_FLAG_FAST denied by client
D/AudioHardwareTiny(  158): close device
D/AudioHardwareTiny(  158): start_output_stream
D/AudioHardwareTiny(  158): Device     : 0x80400
D/AudioHardwareTiny(  158): SampleRate : 44100
D/AudioHardwareTiny(  158): Channels   : 2
D/AudioHardwareTiny(  158): Formate    : 0
D/AudioHardwareTiny(  158): PreiodSize : 2048
D/AudioHardwareTiny(  158): The current HDMI is DVI mode
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
I/AwesomePlayer(  158): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(  158): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/OMXCodec(  158): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(  158): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
E/MediaPlayer(  575): Should have subtitle controller already set
D/Ringtone(  575): Successfully created local player
D/AudioSink(  158): open(44100, 1, 0x0, 0x1, 4, 27 0x0)
I/AudioTrack(  158): minFrameCount: 8192, afFrameCount=2048, minBufCount=4, sampleRate=44100, afSampleRate=44100, afL
atency=185
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
D/AudioHardwareTiny(  158): close device
E/MediaPlayer(  575): Should have subtitle controller already set
D/AudioHardwareTiny(  158): start_output_stream
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
D/AudioHardwareTiny(  158): Device     : 0x2
D/AudioHardwareTiny(  158): SampleRate : 44100
D/AudioHardwareTiny(  158): Channels   : 2
D/AudioHardwareTiny(  158): Formate    : 0
D/AudioHardwareTiny(  158): PreiodSize : 2048
D/alsa_route(  158): route_info->sound_card 0, route_info->devices 0
D/alsa_route(  158): route_set_controls() set route 0
E/AudioSink(  158): received unknown event type: 1 inside CallbackWrapper !
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
W/AudioCache(  158): Battery track warning: refCount is already 0
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013
D/alsa_route(  158): route_set_controls() set route 24
D/AudioHardwareTiny(  158): close device


请问下各位大神这个是什么原因?
W/AppOps  (  450): Bad call: specified package media under uid 1000 but it is really 1013是什么导致的

作者: jpchen    时间: 2017-4-10 12:58
需要修改hardward的相关寄存器或route
作者: celticszhao    时间: 2017-4-10 16:26
jpchen 发表于 2017-4-10 12:58
需要修改hardward的相关寄存器或route

route会存在问题吗?因为我i2c和i2s都是注册好的,上层应该不需要修改吧?




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1