Questions tagged [alsa]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
39 views

Error listening to audio on davinci resolve

I am getting these errors when trying to listen to audio on davinci resolve 18 on Debian. ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream This is the ...
owen's user avatar
  • 11
1 vote
0 answers
68 views

No sound issue in Zorin OS 16.2

I've installed Zorin OS to try it out because it's based on Ubuntu and I like the interface and other things in it but I have a problem. My sound card is recognized by Alsa and activated but I have no ...
Tanguy C's user avatar
0 votes
0 answers
131 views

OBS studio won't record audio only

I wanted to record only audio with OBS Studio. So I have created a new scene and added just Audio Capture Device (ALSA). Then I clicked on the Start recording...button. It recorded both screen and ...
Juandev's user avatar
  • 11
1 vote
0 answers
142 views

Buffer xrun in Alsa while ffmpeg streaming from certain sources

I am broadcasting the audio of my desktop PC (client here onwards) using the Pulseaudio RTP module: load-module module-null-sink sink_name=rtp_2_camilla channels=2 format=S16BE rate=96000 ...
Kerem Basaran's user avatar
0 votes
1 answer
78 views

Is there a way to control xfce-pulseaudio-plugin (pavucontrol) with command line?

Trying to setup media control shortcuts in Xfce (Play/Pause, Next track). I have xfce-pulseaudio-plugin which use pavucontrol. Is there a way to switch tracks via pavucontrol command line interface? ...
Pavel Trufanov's user avatar
0 votes
1 answer
153 views

Mono audio output with pulseaudio and alsa on embedded system

I am running an embedded system using pulseaudio and alsa. I need to downmix all audio inputs to a single mono output. I have seen other answers that involve modifying /etc/pulse/default.pa like the ...
Christopher Vollo's user avatar
0 votes
0 answers
330 views

I can't make my microphone work after switching to pipewire

I have just upgraded from kubuntu 22.04 to 22.10 , wich includes also pipewire as default. Now the microphone is behaving funny. Sometimes it doesnt pick audio at all, sometimes it stutters like crazy,...
Ceccoclat's user avatar
  • 319
0 votes
1 answer
436 views

Cannot get vlc to stream correctly through command line

I use the following command: vlc -I qt myfile.mp4 #standard{access=http,mux=ts,dst="8080/stream"} :sout-all :sout-keep and my error log is the following: VLC media player 3.0.16 Vetinari (...
Antonin GAVREL's user avatar
0 votes
0 answers
274 views

Cannot open audio capture... Device or resource busy

I want to start a program at system startup. This program is called picam and it records surveillance video and audio. The program works perfectly if I launch it from the terminal, but I want it to ...
PlayerWet's user avatar
  • 138
2 votes
0 answers
154 views

Really loud sound input on PopOS 22.04 on an old Positivo Sim+ laptop

My laptop (Positivo Sim+) is really old, but I never complained about audio input quality when I used Linux. Some BSODs later and a miraculous fix, I got my laptop again and installed Linux on it ...
Rafaelplayerxd YT's user avatar
0 votes
0 answers
400 views

Error when trying to do an audio test on Linux

I have connected a usb microphone to the Raspberry but I can't get it to work. In Windows it works perfectly but in Linux of the Raspberry there is no way. sudo arecord -l: **** List of CAPTURE ...
PlayerWet's user avatar
  • 138
0 votes
0 answers
311 views

Headphones not working on Ubuntu somtimes

So for work I got this nice laptop with Ubuntu running on it. Now when I try to connect the wireless USB headset I got with it, I get nothing... sometimes. I tried using the USB dongle a couple times. ...
Bob Michaelsen's user avatar
0 votes
0 answers
23 views

Unmute audio when pressing volume up on XFCE

I recently switched from Gnome to XFCE and the audio keyboard keys are acting differently and I don't know of to make behave like Gnome. For instance on Gnome, when the volume is at 0%, the keyboard ...
Liwinux's user avatar
0 votes
0 answers
98 views

Does the ALSA "plug" auto-conversion plugin interfere ondemand only?

Background We develop a Debian-based Linux distribution and some users face the issue that some audio sources cannot be played, because the sound card does not natively support the audio format. We ...
MichaIng's user avatar
  • 495
0 votes
0 answers
267 views

Why does `amixer set Master toggle` toggle both Master and Speaker?

Why does amixer set Master toggle mute both Master and Speaker? (or, if you have headphones plugged in, it will mute both Master and Headphones). Yet, when you run it again, it will not unmute both; ...
Zaz's user avatar
  • 2,365
0 votes
1 answer
219 views

alsamixer / amixer cannot control USB sound card (Tascam US4x4)?

I bought used TASCAM US4x4 It just works - and that is great. There're some issues: - cracking noise during CPU / IO intensive tasks running on PC - a glitch on first use in every session but these I ...
darkdiatel's user avatar
2 votes
2 answers
868 views

recording and monitoring Line In on Debian using alsa/amixer(/jack?), SB Audigy2 card

