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

bash - monitor chown (user and group) changes of folder / inotify or audit or smth. else

i'm on opensuse 12.3 and the owner of my /run/user/$UID/pulse folder gets changed to root:root every now and then resulting in pulseaudio not beeing able to start: [autospawn] core-util.c: Failed to create secure directory (/run/user/1000/pulse):…
brian_j
  • 61
  • 1
  • 5
0
votes
1 answer

PulseAudio API - No Microphone Signal

I'm trying to capture a microphone signal in "real-time" using PulseAudio. The program is written in C and uses the PulseAudio Simple API for that. Unfortunately my requested audio buffer does not contain any signal. Either there's a problem in my…
Dominik Schreiber
  • 769
  • 2
  • 15
  • 25
0
votes
2 answers

16Bit Little Endian Byte Array to Integer Array to Decibel Value

I'm using the PulseAudio API to get the current microphone input in "realtime". The buffer data is being delivered as a 16bit little endian byte array. What I'd like to do is to find out the maximum peak level in the buffer and transform it into a…
Dominik Schreiber
  • 769
  • 2
  • 15
  • 25
0
votes
1 answer

PulseAudio recording and playback fails

I am trying to record and playback audio data using pulse audio API in centOS 6.2. But it records and playbacks nothing. I am using a code from pulseaudio. I need help to get it working in my PC. What should I do? My code is also given below- #ifdef…
Naseef Chowdhury
  • 2,357
  • 3
  • 28
  • 52
0
votes
1 answer

C++ and pulseaudio "not declared in this scope"

I'm trying to use pulseaudio to play the contest of a vorbis-stream but are hitting problems. Basicly I'm told that: ‘pa_simple’ was not declared in this scope ‘pa_simple_new’ was not declared in this scope ‘pa_simple_write’ was not declared in this…
Linus Unnebäck
  • 23,234
  • 15
  • 74
  • 89
0
votes
1 answer

How to set the pulseaudio stream name via ALSA?

I am writing an audio application using ALSA (via QAudioInput/Output) that opens two output streams simultaneously. Both ALSA streams use the pulseaudio ALSA plugin. That also works fine and I can assign them to different output devices in…
Tilman Vogel
  • 9,337
  • 4
  • 33
  • 32
0
votes
1 answer

Playing samples with different sample_spec's in PulseAudio

I am developing an application that receives a stream of audio samples from a remote server via custom UDP protocol. The stream consists of small sequences of samples, every sequence may have different number of channels and rate. As I understand,…
Roman Dmitrienko
  • 3,375
  • 3
  • 37
  • 48
-1
votes
0 answers

Bluetooth A2DP Sink not showing up in Pulseaudio on NixOS

I am setting up a workstation with nixos, was all good so far and I can connect to my bluetooth headset (sony wh 1000 mx 5). But when I do, I dont get the output sink in pulseaudio. Here are some logs and my nixos configuration snippet. I did try…
-1
votes
1 answer

Getting LedFx to activate when music is played by a cron job

I have been using LedFx to sync leds to music from pulseaudio for about a year and it works great. Once LedFx is running the simple command aplay music.wav makes my ESP32 controlled led strips come alive. However, when the same command is executed…
gatorreina
  • 864
  • 5
  • 14
-1
votes
1 answer

Play an opus file with gstreamer and pulseaudio

I cannot figure out an gst-launch invocation to simply play an opus file to pulseaudio. Any help? Things I've tried 130 % file foo.opus foo.opus: Ogg data, Opus audio, version 0.1, stereo, 44100 Hz (Input Sample Rate) 0 % gst-launch-1.0 filesrc…
Todd Freed
  • 877
  • 6
  • 19
-1
votes
1 answer

Randomly silencing part of input audio in real time

My machine is running Ubuntu 20 LTS. I want to manipulate the input live audio in real-time. I have achieved pitch shifting using sox. The command being - sox -t pulseaudio default -t pulseaudio null pitch +1000 and then routing the audio from…
Nobody
  • 99
  • 1
  • 9
-1
votes
1 answer

Can't install libpulse on Mac

I'm trying to compile some source code, and I'm getting the following error: ld: library not found for -l:libpulse-simple.0.dylib I've figured out that I need to install the "libpulse-simple.0.dylib" file (and probably some other files too) into…
-1
votes
2 answers

Fetching device.description using Alsa soundlib in C++

I am new to alsa, pulseAudio, needed help with this issue. This is the truncated output of pacmd command on my system pacmd list-sources: name: properties: alsa.resolution_bits = "16" …
Mayur Jadhav
  • 139
  • 1
  • 2
  • 9
-1
votes
1 answer

Use audio over HDMI without displaying over it with xrandr

I have 2 monitors on my desk connected over display-port and I got a tv connected over hdmi. I am looking for a way to use audio over my hdmi-port without displaying on the tv. The thing is that my tv is connected to an amplifier which is connected…
Elfie
  • 374
  • 3
  • 15
-1
votes
1 answer

ALSA's snd_pcm_get_chmap always returns NULL on my default device (pulse) on Ubuntu 18.04

I'm successfully rendering audio with alsa, however I'm completely incapable of determining the channel mapping. As various sources have stated, I'm calling snd_pcm_get_chmap after the hw & sw params are set and the device is…
1 2 3
24
25