Moderators, translator
455
edits
imported>Dalto (Merged content from Setting_the_Default_Sound_Device) |
m (removing unnecessary whitespace) |
||
Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
The [https://www.alsa-project.org/wiki/Main_Page Advanced Linux Sound Architecture (ALSA)] provides audio and MIDI functionality to the Linux operating system. | The [https://www.alsa-project.org/wiki/Main_Page Advanced Linux Sound Architecture (ALSA)] provides audio and MIDI functionality to the Linux operating system. | ||
=Use ALSA on with Applications requiring PulseAudio= | =Use ALSA on with Applications requiring PulseAudio= | ||
Using applications which require PuleAudio on systems which only have ALSA installed can be accomplished through the use of '''apulse''' which is a pulse emulator for ALSA. | Using applications which require PuleAudio on systems which only have ALSA installed can be accomplished through the use of '''apulse''' which is a pulse emulator for ALSA. | ||
==Install apulse== | ==Install apulse== | ||
Install '''apulse''' from the [[Arch_User_Repository|AUR]] using a your preferred package manager or the command: | Install '''apulse''' from the [[Arch_User_Repository|AUR]] using a your preferred package manager or the command: | ||
pamac build apulse | pamac build apulse | ||
Line 18: | Line 13: | ||
==Using apulse== | ==Using apulse== | ||
Using apulse is a simple typing '''apulse <program>''' in a terminal. For example: | Using apulse is a simple typing '''apulse <program>''' in a terminal. For example: | ||
apulse /usr/lib/firefox/firefox | apulse /usr/lib/firefox/firefox | ||
If all is working, you should now have sound in Firefox without needing pulseaudio | If all is working, you should now have sound in Firefox without needing pulseaudio | ||
=Selecting the Primary Audio Device= | =Selecting the Primary Audio Device= | ||
If your system keeps on using the wrong device (HDMI instead of PCH or vica versa for example), you can force ALSA to use the correct device. Start by getting a list of your audio devices with the command: | If your system keeps on using the wrong device (HDMI instead of PCH or vica versa for example), you can force ALSA to use the correct device. Start by getting a list of your audio devices with the command: | ||
cat /proc/asound/cards | cat /proc/asound/cards | ||
Note the number of the sound device that you want to make the primary. Then using a [[Viewing_and_editing_configuration_files|text editor]], put the following into '''/etc/asound.conf''' (You may need to create '''/etc/asound.conf''' if it doesn't already exist). | Note the number of the sound device that you want to make the primary. Then using a [[Viewing_and_editing_configuration_files|text editor]], put the following into '''/etc/asound.conf''' (You may need to create '''/etc/asound.conf''' if it doesn't already exist). | ||
Line 35: | Line 27: | ||
Replace 1 in the above example with the number you noted down above. | Replace 1 in the above example with the number you noted down above. | ||
=See also= | =See also= | ||
* [https://github.com/i-rinat/apulse The official apulse site] | * [https://github.com/i-rinat/apulse The official apulse site] | ||
* [https://forum.manjaro.org/t/how-to-run-pulseaudio-only-apps-on-an-alsa-only-system/34235 apulse Forum Topic] | * [https://forum.manjaro.org/t/how-to-run-pulseaudio-only-apps-on-an-alsa-only-system/34235 apulse Forum Topic] | ||
[[Category:Contents Page]] | [[Category:Contents Page]] |