Solution to audio mixing in ubuntu8.04 System

Source: Internet
Author: User
Article Title: solution to audio mixing in ubuntu8.04 System. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

I 've been suffering from the PulseAudio of Ubuntu 8.04 for a long time and finally found the simplest and most perfect solution today.

Popular solutions on the Internet:
Method 1. Use pulseAudio to output the software. If PulseAudio is not supported, simulate a channel to pulseAudio in ALSA. (Modify asound)

Method 2: Remove PulseAudio and switch back to ALSA.
Example: sudo apt-get remove gstreamer0.10-pulseaudio

My solution:

Since Ubuntu 8.04 tries to move all the software to PulseAudio, it will continue to be based on PulseAudio, which has been successfully running on PulseAudio. Only ALSA software is supported. Continue to use ALSA.

Method-Modify/etc/pulse/default. pa
Sudo gedit/etc/pulse/default. pa

Find:
# Load-module-alsa-sink...
Change
Load-module-alsa-sink device = dmix
(Reboot)

By using dmix, PulseAudio will not occupy the entire audio system. PulseAudio will be one of alsa's Mix channels. Then, ALSA and PulseAudio can coexist well. Libflashsupport for pulseaudio is no longer needed in the future.

Also, install the PulseAudio controller and enjoy the advantages of PulseAudio ~
Sudo apt-get install padevchooser

PS after modification, if the PulseAudio sometimes suffers a sound loss, you can try the following methods:
Sudo gedit/etc/pulse/default. pa again
1. Find:
Load-module-hal-detect
Changed:
# Load-module-hal-detect
2. Find:
Load-module-detect
Change
# Load-module-detect

Sudo gedit/etc/rc. local
Before exit 0, insert a sentence: pulseaudio &
(Reboot)

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.