Difference between revisions of "ALSA"

From MythTV Official Wiki
Jump to: navigation, search
(Add some more description of ALSA and another ref link)
(More information)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
ALSA is the '''Advanced Linux Sound Architecture''', an audio framework of drivers and plugins to manage the soundcard(s) on a Linux system.
 
ALSA is the '''Advanced Linux Sound Architecture''', an audio framework of drivers and plugins to manage the soundcard(s) on a Linux system.
 
ALSA provides for automatic configuration of sound-card hardware and graceful handling of multiple sound device.
 
ALSA provides for automatic configuration of sound-card hardware and graceful handling of multiple sound device.
As of the Linux 2.6 kernel, ALSA replaces OSS (Open Sound System) as the primary means for dealing with sound, though a backward-compatibility layer to OSS is provided.
+
As of the Linux 2.6 kernel, ALSA replaced OSS 3.x (Open Sound System) as the primary means for dealing with sound, though a backward-compatibility layer to OSS 3.x is provided.
  
  
Line 8: Line 8:
  
 
==ALSA configuration==
 
==ALSA configuration==
Configuration of ALSA is done system-wide with the file <tt>/etc/asound.conf</tt>, and for individual acocunts with the <tt>.asoundrc</tt> file.  These files are documented in the ALSA wiki on the [http://www.alsa-project.org/main/index.php/Asound Asoundrc page]
+
Configuration of ALSA is done system-wide with the file <tt>/etc/asound.conf</tt>, and for individual acocunts with the <tt>.asoundrc</tt> file.  These files are documented in the ALSA wiki on the [http://www.alsa-project.org/main/index.php/Asoundrc Asoundrc page]
  
  
 
==Diagnosing audio problems==
 
==Diagnosing audio problems==
If you aren't getting audio output from mythtv, you can try changing the device mythtv uses. In the third page of the ''General'' settings area, replace the word ''default'' in ''ALSA:default'' with a reference to your hardware device; for example, the second device on the first card would be ''ALSA:hw:0,1''. You can find out more information about your audio devices with the command
+
If you aren't getting audio output from MythTV, you can try changing the device MythTV uses. In the ''General'' settings area, select your device from the list shown.
$  aplay -l
 
  
 
==More information==
 
==More information==
 
* [http://www.alsa-project.org/ ALSA project website]
 
* [http://www.alsa-project.org/ ALSA project website]
 
* [http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture Advanced Linux Sound Architecture] article in Wikipedia
 
* [http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture Advanced Linux Sound Architecture] article in Wikipedia
 +
* [ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html NVidia, Alsa and HDMI Audio] article at NVidia
 +
 +
[[Category:Driver]]

Latest revision as of 12:03, 17 March 2011

ALSA is the Advanced Linux Sound Architecture, an audio framework of drivers and plugins to manage the soundcard(s) on a Linux system. ALSA provides for automatic configuration of sound-card hardware and graceful handling of multiple sound device. As of the Linux 2.6 kernel, ALSA replaced OSS 3.x (Open Sound System) as the primary means for dealing with sound, though a backward-compatibility layer to OSS 3.x is provided.


Authoritative information can be found at the ALSA project website


ALSA configuration

Configuration of ALSA is done system-wide with the file /etc/asound.conf, and for individual acocunts with the .asoundrc file. These files are documented in the ALSA wiki on the Asoundrc page


Diagnosing audio problems

If you aren't getting audio output from MythTV, you can try changing the device MythTV uses. In the General settings area, select your device from the list shown.

More information