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

learn more… | top users | synonyms

1
vote
1answer
1k views

No sound on Debian 7 stable

I have Debian 7.1. Today I have lost an ability to listening to music. I can hear sound played by speaker-test, mplayer and some applications sound (eg. Skype sound notifications). But I have problems ...
1
vote
0answers
61 views

ALSA - Codec Registration

My Codec is registered after SOC init is done. In SOC init, ALSA cannot find codec registered and hence defer the sound card registration. Later when I register codec, its entry is not registered in ...
2
votes
1answer
154 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 ...
3
votes
3answers
13k 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 ...
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) ...
2
votes
1answer
518 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. ...
1
vote
2answers
122 views

aoss is preventing file logging - logging argument commands

I am using an application which requires aoss. The results are required to be appended to a file. When I write these commands, the file is always empty: aoss multimon -a DTMF | tee test.txt aoss ...
1
vote
2answers
808 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 ...
1
vote
3answers
2k views

ALSA - no surround playback with mplayer

When I run: speaker-test -c6 ...everything is fine. I get 5.1 playback. However, when I run: mplayer -channels 6 "some video with 5.1 audio" no audio plays. Here is what appears in the ...
1
vote
0answers
695 views

ALSA buffer xrun when recording with ffmpeg

Is there any way to increase the ALSA buffer size? When running this command: ffmpeg -f alsa -ac 2 -i hw:1 -ar 44100 -b 64k output.mp3 I get a "ALSA buffer xrun" before my system locks up Input ...
1
vote
1answer
581 views

ffmpeg udp audio livestream

Having trouble getting the following command to stream audio through udp, is there a parameter missing? ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f mpegts udp://10.255.255.255:10000?pkt_size=1316 The ...
8
votes
0answers
631 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 ...
0
votes
2answers
670 views

alsa minimal configuration

