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)