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]

ALSA (Advanced Linux Sound Architecture ) is an API of audio functions for the linux platform.

0
votes
0answers
10 views

Is it possible to feed an alsa plugin with the output of two separate plugins?

I have a configuration where two different audio sources go to specific, different, alsa chains. Let's call this chains A and B. At some point the next plugin (custom ladspa plugin) expects to be fed ...
0
votes
0answers
10 views

How to avoid delay when executing amixer (pulseaudio)? [on hold]

I am using amixer command to get system audio volume. It is shown in the statusbar. For some reason when the X starts there is small delay (2-5s) before amixer return any output. Then it performs as ...
1
vote
0answers
17 views

ALSA - Sound stopped working in Arch for USB sound card after upgrading KDE from 5.7 to 5.14

Yesterday, I upgraded KDE from 5.7 to 5.14 after having display issues because it turns out I had installed the wrong package. I had some trouble initially getting sound to work in 5.7, but I finally ...
0
votes
0answers
23 views

Sound not working in ubuntu 16.04

I am not able to get any sound. I tried a few approaches suggested here itself like this one. However I was unable to solve the problem. On trying to play a song using aplay -D plughw:0 some_file.wav, ...
0
votes
1answer
48 views

Sound issues after recent 4.18 kernel on Spectre x360

After upgrading to the 4.18 Linux kernel using Debian sid, I've been dealing with some sound issues that I haven't before the upgrade. After the laptop suspends, majority of the time (but not always) ...
2
votes
1answer
193 views

Debian dummy output alsa hooks failed

yesterday my audio working just fine. But, today after I upgrade packages using dist-upgrade pulseaudio detects no cards and just show dummy output in volume control. After some research I thought it'...
1
vote
2answers
89 views

Multiple problems with alsamixer after opening up laptop (no problems in other OSs)

This randomly started happening today. Yesterday I opened up my laptop to clean it out. I also disconnected the CMOS battery cable by mistake. When I open alsamixer in a terminal, the following ...
3
votes
1answer
184 views

Audacity doesn't work with pulseaudio anymore

Arch Linux, up-to-date. As so often, a -Syu upgrade broke things again. This time it's audacity. Usually audacity, and any other playback/record app would show up in pauvcontrol - Not audacity anymore....
0
votes
0answers
9 views

What is the meaning of fragments and fragment_size in PulseAudio ALSA modules?

Following advice on a blog post called Pulseaudio And Latency, I tried loading module-alsa-sink with special fragments and fragment_size parameters to ensure low latency. However, I'm not sure what ...
1
vote
1answer
25 views

About ALSA sound

The aplay command can determine the correct card and slot to play the sound. Can I use aplay before configuring /etc/asound.conf or .asoundrc? Or is it necessary to write this configuration before ...
1
vote
0answers
47 views

My audio stopped working suddenly in Debian/i3wm/alsa/pulseaudio

Once after i rebooted my laptop, my sound just stopped to work since then. I've already search a lot of solutions, the common solutions didn't suit my case. The auto-mute mode is disabled in ...
-1
votes
0answers
19 views

ALSA: PCMs of 8th and 9th card throw error on aplay

I have a Tinkerboard (5.36 user-built Ubuntu 16.04.5 LTS 4.4.156-rockchip) with 10 USB-Soundcards. All cards are recognized and shown when i run aplay -l. I have a template to generate the asound....
0
votes
0answers
59 views

Can't disable audio loopback in Ubuntu 18.04

I've got a Sony WH-H900N bluetooth headset that I'm having trouble to get to work properly on ubuntu 18.04. I get constant loopback from the microphone to the speakers, which really defeats the ...
3
votes
1answer
55 views

How to make new ALSA control appear in amixer

On an embedded Linux system I am creating a custom ALSA "soft volume" control as described here. The control itself works as expected, except that upon boot it does not show up in amixer. It only ...
0
votes
0answers
33 views

bluez, pulseaudio, and ofono crashes and problems in iMX8 - Wayland

I have been trying to develop an application that has media playback, media control, and telephony with i.MX8 QuadMax MEK board. I use Yocto fsl-imx-wayland distro, which uses Wayland desktop with ...
0
votes
0answers
90 views

How to setup a virtual mic and pipe audio to it from node.js

