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
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
1answer
10 views

MPD gives no audio from HDMI on PI-zero

I run MPD on a PI-zero. When configured the audio systen to analog (3.5mm jack) it runs ok. But when changed to HDMI and a HDMI splitter no sound comes out. When using “aplay” or “speaker-test” all is ...
0
votes
1answer
19 views

ALSA behaviour on stereo mic during process suspend

Goal Suspend a Python process listening to pcm.record_right (for Google-Assistant) Continue using pcm.record_left in a different python process (for Snowboy hotword detection) Use Case I want to ...
0
votes
0answers
22 views

Why alsa can't play sounds (Playback open error: -16,Device or resource busy)?

I built a new system based around the ASUS ROG STRIX B350-F, and transferred my hard drive from the old system without changing anything. At first, I got no sound due pulseaudio selecting the HDMI ...
1
vote
1answer
22 views

ALSA Check if spdif plugged in / active

Is there any way in alsa / libasound to check whether the SPDIF In actually has a device connected? I'm currently using a Raspberry Pi with an USB sound card to merge the audio from my PC coming in ...
1
vote
0answers
26 views

No sound in Debian 9 for most of the start ups of the system (sound card is recognized)

I installed Debian 9 64-bit a couple days ago in a Compaq Presario desktop. Everything was going ok until I found that there was no sound. Initially this was solved with a reboot. Unfortunately in ...
0
votes
0answers
9 views

Is my Speechmatic USB MultiAdapter recognized by the kernel?

Alsamixer shows my Speechmatic, but it doesn't work in any application. I have .asoundrc set to device 1, and it works with other USB sound cards, like my Logitech, but not this one. I think I have ...
0
votes
1answer
30 views

Alsa and alsactl: init, store and default configuration of control file

The target kernel is: 2.6.35.14 (old) and its running on an embedded platform and the codec is a wm8753. I am trying to understand how the alsactl system works. I found a file asound.play @ etc/alsa ...
0
votes
0answers
22 views

Alsa - dmix, softvol config?

I want to acheive the following: A USB DAC is connected to a linux box. So far no issue... card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: ...
0
votes
0answers
33 views

PopOS - Headphones making Heart Beat sound while plugged in

Since this morning my headphones have been making a "Heart Beat" thumping noise while plugged in. No sound plays through them. Sound plays normally through laptop speakers. I am running Pop!_OS ...
1
vote
0answers
53 views

ALSA Lib and Fork Support Errors in Personal assistant -Python - Raspbian [closed]

My personal assistant built on python was working fine till few days ago. Now it is producing these errors. I am working on raspberry pi with OS Raspbian. E1123 17:07:41.305739108 3048 fork_posix....
2
votes
0answers
172 views

How can I get my laptop's internal speakers to work correctly on NixOS?

As far as I can tell, the subwoofers on my Lenovo Yoga C930 aren't being engaged at all on NixOS, which results in a really flat sound. The speakers sound great when I reboot into Windows 10. How can ...
0
votes
0answers
81 views

Trying to send midi audio to Discord on Xubuntu

I have a casio keyboard which doubles as a midi controller, and I want its audio to go through a discord voice call. I don't have an audio-in jack, or else this would be trivial, so I'm going the usb ...
0
votes
0answers
36 views

Alsa: Surround audio with an HDMI splitter

Running Gentoo Linux on a laptop. I have a displayport output hooked to an HDMI -> HDMI + Toslink spitter. The toslink goes to an old Onkyo that can receive 7.1 direct pcm or AC3, DTS, etc. The HDMI ...
1
vote
0answers
52 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
1answer
127 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
288 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
145 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
453 views

Audacity doesn't work with pulseaudio anymore

UPDATE: Today's upgrade to alsa-lib-1.1.7-2 fixed the issue. (2018-11-23) Arch Linux, up-to-date. As so often, a -Syu upgrade broke things again. This time it's audacity. Usually audacity, and any ...
0
votes
0answers
27 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
31 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
112 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 ...
0
votes
0answers
188 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
65 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
81 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 ...
2
votes
1answer
159 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
41 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
42 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
95 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
230 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
365 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
31 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
22 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
60 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
247 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
422 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
292 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
113 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
50 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
67 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
141 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
878 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
237 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
47 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
490 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
874 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
183 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
67 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
53 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
145 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 ...