Firefly开源社区

打印 上一主题 下一主题

3288无法播放歌曲

115

积分

0

威望

0

贡献

技术小白

积分
115

3288无法播放歌曲

发表于 2017-4-10 10:50:02      浏览:8294 | 回复:2        打印      只看该作者   [复制链接] 楼主
各位大神,小弟用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是什么导致的
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2017-4-10 12:58:54        只看该作者  沙发
需要修改hardward的相关寄存器或route
回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2017-4-10 16:26:48        只看该作者  板凳
jpchen 发表于 2017-4-10 12:58
需要修改hardward的相关寄存器或route

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

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表