I'm studying ALSA and I'm stuck with this alsa.conf file I need the most simplest conf file which can get my /dev/snd/controlC0 to work all my conf files (empty confs or some try with pcm.defaults ...
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, ...
1
vote
0answers
410 views

alsaloop: What happens on a buffer underrun?

I am tuning my sound interface latency with alsaloop -C hw:1,0 -P hw:1,0 -t $LATENCY_US When I set $LATENCY_US to 30000, I get around 20% CPU usage. I can restart this a few times and make some ...
1
vote
0answers
27 views

ALSA sound cannot get below 18%

My in-ear earphones are very loud, and I want to get them to be quieter. alsamixer works until it gets to 18% or "-45 dB". Then when I want it get even quieter, it jumps all the way to zero. 5 or 6 ...
1
vote
0answers
304 views

Wine screws up Pulseaudio and USB audio card when already playing ALSA stream

My setup is a Thinkpad T420 with Creative X-Fi USB audio card. Everything usually works fine, I can play multiple streams and arbitrarily move streams from one audio card to another. One use case ...
0
votes
1answer
18 views

anyway to take a 'snapshot' of alsamixer?

my audio card has some issues under ubuntu. everytime i fiddle with the volume, it messes up microphone. i can't set the microphone at all under ubuntu GUI. it tries to assume things from the ...
1
vote
1answer
2k views

VLC through a custom ALSA device

How can I make VLC playing through some of my custom ALSA devices? I created several custom ALSA devices (for routing, amplifying, mixing and other purposes) and can use them with Mplayer without any ...
1
vote
1answer
2k 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 ...
0
votes
2answers
606 views

Alsa/PulseAudio mixing output from multiple processes

I wonder is it possible to rig alsa or/and pulseaudio so that audio output to left stereo channel will come form one process and to the right channel from another process?
0
votes
0answers
143 views

MPD fails to start the next song

I am running Arch Linux (e17) on x86_64; with mpd 0.17.3 and ALSA 10.0.26. One update ~three months ago mpd started acting strange. It would not start playing the next song, and it would appear as if ...
0
votes
0answers
1k views

Getting Logitech USB headset to work on Debian

I am attempting to get a Logitech USB headset to work on my Debian Squeeze computer. However, no matter what I do, there is no sound. I've already tried everything I could find on Google with no luck. ...
0
votes
1answer
192 views

weird alsa problems losing permissions when I plug/unplug usb headset

I have a /etc/udev/rules.d/00-local.rules KERNEL=="pcmC[D0-9cp]*", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#pcmC}; K=$${K%%D*}; echo defaults.ctl.card $$K > /etc/asound.conf; echo ...
0
votes
1answer
986 views

Getting an ALSA program (ChucK) to work with Pulseaudio?

Moving a previous answer to this topic; formulated as a question, it would be: I'm using ChucK, in particular chuck.alsa, to implement a Command line multitrack audio looper for Linux. ...
2
votes
1answer
130 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 ...
1
vote
0answers
228 views

Strange sound behavior

First of all, sorry for the tittle. English isn't my native language, and I can't find a word to describe the strange behavior I'm getting here. In the most simple explanation, is like sound keeps ...
2
votes
2answers
908 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
197 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 ...
-1
votes
2answers
941 views

Raspberry Pi sound

I am trying to configure the linux software festival which converts text to voice on a Raspberry Pi. Before and after the sound is played there is glitch sound that is heard. Does anyone know what ...
1
vote
1answer
3k 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" ...
1
vote
0answers
576 views

no sound with an USB Microphone and pulseaudio

I connected my USB Microphone to my Computer, but i cant get it to work. Pulseaudio recognizes the device, and i can see and edit it with pavucontrol in the Input Devices section. I also can select ...
1
vote
1answer
1k views

ALSA-OSS installed , no dev/dsp found

I'm using Fedora 16 - 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): Failed to ...
2
votes
1answer
744 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
0answers
340 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 ...
1
vote
1answer
1k views

ALSA does not find sound devices as user but can as root after kernel upgrade

Using Archlinux with x86_64 after kernel upgrade to 3.5.3-1, there is no sound, and ALSA run as user shows no sound devices. The proper kernel modules are loaded, and both dmesg.log and lspci show ...
2
votes
0answers
908 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 ...
0
votes
1answer
1k views

List all ALSA devices

I'm using PulseAudio on my system, and I followed the instructions for adding a monitor device as per the PulseAudio wiki. The monitor device itself works and registers/functions properly in apps like ...
1
vote
2answers
2k views

Why can't I play audio from two or more sources?

When I installed on my desktop mpd and mpc, I found that I can't hear other sources (like Amarok, Flash player etc.) at the time when mpc or other client is playing music. If I try to start an audio ...
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
175 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 ...
1
vote
1answer
670 views

How to launch a command-line application without having to type the command?

I'm trying to write a python script that will launch alsamixer. alsamixer is a command-line application, that you typically launch by: Opening up a Terminal. Typing alsamixer. I'm trying to make ...
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 ...
0
votes
2answers
695 views

Debian no lib32asound2-plugins=1.0.25

I compiled git wine 1.5.6 and the sound is not working correctly. winecfg gives a message: ALSA lib ../../pulse/pcm_pulse.c:995:(_snd_pcm_pulse_open) Unknown field handle_underrun ...
3
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 ...
8
votes
1answer
20k 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
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 ...
1
vote
0answers
2k views

Volume / gain too high with ALSA under Debian for an USB sound card

I encounter some issues configuring audio with ALSA on my Seagate Dockstar on which I plugged a little USB audio card. I'm able to play music with MOC but I'm stuck with a volume way to high. ...
0
votes
2answers
614 views

Installed ALSA driver on Ubuntu 11.10, now flashplugin doesn't work

I installed from here -> http://www.stchman.com/tools/alsa/alsa_setup.sh because I was having so much noise from my speakers when the sound wasn't even playing, and I decided to install alsa drivers ...