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

learn more… | top users | synonyms

27
votes
2answers
78k 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
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, ...
11
votes
4answers
6k 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 ...
10
votes
2answers
14k 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 ...
10
votes
1answer
21k 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
8
votes
1answer
2k 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
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
6k 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 / ...
5
votes
2answers
19k 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? ...
4
votes
5answers
11k 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
13k 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
3answers
3k 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
5k 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
1answer
5k 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
476 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
152 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
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
3k 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
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 ...
3
votes
2answers
1k 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 ...
3
votes
4answers
15k 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 ...
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
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
646 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
5k 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
0answers
183 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
5k 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
481 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 ...
2
votes
1answer
131 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
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

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
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
134 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
168 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
47 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
318 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
163 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
608 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
995 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
205 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
798 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
5k 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
1answer
315 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
1answer
43 views

I have to pull the connector out partly to get stereo sound

Using headphones, I have to pull the headphone jack partly out of the socket to get stereo sound. If I push it in all the way, only the right channel comes through. I'm assuming that this has to do ...
2
votes
0answers
751 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
623 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
360 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 ...