Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alsa]

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

0
votes
0answers
16 views

Noise in beginning of alsa application

I have ALSA driver for capture device which works fine with VLC. when I try to capture and render using own application having some issues. Issue is:When I start play, it has some noise in beginning ...
0
votes
0answers
23 views

How to connect a USB Audio Interface with ALSA and JACK in Fedora?

I'm trying to run a USB audio interface with JACK so that I can input audio and use SuperCollider to process it (and then run it through an 8 channel speaker system). I tried two interfaces: RME ...
0
votes
0answers
48 views

Alsa cannot find capture card

I have a headless machine running Ubuntu server 16.04. I am trying to record audio and video from a Hauppauge ImpactVCB-e PCI Express video capture card. Currently I can record video, but not audio. ...
1
vote
0answers
43 views

How to inform vlc for sample rate change from device in linux

I'm working in FPGA device, which can provide raw video and pcm data. I'm using v4l2 and alsa framework for video and audio respectively. Audio flow path is using ALSA framework and video flow path is ...
0
votes
0answers
42 views

Sound card works with ALSA, but not showing in volume mixer

After a system upgrade I noticed I had no sound. In the volume mixer I see that my integrated sound card is not shown, while another one (HDMI) is. I managed to find that the device name is CARD=MID ...
1
vote
1answer
219 views

USB Microphone over USB switch doesn't work with TeamSpeak

I run an USB Microphone over a USB switch (together with Mouse and Keyboard) on multiple Computers. When i switch back from my other Computer, my Microphone is re-activated by Linux, but TeamSpeak ...
1
vote
0answers
354 views

Linux no sound on headphone jack

