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

learn more… | top users | synonyms

34
votes
2answers
96k 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 { ...
15
votes
1answer
28k 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
13
votes
1answer
1k 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, ...
12
votes
4answers
11k views

Skype 4.3 without PulseAudio, only ALSA. Any options?

I have been using Skype for over 10 years now, almost since the initial release, and most of my friends/family/colleagues use it too. So switching IM is not an option. Microsoft has recently changed ...
12
votes
4answers
40k 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? ...
12
votes
2answers
19k 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 ...
8
votes
1answer
3k 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) ...
6
votes
4answers
2k 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
4answers
12k views

alsa-base.conf missing in new Raspberry Pi Raspbian Jesse

I'm trying to make my Pi use an external USB sound card as a default. All tutorials are telling me to edit /etc/modprobe.d/alsa-base.conf However the version of Raspbian I have (pretty new build, I ...
6
votes
1answer
7k 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 / ...
6
votes
4answers
20k 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 ...
6
votes
1answer
6k 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
5answers
12k 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 ...
4
votes
1answer
17k 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
2k 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 ...
4
votes
2answers
6k 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 ...
4
votes
3answers
4k 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 ...
4
votes
3answers
4k 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 ...
4
votes
2answers
508 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 ...
4
votes
1answer
3k 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 ...
4
votes
1answer
407 views

5.1 Surround sound will not keep its configuration

in pavucontrol I have my output set to Digital Surround 5.1(IEC958/AC3) When I open a video with VLC (my preferred option) OR GNOME Media player I hear no sound. VLC is configured to use pulseaudio ...
3
votes
2answers
3k 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
4answers
4k 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 ...
3
votes
2answers
661 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 ...
3
votes
1answer
2k 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

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 ...
3
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 ...
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
1k views

ALSA PulseAudio sound output when switching between headphones and laptop speaker

Since I installed PulseAudio on my Gentoo system I've been having no audio output from my laptop's speakers when un-plugging the headphones jack. I suppose the problem lies in how ALSA and PulseAudio ...
3
votes
1answer
774 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
6k 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
209 views

Amplify alsa capture beyond 100%?

I'm using ALSA. The volume of my mic is so low that even 100% of capture volume is not enough in a skype conversation. Is there any way to amplify the capture volume beyond 100%? I cannot use ...
3
votes
1answer
1k 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
6k 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
3k 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 ...
2
votes
1answer
139 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
4answers
7k views

Alsa USB-Audio hotplug

My new USB audio speaker appeared as the second device in Alsa. I managed to make it the primary one: $ cat /proc/asound/modules 0 snd_usb_audio 1 snd_hda_intel $ cat /proc/asound/cards 0 ...
2
votes
3answers
52 views

Headphone jack stops working after suspend / reboot

I had this really annoying problem, where the headphone jack would work fine after a cold start. But after suspending or cold rebooting (restart the computer without completely shutting it down) the ...
2
votes
1answer
2k views

No sound on Arch Linux (ALSA)

Output of aplay -l aplay: device_list:268: no soundcards found... output of sudo aplay -l **** *List of PLAYBACK Hardware Devices* **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog ...
2
votes
1answer
544 views

How to use synchronous endpoint of USB audio device?

I want to play the same sound over several USB audio devices in sync. Last time I tried something like this was about 2001 and it was successful -- and the pair of Griffin iMics I used back then still ...
2
votes
2answers
1k views

How do I get a volume OSD just like the one in OSX?

I'm using a Dell Studio laptop which has volume up/down hotkeys. On pressing these, I want a volume OSD to popup to show my current volume status just like in OSX; that is, just like: Anybody know ...
2
votes
1answer
1k views

How to mix S/PDIF input and PCM Out (to hear PCM and S/PDIF simultaneously) in Linux?

In alsamixer I can select either PCM Out or IEC958 In (that's my S/PDIF input) but not both. Is there a solution? Note: I need stereo sound, so selecting IEC958 In for one channel, and PCM Out for ...
2
votes
2answers
3k 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
2answers
536 views

AMD R9 270x HDMI audio not working correctly with ALSA. Works with PulseAudio. Is it possible to fix?

Some days ago I installed Fedora 22 on my media center pc. Previously I had Windows 8 installed because I wanted to play some games and watch some blurays, and everything worked as wanted. The HDMI ...
2
votes
1answer
91 views

How can two applications read from the same (digital) sound input in Linux/ALSA?

I have a sound card with an AES/EBU input port that I want to access with two applications simultaneously. I want to record the input to a linear WAV file in real-time while also streaming it through ...
2
votes
1answer
388 views

Using loopbacks and null-sink cause extreme distortion after 20-30s during ffmpeg recording

I'm trying to record both video, speaker sounds and microphone sounds at the same time. To deal with the audio, I set up two loopbacks (one for microphone, one for speakers): pactl load-module ...
2
votes
1answer
180 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
1answer
1k views

Recording using arecord creates thousands of files

I was trying to use arecord to record a wav file, but instead of recording to one file, it created tens of thousands of files (around 60000). This happened after I had installed the alsaequal package. ...
2
votes
2answers
1k 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
226 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 ...