Questions tagged [alsa]
ALSA (Advanced Linux Sound Architecture ) is an API of audio functions for the linux platform.
371
questions with no upvoted or accepted answers
17
votes
4
answers
7k
views
Microphone volume on USB soundcard very low, snd_usb_audio options?
I have a C-Media USB soundcard installed on my Raspberry Pi: Bus 001 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.. It is a USB cable with an XLR end on the other side, to which I have an XLR ...
7
votes
0
answers
1k
views
What is the proper way to declare the built-in microphone as mono?
I had some strange issues with the built-in microphone on a Lenovo IdeaPad 310-15IKB laptop under Linux Mint 19.1. For example, it was not working with Skype, but was working with Gnome Sound ...
6
votes
1
answer
2k
views
How to make Alsa Loopback device to work in Puredata
I'm trying to route an audio signal from an Airplay source (with Shairport-sync) to Puredata. To do so, I created a Loopback Device in Alsa. Then I set this virtual device as Shairport's output like ...
5
votes
0
answers
5k
views
Create virtual microphone and output sound to it
My goal is testing Video Room Application, so I'm going to create multiple virtual machines with virtual webcams and microphones.
Webcam is working fine with v4l2loopback, but microphone is not.
I'm ...
5
votes
0
answers
3k
views
Set maximum volume in Arch Linux
Recently, I purchased new over-ear headphones that have some really powerful speakers. I usually have to listen at ~4% volume to use them comfortably.
Each time I restart my computer, they move back ...
5
votes
0
answers
2k
views
Why don't I hear audio playing from my CentOS 6.5 Vagrant box?
I want to play a wave file from my CentOS 6.5 Vagrant box using aplay and of course I want to hear the sound.
This is what I do:
> aplay sine.wav
Playing WAVE 'sine.wav' : Signed 16 bit Little ...
5
votes
1
answer
5k
views
Is there an easy way to switch playback soundcards?
I recently purchased the roccat kulo headset which comes with a nice USB soundcard, completely functional under linux :). Howsoever I now struggle to easily siwtch between my laptops integrated ...
4
votes
0
answers
3k
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, ...
4
votes
1
answer
4k
views
Realtime volume normalization
I don't like having to adjust the volume when I'm steaming a movie, but it always seems like the dialogue is too low and the action scenes are too loud. So I'm looking for a solution.
Some background:...
4
votes
1
answer
3k
views
ALSA doesn't play on HDMI
I have Ubuntu 14.04.3 with kernel 3.16.0-48 installed on mini-PC Gigabyte GB-BXBT-2807. The chipset also integrates audio controller Realtek ALC283. I've been struggling to have my audio play over ...
4
votes
0
answers
2k
views
Share alsa capture device with alsaloop
I'm trying to 'share' the microphone input such that programs can have access to it.
Initial naive attempt.
In one terminal:
alsaloop -C hw:1,0 -P hw:0,0 -t 500 -c1 -A 5 -T-1 --resample -v
In ...
4
votes
0
answers
1k
views
Extremely loud crack and mangled sound over S/PDIF using ALSA
Sometimes it seems ALSA on my machine goes completely haywire:
Flash audio on Spotify doesn't produce any sound.
SMplayer plays audio just fine, or doesn't play at all (I've observed the latter today)...
4
votes
0
answers
1k
views
How to set up AMD Cayman/Antilles HDMI Audio (Radeon HD 6900 series)?
I've got an AMD Radeon HD 6950 card:
$ lspci | grep AMD
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cayman PRO [Radeon HD 6950]
03:00.1 Audio device: Advanced Micro ...
4
votes
2
answers
2k
views
Pulseaudio over network - change output on-the-fly
I successfully configured PulseAudio server and client to send audio over network.
It uses direct connection: http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index1h2
...
4
votes
2
answers
1k
views
Why does Arch Linux keep Windows headphone mute
I have Windows 7 installed, and headphones work perfectly.
Few days ago, I installed Arch Linux along with Win7.
This issue appears with gnome/xfce4/openbox. Perhaps it is not related to desktop ...
3
votes
0
answers
723
views
Microphone is detected, but no input from it
I am currently using Pop!_OS version 22.04 LTS. I was trying to get on a Discord call with a friend, but he couldn't hear me. I later discovered that it would detect audio out as the input.
I went to ...
3
votes
0
answers
1k
views
Merging two USB microphones into one stream using ALSA or PulseAudio
This is all very new too me and the question might be simple/stupid.
I have 2 USB microphones (with speakers) connected to a PC. Card 2 and 3 below.
arecord -l
**** List of CAPTURE Hardware Devices ***...
3
votes
0
answers
221
views
How to fix static noise in headphones on Dell XPS 13 9350 after new kernel patches
Dell XPS 13 9350 and 9360 have a long history of issues with static noise in headphones (see for example this other question).
A fix has been recently proposed and pushed to most new kernels. However,...
3
votes
0
answers
2k
views
Speaker-test returns Device or resource busy
Apparently pulseaudio is using the sound device, although it isn't installed.
Where should I start to dig?
speaker-test
lsof /dev/snd/*
fuser -fv /dev/snd/*
apt-get remove pulseaudio
output
speaker-...
3
votes
0
answers
1k
views
Specify alsa device name or aloop for system ouput audio to be used as input in ffmpeg command
I am using Debian 9 with its version of ffmpeg. This is my ffmpeg command I use to screen record:
ffmpeg -thread_queue_size 4096 -f alsa -i plughw:CARD=Device,DEV=0 -thread_queue_size 4096 \
-f alsa -...
3
votes
0
answers
1k
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 ...
3
votes
0
answers
1k
views
How do I use aplay and arecord to capture audio from the sound card line-in and then directly stream it to line-out?
I'm working with a Raspberry Pi hat sound card that has ADC and DAC with RCA line-in and line-out. I'm running Raspbian on the Pi.
I'm attempting to capture data from ADC and pipe it directly to the ...
3
votes
0
answers
607
views
Alsa/Pulse mute audio after a while with network sink on raspbian
Here is my setup :
Raspberry 3 with raspbian, connected to TV (video and sound) and connected to lan with ethernet. (pulseaudio 5.0)
Arch Linux Laptop and Desktop (Ethernet / Wifi) - (Pulseaudio 10)
...
3
votes
1
answer
264
views
Alsa virtual rawmidi port will only receive first and last midi byte of any message
I have been experimenting with the following code:
alsarawmidiin.c
The alsa rawmidi states that you can create a virtual rawmidi port by naming the input port "virtual"
So I compiled the code and ...
3
votes
0
answers
2k
views
Creative CA0132 no sound
I'm trying to get my sound card of my gigabyte g1 gaming ga-z170x-gaming 7 working.
I've installed fedora 23, kernel 4.4.7-300.fc23.x86_64, there is no sound, however hdajacksensetest -a shows my ...
3
votes
1
answer
836
views
Gentoo Linux: Enabling a mbeq equalizer for ALSA breaks application audio but works when tested with speaker-test
I am running Gentoo Linux using kernel Linux-4.3.3-hardened-r4 and my sound system is only ALSA, i.e. no OSS or Pulseaudio. I am trying to enable a system-wide equalizer, but since alsaequal never ...
3
votes
0
answers
204
views
ALSA skipping initially during playback
I have an ALSA configuration that provides the following at the moment:
Take default audio and make it mono
Pass through alsaequal
Expand audio to 4 channels, all mono
Split 4 channels between 2 ...
3
votes
1
answer
2k
views
Lenovo ThinkPad headphones trouble (combo jack)
Well... Sometimes ago I've bought a laptop Lenovo ThinkPad E555 with pre-installed Windows. I've removed Windows and installed Linux Mint 17.3. And now, sound through headphones does not work, only ...
3
votes
0
answers
2k
views
No sound through headphones despite pavucontrol (debian stretch)
After updating from jessie to stretch this week I found my heaphone jack no longer outputs sound, though my built in speakers work just fine. The puzzling thing is that everything seems to be in order ...
3
votes
1
answer
3k
views
I'm trying to compile alsa-driver-RTv5.18 but get date-time error for gcc 4.9.2
/home/user/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.c:1065:22: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
"Compiled on " __DATE__ " for ...
3
votes
0
answers
804
views
Linux sound: play back audio from input only on specific output device
I currently have a shairport (AirPlay) server which receives audio data and outputs it over optical SP/DIF (Toslink) via a USB-to-Toslink adapter.
This digital signal goes through an equalizer, and ...
3
votes
0
answers
535
views
Switching sound card without restarting the browser
Does anyone know if Iceweasel (Firefox) runs HTML5 audio/video in a separate process that can be restarted? With Flash I can restart plugin-container after changing the sound card in ~/.asoundrc. With ...
3
votes
0
answers
1k
views
USB MIDI keyboard (Oxygen 61) now not appearing in QJackCtl
I've had a USB Oxygen61 MIDI keyboard for awhile now, and it has worked fine in the past (maybe a month ago, last I tried). But now when I plug it in, it no longer shows up in aconnect -l, and I can'...
3
votes
0
answers
3k
views
Fedora - Integrated microphone not working
I just installed a fresh Fedora 21, my system is now up to date.
Now, my problem is that my integrated microphone is not working.
I tried several different fixes that doesn't work (install and ...
3
votes
0
answers
1k
views
Recording loopback doesn't work with alsa
I want to record a sound from speakers, not a microphone in my Linux desktop. I'm using Centos 7.
I searched this subject and found this thread but it only partially works.
I edited my .asoundrc ...
3
votes
0
answers
771
views
Android w/ Glibc stack, how can I set-up audio w/ nvlc? Is it possible with ALSA(Debian)?
With the help of the book "Embedded Android" by Karim Yaghmour I managed to learn enough about Android's build process last fall. With enough fiddling around and Google'ing I learned a ...
3
votes
1
answer
1k
views
Internal microphone not working.. again (Fedora 20, KDE, HP 8460p)
Unfortunately I have yet another "adventure" with my internal microphone. Everything is un-muted in alsamixer, as well as in pavucontrol. It is not the first time it stopped working, but now - for ...
3
votes
0
answers
3k
views
Pulseaudio and Pavucontrol very unstable
I've recently installed ArchLinux on my desktop, together witht the GNOME3 Desktop.
I installed pulseaudio and pavucontrol, which both seem to be very unstable. First I couldn't get my headset to ...
3
votes
1
answer
3k
views
ALSAEQUAL runs, but sliders do not seem to affect audio
I want to have an equalizer that lets me easily adjust sound for listening to music on my laptop with headphones. I'm trying to install ALSAEQUAL since it seems that this is the preferred tool for ...
3
votes
0
answers
4k
views
How should I enable the trace log for ALSA hda_unsol_event?
I have reported an ALSA kernel bug and have been asked to "enable tracepoints" and "check the response of hda_unsol_event". I was directed to the kernel docs for instruction, which say:
Except ...
3
votes
0
answers
892
views
Why does skype not pick up my microphone?
I've got skype running (32 bit mode) on Slackware64 — the sound is fine but my mic is not able to be detected. KMIX shows that my mic is enabled, and I can hear myself when I test it.
Some ...
3
votes
1
answer
2k
views
Setting up surround sound with optical out
I have Centos 6.3 running on this pc. The built in sound card is detected normally and is a 7.1 card with all speakers listed. It includes a optical out as well as HDMI for the built in video. It ...
3
votes
2
answers
2k
views
Alsa mixer for assigning specific apps to a specific soundcard?
I am looking for a Alsa mixer GUI for Xfce (or better yet, desktop-independent) to replace PulseAudio Mixer. While I'm happy with the latter, my USB DAC is very poorly handled by PulseAudio and I need ...
2
votes
0
answers
269
views
Alsamixer settings reset everytime headphones are plugged in/unplugged
I'm on KDE Neon using Kernel 5.15.0-70-generic.
I recently started experiencing a problem where every time I unplug or plug in headphones, my settings in alsamixer reset to some point in the past. ...
2
votes
1
answer
473
views
How to split phyical input device into multiple virtual ones using PulseAudio/ALSA?
So i have audio interfaces with 18 input channels each. Data from these devices is fed through a C++ program using a library called PortAudio. Problem is that when i start going above 13 channels per ...
2
votes
0
answers
359
views
My built-in laptop's speaker is always unavailable and my headphones are always plugged in
After the newest KDE Neon update (5.24.1) (IDK it has something to do with the update) my built-in laptop's speaker is always unavailable, and it says that my headphones jack are always plugged in, ...
2
votes
1
answer
1k
views
no sound on iec958 S/PDIF input - sound card USB CM106
Issue :
no sound on digital input S/PDIF / IEC958.
Device / software :
USB external sound card : CM106 - Ubuntu 20.04 LTS - GUI : Gnome-FlashBack
Config audio :
FreeBox Player (french internet TV ...
2
votes
0
answers
2k
views
ALSA/Pipewire: Make both internal speakers and headphone jack visible for selection
I am running Fedora 35 (previously 34) on a laptop. All is well except that I can't make the system auto-detect the sound card. So I manually created the ~/.asoundrc file:
defaults.pcm.card 0
defaults....
2
votes
0
answers
2k
views
No sound on Ubuntu 20.04 , only Dummy Output on Huawei Matebook D16
I am having a problem with my audio where neither internal speakers, microphone and headphone jack show up as output/input options, only HDMI shows up. I have Ubuntu 20.04 installed with dual boot ...
2
votes
0
answers
717
views
No sound over HDMI with Nvidia GPU
Disclaimer: yes I know there are tons of posts on this and other forums about pretty much the same. I have been through many of them and I can't figure out what is wrong.
Any help would be appreciated....