I am unable to get sound out of the headphone jack on my laptop while the speakers work properly, I`m running this; HP Spectre X360 (13-w010nd x360) Linux Lite 4.0 (based on Ubuntu 18 LTS) Im not ...
0
votes
1answer
77 views

Linux: Soundcard not being released by some application

so I have a computer running Linux Mint and to play loss-less audio-files I use DeaDBeeF, which I have configured to not use ALSA up-sampling in order to listen to allow my external Audio Interface(...
0
votes
0answers
109 views

Pulseaudio setting up sinks and sources for A2DP and HFP connections

I'm trying to set up A2DP+HFP profiles in an embedded board. Goal is to use pulseaudio 12.2, ofono 1.18, and bluez 5.41 in order to connect to a mobile phone and use A2DP, HFP profiles automatically, ...
0
votes
0answers
30 views

ALSA won't detect card when it exists

I am a bit stuck with fixing my audio in Kubuntu 18 (same was with Kubuntu 16). The only sound device I have in tray is "Dummy output" kosyakov@kosyakov-XPS13:~$ sudo lspci -v | grep -A 10 -i audio ...
0
votes
0answers
29 views

How to lock microphone boost to a fixed setting

I am having trouble setting up microphone boost (permanently) in Pulseaudio. Setup is Toshiba Satellite laptop with Linux Mint Sylvia/Xenial 64bit. Pulseaudio insists on merging volumes (volume = ...
0
votes
1answer
258 views

Where did snd-aloop go?

I'm on arch linux and I've been using snd-aloop to create a virtual audio devices without issues for a year now. Since yesterday's system upgrade to the new Linux kernel (4.18.3) however, the module ...
1
vote
1answer
155 views

Linux Ubuntu ALSA issues; after reboot sound is turned off

I'm using Ubuntu with Xfce, ALSA, pavucontrol, … After I reboot the system my sound always goes off. And my speakers in alsamixer are listed as Headphones (which I have to always increase the ...
0
votes
1answer
170 views

Multiple audio sources to single ALSA device on different bit rates

I am building a audio streamer based on linux for high quality audio. I have several applications that i want to be able to have acces to the audio device at the same time. (like shairport-sync, roon ...
0
votes
1answer
39 views

Is it possible to get audio file currently playing position using Aplay?

Is it possible to somehow make Aplay tell us what is current audio time position while playing?
1
vote
0answers
27 views

Sharing LADSPA filter output with different processes

On a Linux + ALSA microcomputer platform I'm trying to filter my microphone input for all my applications through a LADSPA filter. The filter takes a certain amount of CPU processing. Below is an ...
1
vote
0answers
64 views

Just left side of my headphones work (Manjaro)

I tried to hear music and only the left side of three headphones work. I found the same problem here Just one side of my headphones work (Arch-Linux) but, in my case, alxamixer is showing same number ...
1
vote
1answer
2k views

Headset microphone not detected by Pulse und Alsa

I have an Acer Aspire V15 Nitro Laptop that only sports a combo jack for both microphone and headphones at the same time. It was always a bit tricky but worked until I reinstalled Arch Linux recently. ...
2
votes
1answer
586 views

alsa softvol does not show up in amixer

I have a orangepi pc and need to setup an alsa softvol pcm to control the i2s dac volume. Therefore I have create the following /etc/asound.conf pcm.!default { type plug slave.pcm "softvol" } ...
0
votes
0answers
177 views

Run Android-x86 with snd-dummy on VM

I want to run Android-x86 on VM that dose not equip soundcard. Normally, Android-x86 works well without soundcad. But, below error occurs when app (ex. YouTube) requests audio-access. W ...
0
votes
0answers
92 views

How to prevent users from using ALSA directly?

I setup pulseaudio in system mode and it currently works fine. However, I noticed that users have access to ALSA directly, e.g. this works: ogg123 -d alsa song.ogg ArchWiki mentions this: Usually,...
0
votes
0answers
43 views

How determine physical state of the speakers

How to determine whether or not the speakers are turned on or off in bash script? Speakers connected to PC via 3.5 jack.
3
votes
1answer
456 views

arecord: Create large (7 days) audio recording

For a scientific experiment, we're trying to create a large (7 day) audio recording using arecord from alsa on a RasPi using a USB microphone. The pipeline for the recording is as follows: arecord -f ...
0
votes
1answer
35 views

Ubuntu logs out after seconds + no sound + bad keyboard mapping

I am using Ubuntu 16.04 and I encounter some strange behavior since few weeks, for non-identified reasons. It could be because I have updated the OS or because I have installed ZOOM (zooom.us) as ...
1
vote
0answers
150 views

Using a ALSA PCM as an input device for Chromium?

I have a Matrix Creator which I want to use as an input for a speech to text platform, running through Chromium (using webkitSpeechRecognition). My problem is that I do not have it available as a ...
1
vote
0answers
153 views

Trouble shooting audio - soundcard issue

I just booted up a raspberry pi using this image: ubuntu-16.04.3-preinstalled-server-armhf+raspi2.img It seems that the sound card is not detected or configured 'out of the box' root@ubuntu:/home/...
2
votes
2answers
615 views

Can I pipe input from a Linux soundcard into 2 different applications?

I have an Ubuntu 16.04.3 LTS system with an ASUS Xonar DGX soundcard, and a generic USB sound card. At our church, we want to be able to broadcast a service as well as record it as a WAV file. To ...
1
vote
2answers
561 views

Playback sound is being captured

I've been having issues my audio. When I capture audio, I am capturing playback audio unless I specify the correct device (see below). So instead of my usb microphone being captured, the sound being ...
0
votes
2answers
480 views

Route ICECAST stream to alsa dummy device

I want to transmit an icecast stream to udp via FFmpeg, but if the icecast stream will be dropped then FFmpeg drops also. I suppose if I could route the icecast stream to alsa dummy device then I ...
4
votes
0answers
396 views

Getting openal audio on nvidia hdmi

I want to get programs that use openal to send sound over the hdmi output of my nvidia card by using alsa libraries directly. Here’s my configuration : root@localhost /root % cat /proc/asound/cards ...
1
vote
0answers
273 views

Jerky, choppy, jumpy audio playback when streaming using MPlayer and ALSA

I am streaming an internet radio using MPlayer on a PocketC.H.I.P. which has an ARM processor (armv7l). The problem is that the audio is stuttering very often. So far I've tried increasing -cache ...
1
vote
2answers
349 views

ALSA — unknown soundcard oxygen

So I'm sorry if this isn't the right place to ask, but I'm having some trouble with a Fedora 25 install (4.10.12-200.fc25.x86_64) where I want to get my Xonar DGX sound card working. I've pretty much ...
0
votes
1answer
3k views

How to fix audio configuration for aplay while using pulseaudio

I want to record audio with arecord. The same on audacity works fine. So after trying to record like documented: arecord -f dat -d 5 -D plughw:0,0 /tmp/test.wav failing with message: arecord: main:...
1
vote
0answers
311 views

Silent arecord recordings

I'm using a 32-channel in/out USB class-compliant audio device. (Behringer X32 with an X-UF card installed.) I'm trying to record from those channels on a Raspberry Pi with Raspbian Jessie. arecord ...
0
votes
1answer
188 views

audio not working on virtual machine

I am implementing a virtual agent using java. My agent works fine on my local machine. But when i deploy to Virtual machine agent is not able to speak due to lack of audio mixers on virtual machine. ...
0
votes
1answer
353 views

downmix to mono on Linux

I need to downmix from stereo to mono (my system only has one speaker) on a raspberry pi running runeaudio. I tried to apply the solution here Force downmix to mono on Linux but it does not work in my ...
2
votes
1answer
8k views

kvm/qemu - Audio from windows guest to host without spice

I am trying to get my Windows 10 domain working with qemu using virt-manager. Everything seems to work fine (GPU passthrough, CPU), except when I am running the spice console in order to hear the ...
0
votes
1answer
930 views

Setting a default sound card in Kali Linux

I've been trying to get the audio working on my Kali box and it's been a lot of trouble. I have both a Intel HDMI and an Intel PCH card on the computer but both of them seem to be missing from the ...
0
votes
1answer
986 views

Create ALSA device with 1 channel from 2

I'm trying to use Linphone with my microphone, but the sound is very choppy. After messing a bit with arecord, I discovered that while the sound on my sysdefault device is choppy, recording on front:...
1
vote
0answers
204 views

pavucontrol level base vs 100%

trying to understand what is pavucontrol doing. On the screenshot you can see that there are volume sliders where one ca nchoose from base or another percent value. What is the meaning of base. In ...
2
votes
1answer
733 views

Capture audio output with alsa or similiar

I want to route (clone) my audio output (all sounds that are leaving the system through hdmi) to an virtual input device so I can capture the output (virtual audio cable). As said the output is hdmi ...
0
votes
1answer
1k views

virtual midi port route in rasbian

I'm trying to create virtual midi port on rpi3 with one channel input and one output. I'm first creating a virtual port using $ modprobe snd-virmidi snd_index=1 which I can see is created using $ ...
0
votes
2answers
9k views

How to configure PulseAudio to input/output via ALSA?

How do I configure PulseAudio to use only a single ALSA device for input and output? The default PulseAudio configuration causes PulseAudio to open all ALSA devices when it starts. This makes it ...
0
votes
1answer
781 views

Audio (mpd) direct to ALSA without pulseaudio (Debian 8 on old Mac laptop)

I've installed Debian 8.6 on an old Mac laptop (PowerBook G4) as a living-room music player. This machine sits on a shelf and does exactly one thing: play music using mpd. So I want it to do that one ...
0
votes
0answers
333 views

alsa snd_pcm_open segmentation fault

I am trying to open an audio interface on my desktop device, by calling the ALSA Api function:. int err; short buf[128]; snd_pcm_t *playback_handle; snd_pcm_hw_params_t *hw_params; if ((err = ...
-1
votes
1answer
600 views

Sound not working on Windows but works on Linux

I am facing a strange problem where sound isn't working in windows. I first faced this issue in Windows 10 when I started my PC after a month and voila there was no sound. I hadn't started my computer ...
1
vote
1answer
547 views

How manage 2 different sound card with alsamixer and asoundrc

I have 2 usb card, one is usb dac with speaker jack connected (and capture jack is not used) and another in microphone usb. I modified my asoundrc to play 2 sound together with dmix plugin, adapted ...
1
vote
1answer
763 views

Pulseaudio controls wrong volume bar - Xonar DSX

I'm using Archlinux with my Xonar DSX. My problem happens when I want to use my headphones, I just open Pulseaudio, in the Configuration tab I select the profile for analog output and so far so good. ...
2
votes
1answer
349 views

intel edison voice control - how to configure alsa

I want to implement a voice controlled wheelchair using Intel Edison. Basically I will say forward, left, right and stop to a microphone connected to the Edison board via the sound adaptor. For the ...
0
votes
0answers
598 views

Set volume using php exec and amixer

I wrote a little php script to control the volume of my local machine with alsa: <?php # for simplicity and testing it really just executes the command: echo exec('amixer set Master 5%+') . " \n"; ...