码迷,mamicode.com
首页 > 其他好文 > 详细

树莓派声音设置

时间:2016-11-14 02:19:46      阅读:282      评论:0      收藏:0      [点我收藏+]

标签:ict   option   isp   screen   电影   _for   cti   detail   默认   

默认的声音输出是HDMI,改到3.5音频口就可以了。
命令
$:sudo amixer cset numid=3 1

 

 
config文件是这样设置的,用HDMI直连显示器,播放电影,音乐3.5口没有声音
raspi-config 设置从3.5 输出一样没有声音
有没有 解决办法

# For more options and information see 
http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display‘s size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=14

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800


# NOOBS Auto-generated Settings:
#hdmi_force_hotplug=1
config_hdmi_boost=4
#overscan_left=24
#overscan_right=24
#overscan_top=16
#overscan_bottom=16
disable_overscan=1

树莓派声音设置

标签:ict   option   isp   screen   电影   _for   cti   detail   默认   

原文地址:http://www.cnblogs.com/jikexianfeng/p/6060469.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!