[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pasuspender syntax



On Sat, 3 Dec 2011 15:12:21 +0000 (UTC)
Camaleón <noelamac@gmail.com> wrote:

> On Sat, 03 Dec 2011 13:26:06 +0000, Richard wrote:
> 
> > On Sat, 3 Dec 2011 11:59:40 +0000 (UTC) Camaleón <noelamac@gmail.com>
> > wrote:
> > 
> >> On Fri, 02 Dec 2011 10:22:41 +0000, Richard wrote:
> >> 
> >> > I'm attempting to use pasuspender to stop pulseaudio when I run an
> >> > app. the man page is not helpful nor is -h. What is the correct
> >> > syntax to suspend pulse audio and just use alsa ?
> >> >
> >> > pasuspender --server=ALSA does nothing, so I guess its wrong.
> >> 
> >> Here you have a sample:
> >> 
> >> ***
> >> http://pulseaudio.org/wiki/PerfectSetup#Audacity
> 
> (...)
> 
> >> Using pasuspender to momentarily suspend pulseaudio is another way to
> >> use Audacity.
> >> 
> >> pasuspender -- audacity <argument>
> >> ***
> >> 
> >> Maybe you can apply something similar for your aplication.
> >> 
> >> 
> >> 
> > Thanks its the last bit I'm confused with <argument>
> 
> Try without any argument :-)
> 
> > I've tried -s alsa, but that doesn't do any thing
> 
> If I'm reading right the manual page, "-s" is not listed as a valid 
> "argument" but an "option", so:
> 
> pasuspender -s alsa -- application
> 
> Greetings,
> 


Hi I've just tried that , and there is a minor problem as it tries to start the application, which if you
are starting from a shell script is awkward.
However, I found that /usr/bin/pulseaudio --kill does what it says, BUT pulseaudio immediately respawns.
I've looked in pulseaudio --help, but I can't see a switch to disable the respawn.

Is there a clean way of stopping the respawn ?


TIA

-- 
Best wishes / 73
Richard Bown

e-mail: richard@g8jvm.com   or   richard.bown@blueyonder.co.uk

nil carborundum a illegitemis
##################################################################################
Ham Call G8JVM . OS Debian Wheezy/Sid amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3 cms:5W
################################################################################## 


Reply to: