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

PulseAudio: Get current volume of source (microphone)

I need a way to get the current "loudness" of a microphone via PulseAudio (via bash). And I mean the volume of the sound that is picked up by the mircophone. I want to replicate a volume meter, like you see it in pavucontrol.
Parakoopa
  • 51
  • 8
2
votes
1 answer

How to prevent QAudioInput from automatically boosting the master volume to 100%?

I'm trying to use Qt5 Multimedia to record audio with QAudioInput. I noticed, however, that when my QAudioInput starts, it raises the master volume of my sound device to 100%. How can I prevent QAudioInput from changing the master volume? My current…
Joshua
  • 1,148
  • 3
  • 17
  • 34
2
votes
0 answers

ProjectM-pulseaudio streams and audio gain

I'm using the ProjectM audio visualizer on Linux. I'm running Ubuntu and Pulseaudio, and so I'm using the projectm-pulseaudio binary. Sadly it seems that development on ProjectM has ceased, and there's nothing else like it available for Linux that I…
tremby
  • 9,541
  • 4
  • 55
  • 74
2
votes
1 answer

any command to release devices using pulseaudio

i am totally new to pulse audio and alsa. the situation is this: i have mpd compiled for alsa. this is embedded system and pulse audio plugin for mpd is not available. when i DO NOT start pulse audio, mpd runs fine using alsa as soon as i start…
Shrouk Khan
  • 1,440
  • 6
  • 27
  • 53
2
votes
1 answer

Playing multiple streams using libpulse

How to play multiple audio streams using libpulse. I know it is possible by summing multiple streams and playing using libaudio but is it possible to write multiple streams on lib pulse api and have PulseAudio do the summing?
Ibrar Ahmed
  • 1,039
  • 1
  • 13
  • 25
2
votes
1 answer

can IcedTea's Pulse Audio implementation of Java Sound be taken from OpenJDK and run on Sun Java

I have found Sun's implementation of JSAPI on Linux to be beyond awful. To put it mildly. The Pulse Audio implementation, courtesy of IcedTea, has some quirks but offers much better performance overall. My only problem is that I don't want to force…
Yuvi Masory
  • 2,644
  • 2
  • 27
  • 36
2
votes
0 answers

pulseaudio module causes asserts on 32 bit machines (max_latency <= (10*((pa_usec_t))

I am compiling module-virtual-sink.c that comes with pulseaudio 1.1 on Ubuntu 32 and 64 bit platforms running pulseaudio-1.1. When I load the module on 32 bit machines I get the following assertion: Dec 15 07:57:53 ubuntu pulseaudio[12541]:…
yaronkle
  • 133
  • 1
  • 9
2
votes
1 answer

How to find the right RAW format

I have this code SNDFILE *sf; SF_INFO info; int num_channels; int num, num_items; int *buf; int f,sr,c; int i,j; FILE *out; /* Open the WAV file. */ info.format = (SF_FORMAT_RAW | SF_FORMAT_PCM_16); info.samplerate = 44100; info.channels = 2;…
Brutus Cruciatus
  • 404
  • 3
  • 18
2
votes
1 answer

Sending to two Bluetooth Speakers at once

Is it possible to send the same audio signal to two different Bluetooth speakers at once from a single source? I remember reading somewhere that it's possible to send audio to two different sinks using PulseAudio, but I'm not sure if that applies to…
Scott M
  • 417
  • 5
  • 16
2
votes
1 answer

Compiling pulseaudio on Mac OS X with CoreServices.h

I'm trying to compile pulseaudio on Mac OS X, however by default I get lots of errors about not finding standard files like inttypes.h, errno.h or stdio.h. Putting -isystem/usr/include in CPPFLAGS fixes those errors, but then later on I get fatal…
Adam M-W
  • 3,509
  • 9
  • 49
  • 69
2
votes
3 answers

winapi audio output

I am searching some alternative of pulseaudio for windows. Under linux there is very simple way to output raw sound (with pulseaudio): pa_simple_write(pulse, data, bufferSize, &error); It's work perfect with small buffers, that i send to function…
DEgITx
  • 960
  • 1
  • 13
  • 24
1
vote
2 answers

What does, 'AL lib: pulseaudio.c:612: Context did not connect: Access denied' mean?

I'm getting the following error when running a simple OpenAL program: AL lib: pulseaudio.c:612: Context did not connect: Access denied Interestingly, if I try playing audio then it plays correctly, although it sounds slightly distorted. Below is…
Pubby
  • 51,882
  • 13
  • 139
  • 180
1
vote
1 answer

How to play sound in MFC using Visual C++?

I would like to implement base band signal processing algorithms on my PC using my microphone input and speaker output. Which library do I need to use open/read/write audio equipment on Windows 7 64 bit? Can I do with MFC, or do I need to use a…
albin
  • 773
  • 1
  • 8
  • 27
1
vote
2 answers

How to synthesize sound in Java?

I'm trying to write a custom synthesizer in Java on a Ubuntu 11.10 laptop. Here is my code: package com.sibbo.audio; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.Clip; import…
Sibbo
  • 3,796
  • 2
  • 23
  • 41
1
vote
0 answers

No audio playback using Selenium with Selenoiod docker run on AWS EC2

Issue: Audio not working in Chrome when using Selenoid Docker with remote WebDriver Description: As an automation developer, I am currently facing an issue with audio playback in Chrome when using a remote WebDriver with Selenoid Docker. The…
ohadshay
  • 225
  • 1
  • 3
  • 16