Summary: I've already asked this question on StackOverflow, it got some attention, but unfortunately no one was able to help out. I figure this is because ALSA devices are a fairly specific topic and ...
2
votes
1answer
74 views

How does PulseAudio determine which ALSA devices to make available or not?

PulseAudio usually does a pretty good job of determining what ALSA devices are available and setting them up automatically. When it doesn't, I'm not clear how this seemingly automatic linkage occurs. ...
0
votes
0answers
44 views

USB Audio interface makes terrible noises

As I have just recently switched to Debian, I have most things sorted out however, I cannot figure out this problem. I have a M-Audio MobilePre USB audio interface I've been using for years with no ...
0
votes
0answers
19 views

No sound input or output after enabling snd_aloop

I was trying to get CAVA to work by adding a loopback for sound (sudo modprobe sound_aloop). I was unaware that this disabled any and all sound output and input. I promptly disabled it (sudo modprobe -...
0
votes
0answers
24 views

disable switching sound devices after loading snd-aloop

I may have missed this in ALSA snd-aloop's documentation, but every time I execute modprobe snd-aloop, my sound card output and input automatically switches to the newly created loopback devices. Is ...
1
vote
0answers
33 views

Virtual audio device won't show up anymore (snd-aloop)

Archlinux on gnome 3.30. Until the most recent update (3.28 -> 3.30) I used snd-aloop constantly to create a virtual sound device. After the update and a system reboot however it doesn't seem to work ...
3
votes
1answer
130 views

Crackling sound with ALSA from an USB sound card after resuming from suspend

I run Arch Linux using Systemd and ALSA on a Thinkpad X200 and I have an USB sound card connected, which I use for audio output. The audio is fine until I suspend my machine with $ systemctl suspend. ...
1
vote
0answers
135 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, ...
3
votes
0answers
20 views

What am I missing in my kernel patch for ALSA to get EAPD to properly turn off this internal speaker? [closed]

I'm working with a picture-frame-like device manufactured by the late OpenPeak Inc. known as the OpenFrame (or O2 Joggler in the UK). It has an internal speaker and a 3.5mm line out socket; none of ...
1
vote
0answers
17 views

debian 9, gnome 3.2 audio device selector not working sometimes [closed]

Usually when i plug-in a headphone jack a window pops up asking if it's a headphone, headset or microphone. But sometimes after waking from sleep, or rebooting with the jack plugged in this stops ...
0
votes
0answers
32 views

ALSA: Zoom H4n Not Working as USB Audio Source on PC

Once upon a time, I was abe to plug in my Zoom H4n field recorder into my main PC and have it appear as another audio source inside Audacity for live recording. Worked great. Sometime in the last ...
0
votes
1answer
85 views

How exactly USB Audio will be detected in Linux? [closed]

How will the Linux detect that I connected a USB Audio Peripheral? If I connect a USB Charger it will charge my mobile and it does not show any Headset icon on my status bar(Android). But when I ...
0
votes
2answers
219 views

PulseAudio on Debian 9: How to adjust default sound volume level?

Every time I boot up my Debian machine the sound volume level is at 100 % (what is way too loud). I am using PulseAudio instead of Alsa. How can I adjust the default sound volume level to an ...
1
vote
1answer
161 views

Setting new default audio playback device for ALSA in .asoundrc

After looking for a solution for quite some time, I came here to ask. My problem is as follows. Most software can't play any sound. However, there are exceptions, Chrome and Discord can play audio for ...
1
vote
0answers
79 views

how to remove the alsa driver from linux kernel

I have taken reference alsa driver from https://alsa-project.org/main/index.php/Minivosc and driver code path from https://github.com/stadaki/alsa-minivosc-src . If I do a rmmod of aforesaid driver ...
2
votes
0answers
46 views

Inconsistent behaviour with udev and “su -c ”

I have a JACK server set up in my computer to take care of all the sound inputs and outputs. When I connect an external USB sound card (name: CODEC), I want it to be detected by udev, so I setup udev ...
0
votes
1answer
38 views

Does the dmix plugin convert to stereo automatically?

I am reading 1 channel audio data from buffer and writing to alsa for playback. I want to convert the PCM data from mono to stereo before writing out to the device. Is this handled automatically by ...
0
votes
2answers
93 views

Intermittent detection of sound cards in PulseAudio

I have a problem on one of my computers. The device has two soundcards, the internal one mounted on the mainboard, and an additional, relatively old PCI one I still like to use. The issue I'm having ...
1
vote
1answer
406 views

Route application's audio output to multiple playback devices

I have an application that I need to record audio coming from. For that purpose I am using pavucontrol to set the audio input for the recording software to the monitor of the audio output. Now my ...
0
votes
0answers
172 views

How to make alsa's dmix plugin work with file output as slave?

currently I have two sound sources, MPD server and bluetooth sink. Each directs its sound to a softvol device so I can change their volume independently and can also mix them together if I want. I ...
0
votes
1answer
28 views

MPD not detecting ladspa_plugin

I have MPD and a DSP module running in rpi debian jessie The DSP module helps to add system wide audio effects. Since the MPD creates its own user, mpd it is not identifying all the config which ...
0
votes
2answers
275 views

Sound stopped working all of a sudden

I have antergos and gnome as DE dual booted with windows 10. Everything was ok until I powered on the laptop and played a movie, there was no sound.(Also no sound when headphones plugged) There is ...
0
votes
0answers
730 views

No sound on Fedora 28 XFCE

After installing Fedora 28 XFCE I had sound (everything worked). I run dnf update and after reboot I have lost sound. PulseAudio plugin for panel says in tooltip "Not connected to the PulseAudio ...
0
votes
0answers
157 views

How to stream video on HDMI device using ffmpeg

I'm want to take mpegts from udp and out to hdmi using ffmpeg. Command I'm using is ffmpeg -hwaccel vaapi -i udp://<UDP_ADDR> -f alsa hdmi:0 This streams only audio on HDMI and not video. How ...
0
votes
0answers
63 views

Debian/Arch audio output not correctly after or before a restart

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) Subsystem: Lenovo Sunrise Point-LP HD Audio Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_skl ...
0
votes
2answers
41 views

