Re: [pulseaudio-discuss] Change sound via acpid

2015-12-22 Thread Sean Greenslade
On December 23, 2015 12:39:57 AM EST, John W wrote: >Hello, > >I'm trying to make the mute/unmute key on my laptop work. >It generates acpi events, but does not generate XF86AudioMute X11 >message - In fact, I prefer it to be that way, since I don't want to >rely upon X11 running in order to do th

Re: [pulseaudio-discuss] How do I read my microphone's source levels from the cmdline?

2016-09-19 Thread Sean Greenslade
On Tue, Sep 20, 2016 at 10:24:38AM +0800, Kai Hendry wrote: > On 11 September 2016 at 17:48, Tanu Kaskinen wrote: > > I should add: a "get one sample now" feature wouldn't be useful anyway, > > I planned to monitor & plot consecutive readings over a long period of > time to spot trends in noise p

Re: [pulseaudio-discuss] pa_context_set_source_volume_by_index() failed

2016-10-31 Thread Sean Greenslade
On Mon, Oct 31, 2016 at 06:25:52PM +0100, pfl wrote: > I dont know about this > > my problem is that raspbery pi has gpio header and the program needs to be > ran as root to use these gpio > > but if pulseaudio is not made nor supported to be run as root, then maybe I > should use something else

[pulseaudio-discuss] Pulseaudio-equalizer module crackling with libao

2014-04-29 Thread Sean Greenslade
Hi, folks. I've been trying to track down the source of a rather odd problem I'm having. I've been using the pulseaudio-equalizer module, but it seems to have some issues when using it via libao. My hardware: - Asus eeePC 1015PEM - Intel Corporation NM10/ICH7 Family High Definition Audio Controll

Re: [pulseaudio-discuss] Pulseaudio-equalizer module crackling with libao

2014-05-04 Thread Sean Greenslade
On Fri, May 02, 2014 at 01:08:49AM -0700, Jason Newton wrote: > Hi Sean, > > I'll add libao to the list of things to investigate down the line, > flash is another thing that can exhibit this crackling characteristic. > It probably has to do with buffering and how often how much audio a > client is

Re: [pulseaudio-discuss] 100% volume limit bogus

2019-02-07 Thread Sean Greenslade
On February 7, 2019 4:21:05 PM PST, liebre...@grossmann-venter.com wrote: >I found an interesting reason why this 100% Volume policy in >pavucontrol >is actually detrimental. > >The sound is very low with the pavucontrol 100% and my keyboard buttons > >cannot go past that as that is how pavu contr

Re: [pulseaudio-discuss] Ubuntu 18.04 no sound with tensorbook

2019-09-19 Thread Sean Greenslade
On September 16, 2019 6:51:34 PM PDT, Ravi Kumar wrote: >Hi, > >I have a fresh install of Ubuntu 18.04 on my tensorbook. Sound works >fine. > >Then I go on to install nvidia-drivers (430.28 to be specific). >nvidia-smi >is all good. But I loose sound. > >I went through a number of steps in the ub

Re: [pulseaudio-discuss] Disable PulseAudio control of my Volume and Mute

2020-01-05 Thread Sean Greenslade
On Sat, Dec 28, 2019 at 02:45:57AM -0800, Brad Allen wrote: > I am sick and tired of my Volume and Mute constantly being mucked with > by PulseAudio. When I set them, I want them to stay put. I set them > in alsamixer with the fine-grained control I learned when ALSA first > came out. But now, w

Re: [pulseaudio-discuss] multiuser access

