Manjaro Difference between revisions of "ALSA"

Difference between revisions of "ALSA"

From Manjaro
imported>Dalto
imported>Dalto
(Generalize article to serve as a page for ALSA-related content)
Line 1: Line 1:
=Overview=
=Overview=


This article describes how to run applications which depend on pulseaudio on systems which only have alsa installed. This is done using '''apulse''' which is pulse emulator for alsa.
The [https://www.alsa-project.org/wiki/Main_Page Advanced Linux Sound Architecture (ALSA)] provides audio and MIDI functionality to the Linux operating system.  




=Install apulse=
=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.
 
 
==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:
Line 12: Line 17:
  cp /usr/share/apulse/asoundrc.sample ~/.asoundrc
  cp /usr/share/apulse/asoundrc.sample ~/.asoundrc


=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:
Line 22: Line 27:
=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 Forum Page]
* [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]]

Revision as of 19:39, 25 May 2019

Overview

The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.


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.


Install apulse

Install apulse from the AUR using a your preferred package manager or the command:

pamac build apulse

It is built from source so it may take some time to install. Once it is done, create a basic config file using the command:

cp /usr/share/apulse/asoundrc.sample ~/.asoundrc

Using apulse

Using apulse is a simple typing apulse <program> in a terminal. For example:

apulse /usr/lib/firefox/firefox

If all is working, you should now have sound in Firefox without needing pulseaudio


See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.