NOTE!!!!!! I'm giving up on solving this (at least temporarily) Installed another Audigy 2 - with an external unit. 2 out of 3 inputs work, but they are named incorrectly and there're problems with ...
darkdiatel's user avatar
1 vote
1 answer
204 views

Audio Device busy from service on systemd vs command line

A specific issue for me is using snapclient on a raspberry pi. I have snapclient running alongside a voice assistant. If I start snapclient using command line sudo snapclient -h 192.168.x.xxx -s 3 --...
Sip's user avatar
  • 11
-1 votes
1 answer
1k views

No Sound in Kali Linux 2021.4 on [ASUS TUF B560M Plus]

Hello I fresh installed Kali linux 2021.4 but it has no sound, [It was working on Windows] However I tried some stuff suggested by community: Added Following Lines in .bashrc pulseaudio -D clear ...
Gaming World's user avatar
0 votes
0 answers
38 views

After Linux OS upgrade audio is 20% quieter - how to get back to previous level?

I just upgraded my OpenSUSE OS and the volume output is not as high as before. I would say it's 20% quieter compared to before the upgrade. I'm guessing its a matter of selecting the right option for ...
riccs_0x's user avatar
  • 111
1 vote
0 answers
758 views

Python: How do I use alsa 'devices' like hw:0,0 and hw:1,0 in amixer to set the output volume?

I'm using subprocess.call commands like: aplay --device=plughw:1,0 test.wav aplay --device=plughw:0,0 test.wav to play sounds on my headset or speakers, and that works fine. I'm deriving the above ...
wpns's user avatar
  • 186
0 votes
1 answer
622 views

What is the PulseAudio virtual sink name for ALSA snd_pcm_open()

I loaded a PulseAudio module-null-sink, when I set it as system default output device, the ALSA snd_pcm_open(&pcm_handle, "default", SND_PCM_PLAYBACK, 0) can successfully open it. Now I ...
Alex Lau's user avatar
1 vote
0 answers
243 views

Linux ALSA intel_hda_snd on Celeron J4115

first of all thank you for the attention. I already uploaded info about my cconfiguration in the following link http://alsa-project.org/db/?f=10a60835f6027cf2e6eb06a319895739f2cccd34 The PC is a ...
skyglow's user avatar
  • 11
0 votes
0 answers
27 views

Only one side of my headphones works

The distro I'm using is Arch, and my headphones are Sony's WH-H910N model. These headphones are connected by a jack rather than using bluetooth, and they work properly with or without this jack on ...
metty's user avatar
  • 1
0 votes
1 answer
231 views

Accesssing, reading and writing other user's file and directory as my own

There are other answers like: centos - Linux: Create a user than can access other users' files - Super User, but they don't talk about accessing those files from GUI application. My question is more ...
Porcupine's user avatar
  • 383
1 vote
1 answer
398 views

Understanding ffmpeg recording input types from devices

Using pactl, I get the following sinks: pactl list sinks short # 0 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED Since there's but ...
eltbus's user avatar
  • 113
1 vote
1 answer
338 views

Capturing audio on a cloud VM (Debian)

I've followed a bunch of guides regarding ALSA, Pulseaudio, JACK, etc., but none have seemed to work. I'll be specific with what I'm trying to do. On a cloud-based Debian VM, I want to: Open a stream ...
Arthur Sommers's user avatar
1 vote
0 answers
817 views

VMWare no sound

