Questions tagged [pulseaudio]

PulseAudio is a sound system for POSIX OSes, it is a proxy for your sound applications. It allows you to do advanced operations on your sound data as it passes between your application and your hardware. Things like transferring the audio to a different machine, changing the sample format or channel count and mixing several sounds into one are easily achieved using a sound server.

PulseAudio is sound server for linux proposed to replace OSS. It allows input from multiple applications and perform mixing before forwarding it alsa. PulseAudio provide userlevel tools for more control over audio. PulseAudio is bundled with ubuntu and other linux OS by default.

369 questions
4
votes
3 answers

Setting up PulseAudio in QEMU

I have a Windows 10 Pro virtual machine using KVM. It is set up through virt-manager using the latest version of libvirt and QEMU. All of this is running on Manjaro Linux 20. Manjaro defaults to using PulseAudio for its audio output (at least for…
Revvz
  • 455
  • 1
  • 6
  • 14
4
votes
2 answers

Running pulseaudio inside docker container to record system audio

I'm trying to set up a Docker container with Selenium that takes a recording of the browser with system audio using ffmpeg. I've got video working using Xvfb. Unfortunately, on the audio side, it seems to be more tricky. I thought I would set up a…
XXLuigiMario
  • 125
  • 1
  • 8
4
votes
2 answers

Sharing a microphone audio stream on Linux

As much as it matters my scenario is developing an accessibility application not any kind of malicious eavesdropping, whereas also within this scenario there are various research and development implied scenarios, all of which should greatly benefit…
matanster
  • 15,072
  • 19
  • 88
  • 167
4
votes
1 answer

How to redirect an audio stream to a virtual pulseaudio microphone with ffmpeg?

How to create a virtual pulseaudio microphone with ffmpeg? I have a mkv file and with v4l2 I am able to redirect the video stream to a virtual webcam device, here /dev/video0. ffmpeg -i myfile.mkv -f v4l2 /dev/video0 Now, in the same time I want to…
azmeuk
  • 4,026
  • 3
  • 37
  • 64
4
votes
2 answers

Pulseaudio set/check default source

So the question is, How can I set the default source? How can I list the current default source? Details I have 4 sound input sources on my linux device. Here is the result of pactl list sources: 1 alsa_input.pci-0000_00_1b.0.analog-stereo …
Sky.Li
  • 497
  • 1
  • 6
  • 16
4
votes
0 answers

Is it possible to connect to Windows 10 WSL to the laptop microphone?

I need to stream the laptop mic into the WSL environment. Install pulseAudio successfully on both windows and WSL - but my program still can't connect to the mic: (node program under WSL): var record = require('node-record-lpcm16') let stream =…
user1025852
  • 2,684
  • 11
  • 36
  • 58
4
votes
1 answer

How to Stream Audio to Raspberry Pi via PulseAudio RTP Unicast?

I am trying to stream audio from a Linux Mint Desktop to a RaspberryPi 3B running LibreELEC (Kodi) using PulseAudio RTP. I can successfully stream the audio with RTP multicast: Desktop: pactl load-module module-null-sink sink_name=rtp pactl…
sunblade
  • 131
  • 1
  • 7
4
votes
0 answers

Recording microphone with SDL2 gets delayed by 2 seconds

I am recording my microphone with SDL2. Somehow the callback is called after about 2 seconds. I expected it to be called immediately. If'd I create a callback for my speaker it'll be called immediately. Here is a MWE where I get the delay: #include…
Peter
  • 41
  • 1
  • 3
4
votes
1 answer

ffmpeg pulseaudio output options (device)

I need to use some of the documented pulseaudio options for ffmpeg such as the device. The example from the documentation works, but only sets the stream name: ffmpeg -i INPUT -f pulse "stream name" I have a sink named playback-device which I want…
Roger Binns
  • 3,203
  • 1
  • 24
  • 33
4
votes
1 answer

Docker: JACK server is not running

I'm running a host of docker containers with ROS, for controlling a robot. One of the container has to play some audio files through the sound_play package. However it returns the error Cannot connect to server socket err = No such file or directory…
agakshat
  • 176
  • 3
  • 7
4
votes
1 answer

Pacmd command to mute all, open a sound file, then unmute all

I'm an arch linux user and I had a dream. Make a keyboard shortcut that will play a rimshot (Ba Dum Tsssss) when pressed. After some researches it appears that pacmd is the best option to do so, but I have no idea how it works and the man page is…
Lord Vlad
  • 41
  • 4
4
votes
1 answer

Ubuntu volume increase/decrease notification missing

The volume increase/decrease indicator went missing after installing pulseaudio and libnotify-bin. The brightness indicator is still working though. How do I get the volume notifier back in LUbuntu 14.04? Image: http://postimg.org/image/wtu9etuk3/
Prabin Timsina
  • 2,131
  • 3
  • 16
  • 27
4
votes
2 answers

Record local audio in a docker container

How can I record the audio of an application like Firefox inside a docker container with ffmpeg? I've found examples how to forward pulseaudio to the host - netflix, skype. When I'm trying to use pactl: pactl list sources Or docker exec -it…
pablo
  • 2,719
  • 11
  • 49
  • 67
4
votes
3 answers

Capturing sound on Linux with low latency

I want to capture audio on Linux with low latency in a program I'm writing. I've run some experiments using the ALSA API, using snd_pcm_readi() to capture sound, then immediately using snd_pcm_writei() to play it back. I've tried playing with the…
Paul Steckler
  • 617
  • 5
  • 19
4
votes
2 answers

Pulseaudio not detecting bluetooth headset

I am trying to connect a bluetooth headset to my RPI. My setup is the following: archlinux-arm, kernel: linux-raspberrypi 3.12.23-1 bluez4 4.101-4 from AUR, built and installed bluez-tools 0.1.38-3 bluez-utils 5.20-1 pulseaudio…
bosnjak
  • 8,424
  • 2
  • 21
  • 47
1 2
3
24 25