Repairing a broken alsa

Can somebody give me the appropriate methodology in dealing with a broken alsa ? To be honest I don't know what happenned but that the computer went out of battery while sleeping (the pc not me), and ...
0
votes
1answer
88 views

Pulse Audio Virtual Sinks Changing on Alsa Underrun

I'm experiencing an issue that when ALSA gives an XRUN underrun, the pulseaudio virtual sinks for the output that i've set start changing. Description below: I've created three virtual sinks using ...
0
votes
0answers
21 views

Audio Keeps Randomly Turning Off

I've just installed a fresh new Debian 9 LXDE into an Acer AMD notebook. However, the speakers keeps randomly turning off after a couple of seconds from the startup (any time between 10~90s). ...
2
votes
1answer
679 views

Debian 9: Audio Issues

I've just installed a fresh new Debian 9 LXDE into an Acer AMD notebook and it seems that all the audio devices were correctly recognized: root@debian:~# aplay -l **** List of PLAYBACK Hardware ...
0
votes
1answer
34 views

Make arecord ignore aplay

I'm trying to create a kind of robot on my raspberry pi to answer my questions. At first I made it so that it only answered when it heard it's name, and it worked fine. But now I'm adding more ...
0
votes
0answers
295 views

Pulseaudio USB headset audio output working but microphone doesn't

I'm using a Sennheiser USB headset which worked out of the box for me a while back. Since I've switched to openSUSE Tumbleweed running MATE I'm having trouble getting the microphone input working, ...
0
votes
1answer
98 views

Set sampling clock frequency adjustment for PCM

If I am setting the sample rate as 44.1kHz, how does the ALSA driver decide the sampling clock from an embedded hardware? Which source file do I have to refer to for checking frequency adjustments of ...
0
votes
0answers
97 views

Linux and the Fender Mustang GT guitar amp series

Note: To ward off any of the inevitable confusion that can arise here it is important to distinguish the old series of Fender Mustang amps (has plenty of support and info on the internet) from the GT ...
0
votes
0answers
90 views

Split Alsa audio input between two FFMPEG instances

I have a single audio Line In that I need to share between two instances of FFMPEG. Alsa configuration is a bit wonky. Trying to get dsnoop to work but not understanding fully. Not even sure what ...
1
vote
1answer
121 views

synchronizing alsa volume to all pulse audio sinks

I control my computer's audio using key bindings linking XF86 audio key presses to amixer commands. This works well, unless I am listening through a non-alsa sink such as bluetooth-connected ...