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

learn more… | top users | synonyms

19
votes
2answers
56k views

What do ALSA devices like “hw:0,0” mean? How do I figure out which to use?

I've searched over and over and can't find any explanation of what "hw:0,0" means. How do I determine the number of my USB audio card? MPD requires me to enter something like this: audio_output { ...
12
votes
1answer
731 views

Linux - Creating Virtual Audio Device

My question here is rather simple. How does one create a purely virtual audio device in ALSA that would be capable of: being used as an audio output destination, being used as an audio input source, ...
9
votes
0answers
399 views

How is pulseaudio stitched together? [closed]

OK. Pre-post note; this became ugly long, - but the core of an problem is that I'm unable to find good articles or diagrams and explanations on this. There is a lot of "how too"s, but I'm having a ...
7
votes
2answers
9k views

How to create a dummy sound card device in Linux server?

I want to run Linux program that require a soundcard, on a server, which has no soundcard. Is it possible to create a dummy soundcard? I am totally unaware of Linux sound system internals. Please ...
7
votes
1answer
13k views

How to disable Auto-Mute Mode?

In alsamixer, there is an option called "Auto-Mute Mode", and it's enabled by default. But now I want to disable it. I've tried different keys but failed. Any idea? 0_0
6
votes
4answers
1k views

Is there a way to raise/lower the volume in Linux without using a graphical tool?

Is there a way to raise/lower ALSA's volume without using a graphical tool? I am currently using MPD along with MPC mapped to hotkeys to change the volume, but I recently switched music players and I ...
6
votes
1answer
1k views

Prevent applications to control master volume on Linux

Whenever I change the volume in VLC, Rhythmbox, or a video on YouTube, it change the master volume, i.e. the system volume. How can I prevent this from happening? I'm running Debian 7.0.0 (wheezy) ...
4
votes
1answer
8k views

How to configure ALSA?

After switching from Unity to XFCE, I ran into difficulties with my sound configuration. I have multiple sound cards on my system, the one that I want to use is the last one to be loaded by the ...
4
votes
2answers
4k views

Force downmix to mono on Linux

For personal reasons (I'm hearing impaired) I need my linux machine to produce mono downmixed sound. Downmixed, not just single channel. Is there any possibility to force such behavior in ALSA / ...
4
votes
1answer
2k views

How can I make Chromium use a different ALSA device?

I need one instance of Chromium on Linux to target a different sound card than the default, including Flash. Is there anyway to do this easily?
4
votes
2answers
412 views

Make acpi beep when the power supply being unplugged even if the alsa is turned into mute

My laptop is Thinkpad Edge series, of which laptop will produce a beep when the power supply being unplugged. But I noticed that the beep has been blocked if the alsa is turned to mute. So, I wonder ...
3
votes
5answers
9k views

Audio Line-In on Ubuntu/Linux Mint

I'm currently on Windows, and want to switch to Linux, but some hardware issues are preventing me. Mainly, I have a sound card that supports Line-In. On Windows, anything I plug into the line-in gets ...
3
votes
2answers
2k views

Does Linux support audio output via USB?

Several small integrated amplifiers exist with a USB input line. The ones I have seen so far ship with Windows and OS X drivers. Does Linux support audio output via USB out-of-the-box? Update It ...
3
votes
3answers
2k views

How to resolve Pulseaudio not attaching a mixer due to missing libraries?

I've been trying to install pulseaudio, and I can't seem to find a straight answer about what to do about ALSA. Does PulseAudio run on top of ALSA? Should I get rid of ALSA first? ALSA is a sound ...
3
votes
1answer
1k views

Change volume from bash

I got this far (from .bashrc): alias i="amixer -c 0 -- sset Master playback +1dB" alias d="amixer -c 0 -- sset Master playback -1dB" alias v4="amixer -c 0 -- sset Master playback 40%" alias ...
3
votes
2answers
4k views

Changing default audio device in Pulseaudio

I would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have ...
3
votes
3answers
2k views

Pipe System sound to another computer

i have no speakers in my PC(Cent-OS 5.5) but there is a stereo speaker connected to the computer next to my Computer(Cent-OS 5.5). Both computers are networked. Is there any way to pipe my system ...
3
votes
2answers
1k views

Getting sound to play from the speakers on a Headless 9.04 Ubuntu Serve

I have this Ubuntu Server running in my room and i wanted to use it as an alarm clock, so i decided to make a C++ program for it (i know i could've used cron but meh). The problem is the fact that i ...
3
votes
1answer
411 views

Microphone not working on Apple Macbook Air 1,1 (Early 2008; A1237) under Linux

I'm running Linux on the MBA. I can't make the microphone work. I test using alsamixer and arecord -Dhw -fdat -vv mic.wav together with aplay -Dhw -vv mic.wav It seems there is a problem with Linux ...
3
votes
1answer
3k views

How to listen to microphone output on Linux?

I would like to hear the microphone output during Skype calls. I have tried fiddling with alsamixer settings and made sure that the mike is unmuted but still cannot get to hear the mike in either ...
3
votes
1answer
905 views

ALSA: Audio playback is clipped and has low volume

I'm hoping that someone can help me debug my audio problems. The problem is that audio playback is clipped and has low volume. The details of my setup are as follows: Arch Linux 3.1.3-1 An onboard ...
2
votes
2answers
4k views

Logitech USB headphones detected and selected in Debian Squeeze but sound still coming from speakers

I have a pair of Logitech wireless USB headphones that work with Ubuntu Natty but aren't working in Debian Squeeze. When they are selected as the default audio output, the sound comes out of the ...
2
votes
2answers
621 views

Playing mp3 in quodlibet displays “GStreamer output pipeline could not be initialized” error

I'm running Debian testing x64 with all updates. I install quodlibet 2.4 from the repository and added mp3's to my library. When I play them, however, I receive an output error: GStreamer output ...
2
votes
1answer
105 views

Compiling OpenJDK 7 with Arch Linux complains about ALSA

I downloaded icedtea2.3.3 and installed alsa-lib alsa-firmware, ./configure doesn't give any error, but make complains that ALSA 0.9.8 or higher is needed. Actually, ALSA 1.0.25 is installed. What ...
2
votes
1answer
2k views

Restore sound configuration

After install some packages, I don't have sound! I installed Rosegarden, VMPK (piano software), Drumstick Virtual Piano and TiMidity. At the beginning, all works fine, but when I reset my PC, I don't ...
2
votes
2answers
2k views

How do I install a volume control and support hardware buttons in Xfce on Gentoo?

I have got my audio card and alsamixer working on my Gentoo installation, as I'm too bored to visit that program all the time I need to make a subtle audio adjustment I'm looking forward to doing this ...
2
votes
1answer
113 views

Reconfigure line-in as analog-out

I am trying to reconfigure my "line in" as another "analog out" and use it alongside with the default analog out port. I am using an onboard realtek sound card. It is very simple to do this in ...
2
votes
2answers
583 views

How Video4Linux and ALSA work with Codecs

My understanding is that a codec is both a decoder and a specification for decoding. So some group writes a codec which explains how to decode from their format back into the raw bitstream, and they ...
2
votes
1answer
141 views

V4L2 and ALSA: Kernel SPI or User API?

I'm trying to understand what Video for linux and ALSA are (exactly), and I can't discern whether they're APIs for Linux application to use (the userspace) or if they are backend services that are ...
2
votes
1answer
552 views

Debian Bluetooth headphones not working [closed]

Hardware Headphones Bluetooth dongle Maybe not exactly these models. Setup I tried to follow some guides, here's what I've done so far: Install software: sudo apt-get install bluez-utils ...
2
votes
2answers
4k views

How to run OSS dependent application? “/dev/dsp”

I'm using ubuntu 12.04 LTS - sound works fine. I've tried to execute pocketsphinx for some tests with voice recognition, but it depends on OSS to work. It crashes with the message: ad_oss.c(103): ...
2
votes
2answers
2k views

Ubuntu and XFCE: unmute sound

I've installed XFCE for Ubuntu and use it as my default X session. After this change some sound problems appeared: I can mute sound with alsamixer or with hotkey on a keyboard. But just reenable it ...
2
votes
1answer
2k views

How do you get the Intel 82801JI on-board audio to work in Ubuntu Karmic 9.10?

I have a Dell Precision T3500 with the following audio device from lspci -v: 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller Subsystem: Dell Device 0293 ...
2
votes
1answer
312 views

How do I make MythTV remember its audio settings?

I'm running MythTV on Ubuntu 9.10 and I'm having problems with audio settings. I have one combined backend/frontend and two other frontends. One of the frontends has two audio outputs: the one built ...
2
votes
0answers
323 views

No sound output or hardware to choose from in gnome sound settings

There is no sound output when I try to play music or videos etc. When I run $ speaker-test I get speaker-test 1.0.25 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 ...
2
votes
0answers
261 views

Linux noob trying to get headset to work

I am trying to get my headset (Logitech H390) to work on a new linux installation (centos 6.4). Unfortunately I am unable to hear anything from the headset. I have tried several options from the sound ...
2
votes
0answers
274 views

How do I use wine's new multi-channel audio support?

Wine supposedly added Multi-channel support to the ALSA driver in a recent release. However, I haven't found any documentation about it or any reports of anyone successfully using it. I have 5.1 ...
2
votes
0answers
768 views

AC3 & DTS Output Produces Buzzing/Noise Using a52 ALSA Plugin in Pulseaudio

Note: I hope this is the right site to ask it on, as I'm using ubuntu 12.04 64bit but assumably this is a general linux/alsa configuration question. I've followed the guide at ...
2
votes
0answers
808 views

Scratchy sound with ALSA and USB Sound card

Since frying my onboard soundcard, I'm trying to get a new USB sound card to work with ALSA. Everything looks fine too: [oliland@olidesktop ~]$ lsmod | grep '^snd' snd_seq_dummy 1455 0 ...
2
votes
0answers
830 views

using Ubuntu 10.10 I want my speakers and head phones as separate devices

I would like it if I could set my rear speaker jack, not surround sound rear, to be used as the system default only. I want the head phones, that plug into the front of my PC, to be silent, unless I ...
2
votes
1answer
3k views

There's no sound on Ubuntu with an Intel HDA onboard chip and Realtek ALC1200 codec

For a while now, my sound has not been working in Ubuntu. It used to play OK, but after some upgrade (might have been distro upgrade to 9.10), it stopped working. I'm currently running 10.04 on an ...
1
vote
3answers
1k views

Is ALSA responsible for detecting sound cards?

I installed a sound card which is not detected by my Linux installation, but it is detected and working when I boot off the Live CD. I have tried to do all kinds of things with Alsa to get it to work ...
1
vote
2answers
10k views

Archlinux sound not working

I installed Archlinux recently. I have instaled flash, vlc, alsa-utis. But there is no sound. I tried un-muting using alsamixer but there are no difference. Can you please let me know how to fix this ...
1
vote
2answers
126 views

Turning speaker beep off by alsamixer permanently

Debian 7, x64. I can turn off the beep by reducing Speaker bar volume in alsamixer to 0. However, after reboot speaker volume in alsamixer is set to 100% again. How can I turn off speker beep ...
1
vote
4answers
3k views

Disabling built-in speaker in Linux

My workstation has a built-in speaker that, surprisingly, plays audio very well. I also have external speakers hooked up to the audio out jack which are easier to hear. Unfortunately, when I try to ...
1
vote
1answer
1k views

Alsa Headers not found in Ubuntu 9.04

I want to run my programs which I was running in Fedora core 6 which uses alsa apis, In FC6 I had alsa headers in /usr/include/alsa folder. In Ubuntu 9.04, I search whole file system but cant find ...
1
vote
2answers
2k views

How to make Alsa pick a preferred sound device automatically?

I bought an USB sound card. I'd like to set up my Linux desktop so that it prefers the USB device, if it is plugged in and automatically switches as the device is (un)plugged. Is it possible, and how? ...
1
vote
3answers
7k views

linux arecord: capture sound card output rather than microphone input

I am trying to capture sound card output and encode it in Vorbis ogg format using the following command: arecord -f cd -t raw | oggenc - -r -o file.ogg However, the computer's microphone input is ...
1
vote
1answer
1k views

Set device when using gst-launch alsasrc

As part of my Sphinx setup, I listen to my input device like this: gst-launch alsasrc (Well, the actual command is this: alsasrc ! audioconvert ! audioresample ! vader name=vad auto-threshold=true ...
1
vote
1answer
2k views

How to address an alsa “mixer_device” in mpd config for a second sound card?

I run mpd on a system with a built in sound card and a second card that I plugged in via USB. Adressing the second sound card in the mpd.conf was easy: change: device "hw:0:0" to device "hw:1" ...