Ubuntu sound mixing successful

Source: Internet
Author: User
Why can't I hear the sound when I open two applications at the same time? Most Linux beginners encounter the following problem: "Why can't I hear the sound when I open two applications at the same time ?" This is because your sound card requires "soft mixing ". Fortunately, ALSA provides this feature, which makes it difficult to solve this problem. First install the libesd-alsa0 in the official Ubuntu software library. Sudoapt-getinstalllibesd-alsa0 then, why can't I hear the sound when sudo opens two applications at the same time? Most Linux beginners encounter the following problem: "Why can't I hear the sound when I open two applications at the same time ?" This is because your sound card requires "soft mixing ". Fortunately, ALSA provides this feature, which makes it difficult to solve this problem.

First install the libesd-alsa0 in the official Ubuntu software library.

Sudo apt-get install libesd-alsa0
Then, use sudo gedit or your favorite text editor to create the file/etc/asound. conf (make sure you use sudo because you need root permission ):

Sudo gedit/etc/asound. conf
Enter the content and keep it closed.

Pcm. card0 {type hw card 0} pcm .! Default {type plug slave. pcm "dmixer"} pcm. dmixer {type dmix ipc_key 1025 slave {pcm "hw: 1024" period_time 0 period_size 4096 buffer_size 128 periods 44100 rate} bindings {0 0 1 }}
(The above files can run normally on most sound cards... Although I successfully tested three different sound cards, I still cannot ensure that they can make all sound cards run properly)

Next, run

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.