Ubuntu can identify sound cards but does not provide a sound solution

Source: Internet
Author: User
Configure alsa (If your sound card exclusive, perform this step) sudoapt-getinstallalsa-osssudogedit/etc/asound. conf Add the following content: pcm. card0 {typehwcard0} pcm .! Default {typeplugslave. pcm "dmixer"} pcm. dmixer {typedmixipc_key1025 configure alsa (if you have an exclusive sound card, perform this step)
Sudo apt-get install alsa-oss
Sudo gedit/etc/asound. conf

Add the following content:
Pcm. card0 {

Type hw

Card 0

}

Pcm .! Default {

Type plug

Slave. pcm "dmixer"

}

Pcm. dmixer {

Type dmix

Ipc_key 1025

Slave {

Pcm "hw: 0, 0"

Period_time 0

Period_size 1024

Buffer_size 4096

Periods 128

Rate 44100

}

Bindings {

0 0

1 1

}

}

Modify the ESD configuration file:
Sudo gedit/etc/esound/esd. conf

Changed:
[Esd]

Auto_spawn = 1

Spawn_options =-terminate-nobeeps-as 2-d default

Spawn_wait_ms = 100

# Default options are used in spawned and non-spawned mode

Default_options =
Related Article

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.