2020-03-08 Thread Sean Greenslade
On March 5, 2020 7:43:12 PM PST, "mailinglis...@posteo.de" wrote: >Hi there, > >to use multiuser access on a machine there seem to be 2 ways, >module-native-protocol-unix and module-native-protocol-tcp. > >Is one preferred over the other? Especially regarding latency? I would imagine (though I h

Re: [pulseaudio-discuss] play music stream on headless server

2020-03-20 Thread Sean Greenslade
On Fri, Mar 06, 2020 at 06:33:11PM -0500, sean darcy wrote: > On 2/14/20 8:05 PM, sean darcy wrote: > > I'm trying to play music on a headless server, on which firefox will be > > playing a streaming channel. > > > > If I'm on the headless server all works well. > > > > But when I ssh into the se

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-05-15 Thread Sean Greenslade
On Fri, May 15, 2020 at 11:04:00PM -0400, Samir Parikh wrote: > Hello, > > I am trying to combine the audio from my microphone (either built in > microphone from my laptop or bluetooth headset) with music playing > from Rhythmbox Music Player running on Ubuntu 16.04 and pipe that as > the audio in

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-05-16 Thread Sean Greenslade
On Sat, May 16, 2020 at 11:34:56PM -0400, Samir wrote: > Sean Greenslade wrote on 5/16/20 1:23 AM: > > > Pulse has two types of sound devices, sources and sinks. Sources are > > input devices like microphones. Sinks are output devices like speaker or > > headphone ports.

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-05-17 Thread Sean Greenslade
On Sun, May 17, 2020 at 07:01:25AM -0400, Joe wrote: > Someone should write a small book on this. I bet it would sell. Hah, you know, typing up this response has made me consider doing a proper write-up for my much more elaborate/crazy/overcomplicated setup involving network audio, pulse, JACK, ca

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-05-18 Thread Sean Greenslade
On Mon, May 18, 2020 at 03:59:45PM -0400, Samir Parikh wrote: > Sean Greenslade wrote on 5/17/20 10:04 PM: > > On Sun, May 17, 2020 at 07:01:25AM -0400, Joe wrote: > > > Someone should write a small book on this. I bet it would sell. > > > > Hah, you know, typin

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-05-23 Thread Sean Greenslade
On Sat, May 23, 2020 at 11:49:54AM -0400, Samir Parikh wrote: > Ok, I'm back after researching and trying some things a bit more. > > Sean Greenslade wrote on 5/16/20 1:23 AM: > > This is definitely possible entirely within pulseaudio. I'll go over the > > ba

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-05-26 Thread Sean Greenslade
On Tue, May 26, 2020 at 02:42:18PM -0400, Samir Parikh wrote: > Sean Greenslade wrote on 5/24/20 1:44 AM: > Sean, > > Thanks for this! Very helpful! I appreciate you taking the time to also > include the diagrams. It helps me understand a bit more some fo the > command

Re: [pulseaudio-discuss] How to combine microphone audio and music from application to pipe to video conference

2020-06-01 Thread Sean Greenslade
On Sun, May 31, 2020 at 09:56:10PM -0400, Samir Parikh wrote: > I've played with this a bit more to update my steps. I corrected some > errors and I think I was able to piece together some more steps but still > have a few open issues. Here's what I've got so far based on my revisions: > https://

Re: [pulseaudio-discuss] How to create a virtual microphone with source set as default monitor device?

2020-09-06 Thread Sean Greenslade
On Sat, Sep 05, 2020 at 09:10:36AM -0700, guest271314 wrote: > Chromium browser does not support capture of monitor devices when > navigator.mediaDevices.getUserMedia() is called. Chromium only > supports capture of non-monitor microphone input devices. > > How to create a virtual microphone with

Re: [pulseaudio-discuss] How to create a virtual microphone with source set as default monitor device?

2020-09-07 Thread Sean Greenslade
On Mon, Sep 07, 2020 at 12:31:22AM -0700, guest271314 wrote: > > There are a couple of options. One is to simply redirect the sink input > > once it is opened (e.g. with pavucontrol). > > That option is used at > https://github.com/guest271314/captureSystemAudio#launch_pavucontrol. > > For the pa

Re: [pulseaudio-discuss] How to create a virtual microphone with source set as default monitor device?

2020-09-08 Thread Sean Greenslade
On Mon, Sep 07, 2020 at 05:03:59PM -0700, guest271314 wrote: > > I doubt that will be possible. Pavucontrol makes use of the native > > pulseaudio APIs, which are not exposed to javascript. > > If mpv can be embedded in an HTML document > https://github.com/Kagami/mpv.js it should be possible to e

Re: [pulseaudio-discuss] How to create a virtual microphone with source set as default monitor device?

2020-09-15 Thread Sean Greenslade
On Sun, Sep 13, 2020 at 05:18:23PM +, guest271314 wrote: > This project started attempting to capture the output of > window.speechSynthesis.speak(). > > Consider https://stackoverflow.com/a/43553706. > > If run $ pacmd list-sink-inputs will get > > index: 219 > driver: > flags:

Re: [pulseaudio-discuss] How to create a virtual microphone with source set as default monitor device?

2020-09-28 Thread Sean Greenslade
On Tue, Sep 22, 2020 at 06:29:05AM -0700, guest271314 wrote: > > Point Espeak's output to the "Feed Espeak" sink, and point your > recording application at the "ESpeak output virtual mic". > > What is meant by "point" here? How to do that? It depends on the application. Most applications that use

Re: [pulseaudio-discuss] PulseAudio is not working properly

2020-10-17 Thread Sean Greenslade
On Wed, Oct 14, 2020 at 01:38:48PM +0200, BaBa wrote: > Hello, > > I installed PulseAudio without specific configuration. > In Firefox it uses Alsa instead of PulseAudio and in media players it does > not work. > > If I do > killall pulseaudio > pulseaudio --start > Works in Firefox and media pl

Re: [pulseaudio-discuss] PulseAudio is not working properly

2020-10-20 Thread Sean Greenslade
On Sun, Oct 18, 2020 at 10:52:07AM +0200, BaBa wrote: > > >This question is probably better suited for a Debian forum, as it seems > >to more be an issue of how your environment is set up. > > I already asked at the Debian ML and forum but I got no solution. > > >That said, I have > >a suspicion

Re: [pulseaudio-discuss] Pulseaudio inside docker container

2020-12-11 Thread Sean Greenslade
On Wed, Dec 09, 2020 at 07:37:22AM +1300, Gino Lisignoli wrote: > I've been trying to create a lightweight docker container that runs a > single application with wine and xvfb, except the application requires > pulseaudio otherwise it crashes. Specifically with the error: > > Assertion 'clock_gett

Re: [pulseaudio-discuss] Delayed muting of studio speakers

2020-12-27 Thread Sean Greenslade
On Tue, Dec 22, 2020 at 08:04:36PM -0700, Chris Mayes wrote: > Yeah, I've had fewer issues since I've adjusted the output level. The > thread you cited seemed to indicate that it's a build quality issue, which > may be, but I don't think that the signal breaks up due to faulty internal > wiring.

Re: [pulseaudio-discuss] Unable to create SPDIF profile (VT1828S)

2021-01-23 Thread Sean Greenslade
On Mon, Jan 18, 2021 at 07:40:15PM +0530, stry...@hotmail.com wrote: > Hi, > > I have an onboard sound card which has an SPDIF output via motherboard > header that I cannot get Pulseaudio to detect and manage. > ALSA sees it, (https://i.imgur.com/p4TdEAl.png) and it works fine under > Windows 10,

Re: [pulseaudio-discuss] Latency/lag with tcp tunnel

2021-01-25 Thread Sean Greenslade
On Mon, Jan 25, 2021 at 07:33:56PM -0600, Matt Garman wrote: > I am using a Raspberry Pi as a "sound server". Essentially, the RPI > is connected to the actual audio hardware. The RPI advertises itself > via module-native-protocol-tcp and module-zeroconf-publish. My > desktop/workstation in turn

Re: [pulseaudio-discuss] Latency/lag with tcp tunnel

2021-01-27 Thread Sean Greenslade
On Tue, Jan 26, 2021 at 03:37:02PM -0600, Matt Garman wrote: > On Mon, Jan 25, 2021 at 10:58 PM Sean Greenslade > wrote: > > As a data point, I routinely use networked TCP streams with pulse, and > > on wired ethernet links I tend to see only ~50 ms of delay. > > > >

Re: [pulseaudio-discuss] Latency/lag with tcp tunnel

2021-01-28 Thread Sean Greenslade
On Wed, Jan 27, 2021 at 12:32:10PM -0600, Matt Feifarek wrote: > On Tue, Jan 26, 2021 at 2:09 PM Matt Garman > wrote: > > > > > The ma12070p is a newish digital input (I2S) class D amplifier > > (essentially, a "power DAC" or a DAC and amplifier in one chip). > > Between the RPI and amp is an All

Re: [pulseaudio-discuss] Latency/lag with tcp tunnel

2021-01-29 Thread Sean Greenslade
On Fri, Jan 29, 2021 at 08:16:15AM -0600, Matt Garman wrote: > Hi Matt and Sean, thank you so much for your help! I was planning to > try removing the Kali, but Sean's email pushed me to try it sooner > than later. I did just that last night, and now the lag is all but > gone. Using paplay direc

Re: [pulseaudio-discuss] Virtual audio cable - high cpu usage

2021-02-01 Thread Sean Greenslade
On Sat, Jan 30, 2021 at 12:29:46PM +0100, Renaud GHIA wrote: > Hi, > > I use pulseaudio in a use case where the cpu usage is very high (30%) and > IHMO this is not normal. > I tried all the tricks to decrease the cpu load without success > (resampling-method etc...). The cpu remains high. > > My

Re: [pulseaudio-discuss] USB-connected headsets: no sound

2021-02-02 Thread Sean Greenslade
On Tue, Feb 02, 2021 at 08:08:06AM -0800, Rich Shepard wrote: > I have an issue and hope someone here can help me resolve it. Short version: > USB-connected headsets have no audible output. > > Long version: I run Slackware-14.2/x86_64 with pulseaudio-9.0-x86_64-1 on a > desktop workstation using

Re: [pulseaudio-discuss] USB-connected headsets: no sound

2021-02-03 Thread Sean Greenslade
On Wed, Feb 03, 2021 at 07:25:31AM -0800, Rich Shepard wrote: > On Tue, 2 Feb 2021, Sean Greenslade wrote: > > > By default, new sound devices don't take over existing streams. In > > pavucontrol under the playback tab, there should be a dropdown menu for > > each cl

Re: [pulseaudio-discuss] Virtual audio cable - high cpu usage

2021-02-03 Thread Sean Greenslade
On Tue, Feb 02, 2021 at 10:40:51AM +0100, Renaud GHIA wrote: > Hi, > > Below the result of the command "pacmd list". > Here without any change of resampling method. This part here shows your ffmpeg client: > index: 1 > driver: > flags: > state: RUNNING > source: 2 > volume: front-left: 655

Re: [pulseaudio-discuss] Virtual audio cable - high cpu usage

2021-02-04 Thread Sean Greenslade
On Thu, Feb 04, 2021 at 06:29:47PM +0100, Renaud GHIA wrote: > >> Thank you for the tip. > >> Now I am sure that resampling does not apply (see below). > >> But unfortunately pulseaudio always consumes 30% of one CPU core! > >> > > > > The reason is that you are using module-loopback. Due to a pote

Re: [pulseaudio-discuss] USB-connected headsets: no sound

2021-02-04 Thread Sean Greenslade
On Wed, Feb 03, 2021 at 12:05:25PM -0800, Rich Shepard wrote: > On Wed, 3 Feb 2021, Sean Greenslade wrote: > > > The menu I was referring to is attached to each of the clients. In your > > screenshot, it's the box that says "HD-Audio Generic Analog Stereo"

Re: [pulseaudio-discuss] USB-connected headsets: no sound

2021-02-06 Thread Sean Greenslade
On Fri, Feb 05, 2021 at 08:20:00AM -0800, Rich Shepard wrote: > On Thu, 4 Feb 2021, Sean Greenslade wrote: > > > There are two places in pavucontrol where you will need to verify > > things. Did you try the things I recommended in my previous email? What were the results? By

Re: [pulseaudio-discuss] Virtual audio cable - high cpu usage

2021-02-06 Thread Sean Greenslade
On Fri, Feb 05, 2021 at 10:12:18AM +0100, Renaud GHIA wrote: > Our application is pulseaudio only. > So in this case I suppose that Jack must be interconnected with pulseaudio. > Do you think that even interconnected, I wouldn't have cpu usage problems ? There will almost certainly be a resampling

Re: [pulseaudio-discuss] USB-connected headsets: no sound

2021-02-07 Thread Sean Greenslade
On Sun, Feb 07, 2021 at 06:30:18AM -0800, Rich Shepard wrote: > On Thu, 4 Feb 2021, Sean Greenslade wrote: > > > Under the "Output Devices" tab, some of the outputs may have a "Port" > > dropdown selector. ... The "Logitach H5703 Stereo Analog Ster

Re: [pulseaudio-discuss] No audio output; same setup worked before

2021-02-12 Thread Sean Greenslade
On Fri, Feb 12, 2021 at 12:14:00PM -0800, Rich Shepard wrote: > Before getting the USB headsets working (thank you very much!) I used my > AudioTechnica AT2500USB condenser microphone to record the audio portion of > videos. Today I decided to again use it for recording and leave the headsets > for

Re: [pulseaudio-discuss] No audio output; same setup worked before

2021-02-13 Thread Sean Greenslade
On Sat, Feb 13, 2021 at 11:45:07AM -0800, Rich Shepard wrote: > On Fri, 12 Feb 2021, Sean Greenslade wrote: > > > I would suggest using the "parecord" and "paplay" utilities, which are > > meant to directly interact with Pulse. > > Sean, > > A

Re: [pulseaudio-discuss] No audio output; same setup worked before

2021-02-13 Thread Sean Greenslade
On Sat, Feb 13, 2021 at 01:25:22PM -0800, Rich Shepard wrote: > On Sat, 13 Feb 2021, Sean Greenslade wrote: > > Are you referring to the Kodi project's PAPlayer, or did you use "paplay"? > > What happens if you try paplay? What are the error messages you get

Re: [pulseaudio-discuss] No audio output; same setup worked before [RESOLVED]

2021-02-15 Thread Sean Greenslade
On Mon, Feb 15, 2021 at 09:55:28AM -0800, Rich Shepard wrote: > On Sun, 14 Feb 2021, Rich Shepard wrote: > > > Aha! I found the problem, at least with audacity. Audacity has a drop down > > combobox with output options. The default is, "HD-Audio Generic: ALC1220 > > digital (HW:1,1)" and there's n

Re: [pulseaudio-discuss] No audio output; same setup worked before [RESOLVED]

2021-02-15 Thread Sean Greenslade
On Mon, Feb 15, 2021 at 04:41:49PM -0800, Rich Shepard wrote: > Ah! There is no sound.wav here in any partition or directory. I was using > vokoscreenNG to record sound while the webcam captured me speaking. When I > played the video with vlc there was no sound. But, ffprobe showed the output > fil

Re: [pulseaudio-discuss] two sound files at the same time - problem with crontab (pulseaudio involved)

2021-05-16 Thread Sean Greenslade
On Sat, May 15, 2021 at 04:34:36PM +0200, Christian wrote: > Hi altogether, > > > I am curious as how to solve a peculiar "problem". > > > > That works very well. But I run into problems *if* I have some other noise > (sound-file) played out *at the same time*. > > > >

Re: [pulseaudio-discuss] Why does PA need to rewrite and rewind when I change the volume while playing audio?

2021-08-06 Thread Sean Greenslade
On July 26, 2021 8:18:19 PM PDT, Chengyi Zhao wrote: >Hi guys, > >I found the following logic when I change the volume while playing >audio.I guess there is some audio expertise here, would you please tell > >me the principle, thanks a lot! > >In the file sink-input.c(./src/pulsecore/sink-input.c

Re: [pulseaudio-discuss] Pulse Audio serious Issue- required sincere help

2021-08-13 Thread Sean Greenslade
On Thu, Aug 12, 2021 at 06:18:31PM +0530, anantha lavanya wrote: > Dear sir/madam, > I am lavanya. I am facing some critical issue with pulseaudio on arm board > of am5728 with embedded linux os loaded in to. I am requesting sincere > help. Please help me with this issue. > Please respond to me bac

Re: [pulseaudio-discuss] Audible plop at beginning when using pcat-simple

2021-08-26 Thread Sean Greenslade
On Thu, Aug 26, 2021 at 09:43:23PM +0200, mindfsck wrote: > Hi there, > > I was using this example to simply play a WAV file without having much clue > of audio: > https://www.freedesktop.org/software/pulseaudio/doxygen/pacat-simple_8c-example.html > I changed the sources to match (IMHO) my settin

Re: [pulseaudio-discuss] Audible plop at beginning when using pcat-simple

2021-08-28 Thread Sean Greenslade
On Fri, Aug 27, 2021 at 04:57:07PM +0200, mindfsck wrote: > I seem to be to silly for it: > # sox in.wav -r 22050 out.wav resample > sox FAIL formats: can't open input file `out.wav': No such file or directory > > Of course there is no out.wav since that's what I want to create! I would not bothe

Re: [pulseaudio-discuss] Audible plop at beginning when using pcat-simple

2021-09-02 Thread Sean Greenslade
On Sun, Aug 29, 2021 at 07:02:25PM +0200, mindfsck wrote: > or use 'vlc' or use any Video/Audio playback you have on your machine.Sigh, > I may just reach out for alternative APIs instead of trying to convince > people that this might be a bug in the simple API you provide. Apologies for leading y

Re: [pulseaudio-discuss] Audible plop at beginning when using pcat-simple

2021-09-03 Thread Sean Greenslade
On Fri, Sep 03, 2021 at 11:54:04AM +0200, mindfsck wrote: > > Apologies for leading you down a dead-end. I've taken a closer look > > at the code and found what the problem is. The pacat-simple.c example is > > expecting raw PCM sample data in the file. Since you're giving it a .WAV > > file, there

Re: [pulseaudio-discuss] execute commands on suspend/resume?

2021-09-04 Thread Sean Greenslade
On Tue, Jun 08, 2021 at 08:17:00PM -0700, Peter Meilstrup wrote: > Hello pulseaudio list, > > I am wondering if it is possible to have a command be executed when a > sink is suspended or resumed (via module-suspend-on-idle). > Specifically I want to switch my amplifier on and off automatically > v

Re: [pulseaudio-discuss] execute commands on suspend/resume?

2021-09-04 Thread Sean Greenslade
[Re-adding the mailing list and reformatting] On Sun, Sep 05, 2021 at 10:23:14AM +1000, Bernd Wechner wrote: > On 5/9/21 06:13, Sean Greenslade wrote: > > On Tue, Jun 08, 2021 at 08:17:00PM -0700, Peter Meilstrup wrote: > > > Hello pulseaudio list, > > > I am wonderin

Re: [pulseaudio-discuss] pulseaudio parec recording short interrupt at user switch

2021-09-04 Thread Sean Greenslade
On Sat, Sep 04, 2021 at 10:34:34PM +0200, Istvan Gabor wrote: > Hello: > > I use pulseaudio's parec to record an audio stream played > in a browser. I use openSUSE 15.1 with its default pulseaudio > version pulseaudio-11.1-lp151.5.3. > > This is what I do: > > load null sink: > pactl load-module

Re: [pulseaudio-discuss] need to run `pulseaudio -k` to record from null sink

2021-09-06 Thread Sean Greenslade
On Mon, Sep 06, 2021 at 08:45:57AM +0100, Gareth Walker wrote: > Hello, > > I want to be able to capture both the microphone and the system sounds at > the same time. To help me do that I have put the following commands in > ~/.config/pulse/default.pa which create a null sink: > > .include /etc/p

Re: [pulseaudio-discuss] pulseaudio parec recording short interrupt at user switch

2021-09-06 Thread Sean Greenslade
On Sun, Sep 05, 2021 at 10:37:16PM +0200, Istvan Gabor wrote: > Sat, 4 Sep 2021 20:36:35 -0700 időpontban Sean Greenslade írta: > > Are these actually different system (unix) users? With different UIDs? > > If so, pulse doesn't really work in a multi-user environment by defau

Re: [pulseaudio-discuss] need to run `pulseaudio -k` to record from null sink

2021-09-09 Thread Sean Greenslade
On Tue, Sep 07, 2021 at 08:18:48AM +0100, Gareth Walker wrote: > On Tue, 7 Sept 2021 at 00:12, Sean Greenslade > wrote: > > > Can you look at the logs to see if there are any errors listed when you > > load the modules. The logs should be in your user journal, try this:

Re: [pulseaudio-discuss] how to pass correct channel map

2021-09-15 Thread Sean Greenslade
On Wed, Sep 15, 2021 at 09:59:00PM +0530, Vijendar Reddy Mukunda wrote: > Hello, > > I was just experimenting with a null sink. > I have created null sink with 48000Hz sample rate, s16le, channels as 6. > Tried to record from null sink monitor source. > But when i run parecord command, I am seeing

Re: [pulseaudio-discuss] how to pass correct channel map

2021-09-18 Thread Sean Greenslade
>On Wed, Sep 15, 2021 at 10:36:23PM -0700, Sean Greenslade wrote: >> On Wed, Sep 15, 2021 at 09:59:00PM +0530, Vijendar Reddy Mukunda wrote: >> > Hello, >> > >> > I was just experimenting with a null sink. >> > I have created null sink with 48000Hz sam

Re: [pulseaudio-discuss] Streaming audio from a game to voice chat, mixed with audio from microphone

2021-09-29 Thread Sean Greenslade
On Tue, Sep 28, 2021 at 03:38:59PM +0100, Patrick May wrote: > Hello, > > I want to stream audio from a game to discord, while also sharing my mic at > the same time. > > This is a very common thing that people do all the time on other operating > systems. For some reason this seems to be almost

Re: [pulseaudio-discuss] Understanding PulseSimple Large Memory Allocations

2021-10-04 Thread Sean Greenslade
On Sun, Oct 03, 2021 at 07:44:13AM +, Ryan McClue wrote: > I'm on an Ubuntu system and want to write to a PCM buffer and play it. > I created the most basic C program that only calls pa_simple_new(). I > launched this program into Intel VTune and performed a Memory > Consumption analysis. It s

Re: [pulseaudio-discuss] troubleshooting switch-on-connect and switch-on-port-available

2021-10-22 Thread Sean Greenslade
On Thu, Oct 21, 2021 at 09:42:51AM +0200, Krister wrote: > I have a new Inspiron 7320 detachable, and was able to get sound > working by compiling a recent SOF kernel (see > https://github.com/thesofproject/linux/issues/3161). Both the input > and output device are detected automatically but I have

Re: [pulseaudio-discuss] Never auto-select a device as the fallback

2021-10-22 Thread Sean Greenslade
On Mon, Oct 18, 2021 at 10:53:02AM -0600, Chris Keller wrote: > Hello folks, > > As I mentioned in a previous thread, I use some external sound cards as > interfaces to amateur radios. For those sound cards, I never want them to > be selected as the fallback or default, especially for output but a

Re: [pulseaudio-discuss] set media.role for VMware client

2022-01-18 Thread Sean Greenslade
On Mon, Jan 17, 2022 at 10:38:31PM +0100, sben1783 wrote: > Hi there, > > I'm using VMware Horizon client from kubuntu to work on my companies windows > machine. My idea was to play some music from my own machine while doing > monkey work within VMware. I was very happy to read about the "cork" >

Re: [pulseaudio-discuss] pulseaudio module-combine-sink and network devices

2022-01-18 Thread Sean Greenslade
On Sun, Jan 16, 2022 at 09:59:43AM +, Dan MacDonald wrote: > Is it possible to use module-combine-sink to combine a network PA > device and a local device? I've been trying commands such as: > > $ pactl load-module module-combine-sink sink_name=Combined2 > sink_properties=device.description=Co

Re: [pulseaudio-discuss] set media.role for VMware client

2022-01-23 Thread Sean Greenslade
On Wed, Jan 19, 2022 at 05:36:10PM +0100, sben1783 wrote: > That did the trick! I created a > /usr/share/applications/vmware-remotemks.desktop > with > X-PulseAudio-Properties=media.role=phone > and now the "cork" works. Thank you very much! > > BUT: it doesn't "uncork" when my phone call wit

Re: [pulseaudio-discuss] Error running from procmail

2022-02-07 Thread Sean Greenslade
On Mon, Feb 07, 2022 at 07:06:38PM +0100, Adrian van Bloois wrote: > Hallo, > I try to run a morse code program from procmail to produce an audible > signal when mail arrives. My postfix(MTA) calls procmail(mail delivery > agent) to deliver the mail. This obviously runs in the background. > :rpocma

Re: [pulseaudio-discuss] Error running from procmail

2022-02-10 Thread Sean Greenslade
On Tue, Feb 08, 2022 at 12:55:53PM +0100, Adrian van Bloois wrote: > On Mon, Feb 07, 2022 at 10:10:47PM -0800, Sean Greenslade wrote: > > On Mon, Feb 07, 2022 at 07:06:38PM +0100, Adrian van Bloois wrote: > > > Hallo, > > > I try to run a morse code program from pro

Re: [pulseaudio-discuss] Seeking advice on use of padsp

2022-02-10 Thread Sean Greenslade
On Mon, Feb 07, 2022 at 01:21:34PM +, Geoff Browne wrote: > If I type the following at the terminal I get the expected tone.. > > /usr/bin/padsp  /usr/bin/tones sine 100 900 > > ...but if I try this from within some C code on a R-Pi Zero... > > system("/usr/bin/padsp  /usr/bin/tones sine 100

Re: [pulseaudio-discuss] set media.role for VMware client

2022-02-11 Thread Sean Greenslade
On Thu, Feb 03, 2022 at 06:00:27PM +0100, sben1783 wrote: > Am 2022-01-24 07:29, schrieb Sean Greenslade: > > On Wed, Jan 19, 2022 at 05:36:10PM +0100, sben1783 wrote: > > [...] > > > BUT: it doesn't "uncork" when my phone call within vmware is done. I >

Re: [pulseaudio-discuss] Seeking advice on use of padsp

2022-02-14 Thread Sean Greenslade
(Re-added the mailing list) On Fri, Feb 11, 2022 at 02:05:34PM +, Geoff Browne wrote: > On 11/02/2022 07:49, Sean Greenslade wrote: > > On Mon, Feb 07, 2022 at 01:21:34PM +, Geoff Browne wrote: > > > If I type the following at the terminal I get

Re: [pulseaudio-discuss] Error running from procmail

2022-02-15 Thread Sean Greenslade
On Fri, Feb 11, 2022 at 09:31:21AM +0100, Adrian van Bloois wrote: > On Thu, Feb 10, 2022 at 11:39:13PM -0800, Sean Greenslade wrote: > > On Tue, Feb 08, 2022 at 12:55:53PM +0100, Adrian van Bloois wrote: > > > On Mon, Feb 07, 2022 at 10:10:47PM -0800, Sean Greenslade wrote: >

Re: [pulseaudio-discuss] Seeking advice on use of padsp

2022-02-16 Thread Sean Greenslade
(Re-added the list again. Please make sure to Reply-List or Reply-All when responding to mailing list messages.) On Tue, Feb 15, 2022 at 10:56:55AM +, Geoff Browne wrote: > Great!  You cracked it Sean. > > > What user is the C code running as? > > Thank you Sean, I should have realised - it

Re: [pulseaudio-discuss] Connect Alsa Input from hw:1, 0 to null-sink thru loopback

2022-02-16 Thread Sean Greenslade
On Sun, Feb 13, 2022 at 09:49:30PM +0100, corbeille wrote: > Hello, > > I would like to know if there is a possibility to create at startup > (maybe in /etc/pulse/default.pa ?) a "connection" between Alsa > input hw:1,0 and a null-sink thru a loopback ? > To have something similar to : > > $ pacm

Re: [pulseaudio-discuss] Need help resolving audio recording/playback issues

2022-02-16 Thread Sean Greenslade
On Tue, Feb 08, 2022 at 01:21:24PM -0800, Rich Shepard wrote: > Something(s) changed here and I don't know enough about linux audio to fix > the problems. > > Environment: Slackware64-14.2. Audio-Technica AT2005USB, Scarlett Solo Gen > 3. The latter two are connected by an XLR cable. > > All work

Re: [pulseaudio-discuss] Error running from procmail

2022-02-18 Thread Sean Greenslade
On Fri, Feb 18, 2022 at 02:50:27PM +0100, Adrian van Bloois wrote: > On Tue, Feb 15, 2022 at 12:25:40AM -0800, Sean Greenslade wrote: > > Does procmail either run in a chroot or run subprocesses in one? If so, > > you'll need to make sure that the pulse socket path

Re: [pulseaudio-discuss] Need help resolving audio recording/playback issues

2022-02-18 Thread Sean Greenslade
On Wed, Feb 16, 2022 at 10:57:18AM -0800, Rich Shepard wrote: > On Wed, 16 Feb 2022, Sean Greenslade wrote: > > > - The preamp gain knob on the Scarlett is set high enough. Dynamic mics > > can have pretty weak signals. On mine, I need to pretty much max out the > > prea

Re: [pulseaudio-discuss] Error running from procmail

2022-02-23 Thread Sean Greenslade
On Sun, Feb 20, 2022 at 09:09:32PM +0100, Adrian van Bloois wrote: > Hi Sean, > This seems a bit complicated, I tried something else. > I set the sticky bit on the morse binary so it was rwsr-xr-x but that > didn't work either. I assume by that you mean the setuid bit. That should work in theory (

Re: [pulseaudio-discuss] Can pa_stream_write be executed at the other thread ?

2022-02-25 Thread Sean Greenslade
On Sat, Feb 26, 2022 at 01:14:12AM +0800, su wrote: > My application is to play a single stream with pulseaudio Asynchronous API > based on "Main Loop - A minimal but fast implementation based on poll()." > implementation . I am going to set up an independent thread for pulseaudio > context

Re: [pulseaudio-discuss] call pa_stream_drain() for multiple streams

2022-03-12 Thread Sean Greenslade
On Fri, Mar 11, 2022 at 04:28:00AM +0800, su wrote: > At first I would like to take this chance to express my gratitude to > PulseAudio dev. team and those warm-hearted members at this community :) > > I have a minor question about calling pa_stream_drain() for multiple streams > at the same c

Re: [pulseaudio-discuss] pavucontrol : input device listed, but no signal

2022-05-11 Thread Sean Greenslade
On Fri, May 06, 2022 at 11:33:55AM +, Pieter J Voet wrote: > Hi all, > > I'm running Fedora 35 which has pipewire. Next, I have an external USB DAC ( > Behringer Firepower FCA610 ). > My speakers are connected to the USB DAC, and it's configured as the default > output sink. > This all works

Re: [pulseaudio-discuss] pactl percentage bug fix

2022-06-04 Thread Sean Greenslade
On Fri, Jun 03, 2022 at 06:19:20PM +0100, Patrick May wrote: > Here is the problem: > > https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/src/utils/pactl.c > > In src/utils/pactl.c: > > Between line 2530 and line 2535, in function parse_volume: > > These two 'if' statements wil

Re: [pulseaudio-discuss] pactl percentage bug fix

2022-06-04 Thread Sean Greenslade
On Sun, Jun 05, 2022 at 01:51:55AM +0100, Patrick May wrote: > On 04/06/2022 08:48, Sean Greenslade wrote: > > > While debugging, I did notice another issue that I was uncertain of how > > to solve. The detection of absolute values vs. relative values is based > > on t

Re: [pulseaudio-discuss] problem with module-role-ducking, ducked stream occasionally unmutes / switches / breaks through

2022-06-11 Thread Sean Greenslade
On Wed, Jun 08, 2022 at 10:35:14AM +0200, Chris Beat wrote: > Hi, > > I am running Kodi on an old netbook to listen to http streamed radio from the > internet. I also use > shairport-sync to cast audio from Apple devices to the same netbook. I use > module-role-ducking to > mute the internet rad

Re: [pulseaudio-discuss] Regarding latency of pulseaudio

2022-07-07 Thread Sean Greenslade
Hello, Thomas. > What is the latency and configured latency that is being displayed in > pulseaudio via pactl list sinks? Configured latency is the target latency that PulseAudio is attempting to achieve, while the plain latency value is the actual value that pulse believes it is achieving at the

Re: [pulseaudio-discuss] How to map 2 channels from a 32-channel USB device to L/R?

2022-07-10 Thread Sean Greenslade
On Tue, Jul 05, 2022 at 03:26:46PM -0400, Richard Cooke wrote: > This has been driving me crazy for a few weeks!  I do volunteer work around > Town, and a local church got its hands on a really nice Allen-Heath QU-24 > sound board.  It has a USB-B jack. I recently set up a Video camera with > contr

Re: [pulseaudio-discuss] How to map 2 channels from a 32-channel USB device to L/R?

2022-07-11 Thread Sean Greenslade
On Sun, Jul 10, 2022 at 09:41:16PM -0400, Richard Cooke wrote: > On 2022-07-10 4:14 PM, Sean Greenslade wrote: > > You should (in theory) be able to use module-remap-sink or > > module-remap-source to create a virtual 2-channel sink/source using > > specific channels from th

Re: [pulseaudio-discuss] How to map 2 channels from a 32-channel USB device to L/R?

2022-07-13 Thread Sean Greenslade
On Wed, Jul 13, 2022 at 05:39:25PM -0400, Richard Cooke wrote: > Holy cow I may have fixed it! > > Rather, figured out the problem. > > Further to that post I read about Skype rejecting the QU digital signal > without boosting. I could see the peak VU in Audacity is much lower than I > see on t

Re: [pulseaudio-discuss] Playback via alsa sink in pulseaudio 15 fails with assert failed

2022-07-15 Thread Sean Greenslade
On Fri, Jul 15, 2022 at 02:30:05PM +0800, Velicheti Sita wrote: > Hi, > > > We are running pulseaudio 15 and during playback through paplay, pulseaudio is > exiting with assertion failed. > > > Error is like below: > > D: [alsa-sink-Swmixer7 playback Pulse audio pcm6-6] alsa-sink.c: > snd_pcm_

Re: [pulseaudio-discuss] Playback via alsa sink in pulseaudio 15 fails with assert failed

2022-07-16 Thread Sean Greenslade
>On Fri, Jul 15, 2022 at 05:39:22PM +0800, Velicheti Sita wrote: >> On Fri, Jul 15, 2022 at 02:30:05PM +0800, Velicheti Sita wrote: >> >> > We are running pulseaudio 15 and during playback through paplay, >> > pulseaudio is >> > exiting with assertion failed. >> > >> > >> > Error is like below: >>

Re: [pulseaudio-discuss] How do different sound cards dynamically use different configurations?

2022-07-16 Thread Sean Greenslade
On Fri, Jul 15, 2022 at 06:04:49PM +0800, zhaochen...@uniontech.com wrote: > Hi guys, > > On a special PC, it is required to start the pulseaudio daemon > with some special parameters in the file /etc/pulse/daemon.conf, > as follows: > > --- > default-sample-rate = 48000 > default-fragments =

Re: [pulseaudio-discuss] How do different sound cards dynamically use different configurations?

2022-07-19 Thread Sean Greenslade
On Mon, Jul 18, 2022 at 02:42:07PM +0800, zhaochen...@uniontech.com wrote: > On 2022/7/17 上午3:18, Sean Greenslade wrote: > > On Fri, Jul 15, 2022 at 06:04:49PM +0800, zhaochen...@uniontech.com wrote: > > > Hi guys, > > > > > > On a special PC, it is req

Re: [pulseaudio-discuss] lo-latency-test not working

2022-07-25 Thread Sean Greenslade
On Tue, Jul 19, 2022 at 08:35:48PM +0800, Velicheti Sita wrote: > Hi All, > > > We are trying to run lo-latency-test on pulseaudio 15 version on raspberrypi4 > WebOS OS. > > > It's giving beep sound and not giving any latency values. Can you describe more specifically what you are trying to ac

Re: [pulseaudio-discuss] pacmd ignores PULSE_SERVER env var

2022-11-09 Thread Sean Greenslade
On Sun, Nov 06, 2022 at 07:02:03PM +, Tudor Zaharia wrote: > Hello, > > Following this documentation page https://wiki.archlinux.org/title/PulseAudio  > I am setting the PULSE_SERVER env var to point to a pulseaudio server that > runs inside a docker container. > > Unfortunately the "pacmd" 

Re: [pulseaudio-discuss] pulse audio receive multicast

2022-12-31 Thread Sean Greenslade
On Thu, Dec 29, 2022 at 01:01:02PM -0500, Jerry Geis wrote: > I am trying to get a computer to receive multicast with pulse audio on > 20.04 LTS. > > on the receive computer I did this > pacmd load-module module-null-sink sink_name=rtpsink > pacmd load-module module-rtp-recv sink=rtpsink sap_addre

Re: [pulseaudio-discuss] using the line-out of my plugable usb audio adapter

2023-01-27 Thread Sean Greenslade
On January 27, 2023 10:47:45 AM PST, Paul Elliott wrote: >My Plugable usb audio adapter has two >jacks, >a pink one and a greenone. One is for (pink) microphone and microphone >speaker the other is supposed to be (green) lineout. > >I want to plug into line out beca

Re: [pulseaudio-discuss] using the line-out of my plugable usb audio adapter

2023-01-27 Thread Sean Greenslade
On Fri, Jan 27, 2023 at 03:57:25PM -0500, Paul Elliott wrote: >> >> Can you post the output of this command while the card is plugged in? > > OK, here it is: I trimmed it down to just the card in question: > Card #3 > Name: alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00 > Driver: mod

Re: [pulseaudio-discuss] How to be sure about the quality of the audio?

2023-02-05 Thread Sean Greenslade
On Fri, Feb 03, 2023 at 08:25:53PM -0300, MilS Lion wrote: > HI. > Im having this issue: > I subscribed to Qobuz (an Hi-res audio quality). > > I was using ALSA directly and with alsa, i just put this: > sudo cat /proc/asound/IQaudIODAC/pcm0p/sub0/hw_params > > if it is a 16bit 44000Khz audio i g

Re: [pulseaudio-discuss] Crackling Audio in Pulseaudio RTP Stream

2023-02-18 Thread Sean Greenslade
On Sat, Feb 18, 2023 at 08:44:21PM +0100, NicoHood wrote: > Hey Guys, > I am using pulseaudio for years now, but since Version 14, maybe 15 there is > a crackling in the rtp stream. I've setup RTP just with paprefs, enable the > sender and local receiver on a separate audio device. > > I know that

  1   2   >