Raspberry Pi (Raspberry Pi) sound output settings

Source: Internet
Author: User

Audio output can be set to automatic, headset output, and HDMI output. The default value is automatic.

Pi @ aborn ~ $ Sudo apt-get install alsa-utilspi @ aborn ~ $ Sudo modprobe snd-bcm2835 # Add the sound module to the kernel pi @ aborn ~ $ Sudo aplay/usr/share/sounds/alsa/Front_Center.wav pi @ aborn/opt/vc $ sudo amixer cset numid = 3 2 numid = 3, iface = MIXER, name = 'PCM Playback Route '; type = INTEGER, access = rw ------, values = 1, min = 0, max = 2, step = 0: values = 2pi @ aborn/opt/vc $ sudo aplay/usr/share/sounds/alsa/Front_Center.wav Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav ': signed 16 bit Little Endian, Rate 48000Hz, Monopi @ aborn/opt/vc $ sudo amixer cset numid = 3 numid = 3, iface = MIXER, name = 'PCM Playback Route '; type = INTEGER, access = rw ------, values = 1, min = 0, max = 2, step = 0: values = 0pi @ aborn/opt/vc $ sudo amixer cset numid = 3 1 numid = 3, iface = MIXER, name = 'PCM Playback Route '; type = INTEGER, access = rw ------, values = 1, min = 0, max = 2, step = 0: values = 1
Different values are taken to indicate:
0 = auto (auto), 1 = headphones (headset), 2 = hdmi

I found that playing videos consumes a lot of cpu resources.


Reference: http://raspberrypi.stackexchange.com/questions/44/why-is-my-audio-sound-output-not-working

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.