I have Debian Buster amd64 installed as guest in VMWare Fusion on Big Sur host. My problem is, I do not get any sound. Sound output in principal should work (I also have a Win7 guest with working ...
dexamenos's user avatar
0 votes
1 answer
35 views

How can I be sure that my auido isn't down sampled?

I want to play audio without downsampling or without any resampling? How can I do that? My audio files are 192kHz and 32 bits. I wan to play those music files without losing quality. My DAC supports ...
Enes Doğan's user avatar
1 vote
0 answers
319 views

Sound not working on Alfawise X5 with Linux Kernel 5.4.0-60-generic

I have an Alfawise X5, which has two sound devices installed, one is HDMI sound delivered by the Intel Atom X5-Z8350 processor (a system on a chip, Cherry Trail series), and a headphone jack that ...
Bernd Wechner's user avatar
2 votes
1 answer
2k views

Pulseaudio loopback into headphones

I have headphones and a mic attached to my computer. My headphones are tight and block out external noise far too well, and so I find myself shouting at the mic. Is there any way of setting up ...
user208769's user avatar
0 votes
1 answer
724 views

Redirect arecord output and send it with netcat

I am trying to redirect sound from a microphone from one computer to another in my local network. I did following to achieve that In one terminal: arecord -t raw -c 2 -f S16_LE -r 48000 | nc -u #...
nmd_07's user avatar
  • 225
0 votes
0 answers
62 views

ALSA snd_pcm_hw_params_any crashed when auto-run from startup script

I downloaded the ALSA sample source codes (https://gist.github.com/ghedo/963382) and test running under putty window, it works. However when put into the startup script (eg. rc.local) with or without &...
runningdog's user avatar
1 vote
0 answers
675 views

how to use alsa device hw:0 on xubuntu

I have an audio processing sw designed to use alsa's hw:0 device. On my xubuntu machine I get the same error as this command line: $ aplay -D hw:0 440.wav aplay: main:830: audio open error: Device or ...
mastupristi's user avatar
1 vote
0 answers
26 views

Audio not playing in an application with setreuid() & setgid(), but works with sudo -u command

I have a Arch Linux system with alsa and pulseaudio configured. alsa is set to use pulseaudio default device. Pulseaudio is rumming with tcp module enabled on 127.0.0.1 and anonymous set to true. The ...
Anirban's user avatar
  • 131
1 vote
0 answers
2k views

Is there a way to improve sound quality in Linux?

Total noob here, I did do some research before posting this question here, been using Linux since long and not satisfied by the audio quality that the Windows Counterpart provides (proprietary Dolby ...
Sonia Anderson's user avatar
1 vote
0 answers
690 views

Clone sound from Chromium to ALSA Loopback and also speakers

I have working setup on my RPi3 B+ with Raspbian where is sound from Chromium browser send directly to ALSA Loopback device (enabled by modprobe snd-aloop as kernel module) by this Chromium's ...
Rohlik's user avatar
  • 63
1 vote
1 answer
1k views

How could I find out what sample rate/bit depth my headphones are capable of?

I'm using some USB headphones (Sennheiser GSP 350) and want to make sure that I am using the highest sample rate and bit depth possible for them. I ran pacmd list-sinks and it said that I'm using 16 ...
UnicornsOnLSD's user avatar
0 votes
1 answer
829 views

No audio devices under linux

I'm using Fedora 32, but the issue started from version 31: I simply do not see any sound device under Settings -> Sound.1 These are the outputs from commands I have seen requested on the internet ...
Keizer's user avatar
  • 1
0 votes
0 answers
337 views

Audio recording from two audio input and playing in 2 audio output simultaneously and real time

I have one Linux Machine with 2 USB speakers and a mic system. I want to record simultaneously from one mic and play in another speaker. Like, MicA recording will be played in SpeakerB and MicB ...
Dwitam Ghosh's user avatar
1 vote
1 answer
3k views

ALSA setting microphone levels

I have an USB handset that I am trying to record from and depending on settings I want to mute the device. The only controls that amixer provides is: amixer -D hw:1 Simple mixer control 'PCM',0 ...
Tony's user avatar
  • 141
1 vote
0 answers
301 views

ALSA/Pulse connect to microphone alias for remapping channels

I'm using Manjaro Linux, and I have a mono USB microphone that ALSA treats as stereo (It identifies it as a Q1U dynamic microphone, but it is a different mic that clearly uses the same DAC), with the ...
Myk Dowling's user avatar
0 votes
0 answers
81 views

Phantom jack detected in front panel

On my PC, dual boot (Windows, Linux) I have an annoying problem: from time to time (like every 15 seconds) my system(both windows, and Manjaro) detect the insertion of jack in the front panel. It also ...
rebellion's user avatar
2 votes
0 answers
3k views

"Non-monotonous DTS in output stream" when capturing video with ffmpeg

I'm trying to capture VHS video on Linux using a new USB capture device and FFMPEG.  I'm able to successfully capture either only audio (using Alsa), or only video (using v4l2) but when I try to do ...
Carini's user avatar
  • 31
4 votes
1 answer
236 views

ALSA not playing sound over speaker

I have an application that sends voice packets of PCM data from one node to another. The program also plays a wav file at the startup. The wav file is heard but none of my audio. I added the following ...
Tony's user avatar
  • 141
0 votes
1 answer
635 views

Issue with Bang & Olufsen speakers on Kubuntu 19.10

First of all, I am aware that this problem is very widespread and still hasn't been fixed, despite it being years old. I am also aware that this question is a duplicate of tens of other questions like ...
selamba's user avatar
  • 119
1 vote
1 answer
2k views

No Audio output in Linux Mint 19.2 Xfce 64x(Intel HDMI/DP LPE Audio soundcard)

I am using a fresh install on my laptop. After setup, there was no audio output and the pavucontrol app was giving me the message: Establishing connection to PulseAudio. PLease wait After hours ...
user avatar
0 votes
0 answers
55 views

How to mute only back panel audio?

I have a desktop PC where the front and the back panel are available. Usually the front is for headphone while the back for speakers. This PC's headphone detection is not working so I need to create a ...
Abdillah's user avatar
  • 141
1 vote
0 answers
246 views

no recording happens using bluez-alsa and sco profile

I am trying to record from Bluetooth headset. I have included bluez-alsa package along with my other yocto packages and compiled. when I try to arecord, the recording is not happening and a sound or ...
ASN's user avatar
  • 11
2 votes
0 answers
4k views

ALSA Error: ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card

Hey there dear community, I have been struggling with getting a Raspberry 3b+ and microphone setup to run for a few days now, interestingly getting the same error on both projects simultaneously even ...
de-recode's user avatar

1
2 3 4 5 6