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
7
votes
2 answers

cannot start android emulator on AWS linux

Cannot start android emulator on AWS linux .. Getting this exception : "android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libpulse.so.0: cannot open shared object file: No such file or…
6
votes
1 answer

Streaming PulseAudio to file (possibly with GStreamer)

I'm on Ubuntu and I want to record PulseAudio output to a file, to make a recording of a pygame program. The format doesn't matter, because I can change it afterward, so raw audio is fine. Looking around, it seems like GStreamer may be able to…
Cosmologicon
  • 2,127
  • 1
  • 16
  • 18
6
votes
0 answers

How to record Video with Audio from a puppeteer instance from a docker container

I'm trying to build a simple server that basically: opens a webpage with a puppeteer instance. records the webpage and save the video file. I was able to implement this with puppeteer-stream and it works perfectly locally. While trying to put this…
6
votes
3 answers

pulse audio using too much cpu

I'm running a Centos 7 desktop with gnome, although similar issues regularly come up with Arch and other distros. When I checked my cpu usage via top, pulseaudio was using nearly 20% cpu. I hunted around for solutions and there were a lot of…
JHiant
  • 519
  • 5
  • 11
6
votes
2 answers

porting pulse audio on Android

I am planning to port pulse audio on android. I have compiled it on ubuntu after removing the optional parts (like X dependency, oss support etc) and I am able to remote my sound to a network server (running windows-7). Now I want to port this to…
John Smith
  • 1,351
  • 3
  • 16
  • 21
6
votes
3 answers

Ansible: Run command as different user but not with sudo

My overall aim is to restart pulseaudio for a specific user via ansible (so if you have a better idea how to do this, I am open to hear it :) ) I want to run the following command as the user myuser, and according to pulseaudio this should not be…
ahorn42
  • 175
  • 2
  • 7
6
votes
1 answer

pactl called from systemd service always reports "pa_context_connect() failed connection refused"

I've setup a systemd service file to perform some pactl operations at system startup for a test process. While the commands work fine when performed from a terminal I always get "pa_context_connect() failed connection refused" when running the same…
Chris Morgan
  • 1,277
  • 1
  • 13
  • 33
6
votes
1 answer

Pulseaudio to output RTP to internet

I want pulseaudio (remote instance) to push audio sent to the primary alsa device straight to RTP over the internet so that I could listen to it on VLC on my home computer. in my /etc/pulse/default.pa load-module module-rtp-send…
Justin
  • 367
  • 1
  • 5
  • 15
5
votes
0 answers

How can I use a virtual audio sink on an android emulator in headless mode? Getting pulseaudio init error when launching emulator

I have a virtual sink on my host machine. pulseaudio is running as a system wide daemon. When trying to launch an emulator with the follow command: emulator -avd emulator -no-window I get the following output: pulseaudio: Failed to initialize PA…
dom
  • 51
  • 2
5
votes
3 answers

Why does aplay work when pulseaudio is running and else not?

I have a ubuntu install with pulseaudio default installed. When pulseaudio is running this works: aplay -D hw:2,7 /usr/share/xbmc/sounds/Bursting\ Bubbles/nav.wav But when no pulseaudio daemon is running it doesn't. The command doesn't give an error…
Leon
  • 841
  • 3
  • 10
  • 21
5
votes
0 answers

Is there a way to enable `module-suspend-on-idle` only for specific sinks

I have an HDMI sound card device that is extremely slow to exit suspend. The primary problem this creates is when I'm not playing any audio on my machine, any brief audio alerts wakeup the card, but are not produced by the speaker. Any subsequent…
Luke
  • 81
  • 1
  • 6
5
votes
3 answers

how to read out volume level of clients of pulseaudio in the console

I would like to read out the volume of the audio played at the moment for the several clients of pulseaudio. The problem I like to solve is the following: I'm listening to music in xmms, then I put it on pause, to listen to a song a friend sent me…
markijbema
  • 3,985
  • 20
  • 32
5
votes
0 answers

pygame.error: > No available audio device when running pygame inside systemd with pulseaudio

I want to run pygame mixer inside systemd, i used this code as an example: from pygame import mixer import signal,sys,time def signal_handler(signal,frame): global inter inter=True sys.exit(0) signal.signal(signal.SIGINT,…
MOHAMMAD RASIM
  • 335
  • 1
  • 6
  • 14
5
votes
1 answer

ALSA vs PulseAudio - Latency Concerns

Good day, I have been debating some details with a colleague about ALSA vs PulseAudio, and need some help coming to a conclusion with it. It's to my understanding that ALSA is relatively low-level, and talks directly to the hardware, while…
Cloud
  • 18,753
  • 15
  • 79
  • 153
5
votes
1 answer

Audio Data IO using Numpy/Scipy and PulseAudio

I've done a little digging and most of the python interfaces to PulseAudio seem to deal with sound server control, not audio data. I want to get data from numpy arrays out to speakers via PulseAudio and get sound from mic inputs into numpy arrays…
justinzane
  • 1,897
  • 1
  • 26
  • 38
1
2
3
24 25