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
0
votes
1 answer

Check if microphone is already being used with C on Linux

I was playing around with the Pulseaudio API and due to my little knowledge on how the sound system works, I'm not really understanding why it's possible having multiple applications using the mic at the same time. Or to better phrase it: why the…
polslinux
  • 1,739
  • 9
  • 34
  • 73
0
votes
1 answer

Pulseaudio no audio via bluetooth a2dp connection buildroot

Edit: I discovered, that if I run parec | paplay --raw it does play back properly. How is this possible? There should be just a simple module-loopback error or something like that. I´m using the CHIP SBC from getchip.com to build an embedded…
PhoGGy
  • 23
  • 6
0
votes
1 answer

PulseAudio static noise for 10 minutes after boot

I am building a Bluetooth audio receiver as an embedded system with the CHIP sbc (single board computer) from getchip.com. Pretty similar to Raspberry Pi, runs Debian Jessie, too. I am using the onboard 3.5mm jack as an audio output. I configured…
PhoGGy
  • 23
  • 6
0
votes
0 answers

Using pulse audio to share an audio stream

I have an application reading and writing audio to a USB audio interface (FreeSWITCH's mod_portaudio). I need to be able to monitor this audio in another application, but the device is locked. As I understand it, pulseaudio should do this for me.…
user4893295
  • 533
  • 6
  • 25
0
votes
0 answers

Can PulseAudio/ALSA work without built-in soundcard?

I am new to PulseAudio and ALSA, so please go easy on me. This might seem like a dumb question, but it is quite important to have it answered. I am developing application on ARM imx6 board (lets call it BOARD1), with built-in sound card support.…
pavanpadawan
  • 66
  • 1
  • 8
0
votes
1 answer

Get the Monitor sink of the current active output in PulseAudio

I am trying to record desktop audio using the simple API from libpulse. Audio playback works fine with the simple API, but what I need to do is: Find the correct Monitor sink for the current active output to use it with pa_simple_new as dev. Anyone…
Nidhoegger
  • 4,973
  • 4
  • 36
  • 81
0
votes
1 answer

Record computer sounds with PulseAudio and C/C++

Is there a way to record all the sound that is played on a Linux Machine using PulseAudio? E.g. like Stereomix in Windows. I dont want a complete Program, I just need some entry point to start my researches. Somehow I do not find very much regarding…
Nidhoegger
  • 4,973
  • 4
  • 36
  • 81
0
votes
1 answer

No analog audio output in X11

I'm working on a game written in pyglet. On my dev laptop using Fedora23 when I run it I can hear music/fx coming out my analog port, I have the default windows manager gnome3. As test I installed it in a PC that will be used once it's finished. We…
NiBE
  • 857
  • 2
  • 16
  • 39
0
votes
2 answers

RasberryPi A2DP Sink - pause issue (PulseAudio, Bluez)

I'm trying to create a Bluetooth A2DP sink (receiver) then output the audio to a vorbis radio stream (LAN only). Basically I want this as a bluetooth add-on to a squeezebox (squeezelite) multi-room music system. The A2DP-sink-radio-transmitter is a…
Mark One
  • 41
  • 6
0
votes
1 answer

[Pyo/Jackd/PulseAudio]: Jack Error: Unabel to create JACK client (CromeOS/CROUTON/Precise)

Trying to get the PYO music module to work on my Chromebook (Chroot Dev) (ARM7 processor) (Precise Penguin/ubuntu 12.04) pyo: >>>import pyo pyo version 0.7.7 (uses single precision) >>>pyo.Server(audio='jack').boot() Due to the ARM processor and…
user2255757
  • 756
  • 1
  • 6
  • 24
0
votes
2 answers

how to run alsa application without killing pulseaudio?

I am writing an application that uses alsa. I have to kill pulseaudio each time I run my program, otherwise I have a "ressource busy" error message. I use the "default" device in my alsa program. Here is my asoundrc: pcm.!default { type…
Brahim
  • 808
  • 1
  • 8
  • 17
0
votes
1 answer

PulseAudio:sound recorded but plays annoying sound

I'm new with PulseAudio. I'm trying to make simple programs. One would record the sound and save it in baniry file, and the other one should open it and play. Here is my code for recording: #ifdef HAVE_CONFIG_H #include…
Ojs
  • 924
  • 1
  • 12
  • 26
0
votes
1 answer

How to get list of playback processes in PulseAudio

How do I get the list of the playback processes that are currently monitored by pulseaudio control via terminal? I wish to get the process names or pid of System sounds and gmusicbrowser.
goelakash
  • 2,502
  • 4
  • 40
  • 56
0
votes
0 answers

Php exec returns empty array on very specific command

In the following: exec('sudo -u myuser pactl list sink-inputs 2>&1', $output, $err); $output is an empty array and $err is 0. Any other command works fine, for example sudo -u myuser pactl info or sudo -u myuser whoami work just fine and return the…
Yorrd
  • 726
  • 1
  • 7
  • 20
0
votes
1 answer

Direct linux machine audio to java program

I need to write some java code that will listen to the audio that other processes produce. I've looked around and it seems I should use PulseAudio. If I am not mistaken, I need to define a sink that will be my java process, and tell the source…
reformy
  • 989
  • 2
  • 10
  • 19