FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-02-2011, 09:22 AM
Richard
 
Default pasuspender syntax

Hi
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.

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
################################################## ################################


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111202102241.47db6294@g8jvm.com">http://lists.debian.org/20111202102241.47db6294@g8jvm.com
 
Old 12-03-2011, 10:59 AM
Camaleón
 
Default pasuspender syntax

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

Audacity doesn't support PulseAudio, nor Esound for the moment. You'll
have to kill or suspend pulseaudio before you use this application.
Audacity uses the PortAudio cross-platform Audio API which doesnt support
pulseaudio. Some work was started on making portaudio support PulseAudio
but this does not appear to be under active development currently and
does not work in it's current state.

Audacity can use OSS for sound input and sound output. By changing the 2
settings in preferences to /dev/dsp, and running audacity as

padsp audacity

you route OSS sound through pulseaudio and can have successful playback
and recording with audacity. You could also set the sound input to be
ALSA which (for regular users) is less likely to be blocked by another
application, as recording with multiple applications at once is less
commonly done

Using pasuspender to momentarily suspend pulseaudio is another way to use
Audacity.

pasuspender -- audacity <argument>
***

Maybe you can apply something similar for your aplication.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.12.03.11.59.40@gmail.com">http://lists.debian.org/pan.2011.12.03.11.59.40@gmail.com
 
Old 12-03-2011, 12:26 PM
Richard
 
Default pasuspender syntax

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
>
> Audacity doesn't support PulseAudio, nor Esound for the moment. You'll
> have to kill or suspend pulseaudio before you use this application.
> Audacity uses the PortAudio cross-platform Audio API which doesnt support
> pulseaudio. Some work was started on making portaudio support PulseAudio
> but this does not appear to be under active development currently and
> does not work in it's current state.
>
> Audacity can use OSS for sound input and sound output. By changing the 2
> settings in preferences to /dev/dsp, and running audacity as
>
> padsp audacity
>
> you route OSS sound through pulseaudio and can have successful playback
> and recording with audacity. You could also set the sound input to be
> ALSA which (for regular users) is less likely to be blocked by another
> application, as recording with multiple applications at once is less
> commonly done
>
> Using pasuspender to momentarily suspend pulseaudio is another way to use
> Audacity.
>
> pasuspender -- audacity <argument>
> ***
>
> Maybe you can apply something similar for your aplication.
>
> Greetings,
>

Thanks its the last bit I'm confused with <argument>

I've tried -s alsa, but that doesn't do any thing

--
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
################################################## ################################


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111203132606.1decec31@g8jvm.com">http://lists.debian.org/20111203132606.1decec31@g8jvm.com
 
Old 12-03-2011, 02:12 PM
Camaleón
 
Default pasuspender syntax

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,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.12.03.15.12.20@gmail.com">http://lists.debian.org/pan.2011.12.03.15.12.20@gmail.com
 
Old 12-03-2011, 02:34 PM
Richard
 
Default 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
################################################## ################################


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111203153450.3f71ecf6@g8jvm.com">http://lists.debian.org/20111203153450.3f71ecf6@g8jvm.com
 
Old 12-03-2011, 03:04 PM
Camaleón
 
Default pasuspender syntax

On Sat, 03 Dec 2011 15:34:50 +0000, Richard wrote:

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

>> >> 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
>>
>>
>>
>
> 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.

Okay, just a wild guess. Now is when you can make use of an <argument>
you can pass to the application so it starts in the background. Because
in the end you wanted to run the application, right?

> 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 ?

Sorry, for this one I can't make further guesses... hum, wait (heck,
you're lucky that Google behaves like a mind reader >;-) )

Ubuntu Tip: Turning PulseAudio On and Off
http://www.linuxplanet.com/linuxplanet/tutorials/7130/2

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.12.03.16.04.55@gmail.com">http://lists.debian.org/pan.2011.12.03.16.04.55@gmail.com
 
Old 12-03-2011, 03:38 PM
Richard
 
Default pasuspender syntax

On Sat, 3 Dec 2011 16:04:55 +0000 (UTC)
Camaleón <noelamac@gmail.com> wrote:

> On Sat, 03 Dec 2011 15:34:50 +0000, Richard wrote:
>
> > On Sat, 3 Dec 2011 15:12:21 +0000 (UTC) Camaleón <noelamac@gmail.com>
> > wrote:
>
> >> >> 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
> >>
> >>
> >>
> >
> > 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.
>
> Okay, just a wild guess. Now is when you can make use of an <argument>
> you can pass to the application so it starts in the background. Because
> in the end you wanted to run the application, right?
>
> > 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 ?
>
> Sorry, for this one I can't make further guesses... hum, wait (heck,
> you're lucky that Google behaves like a mind reader >;-) )
>
> Ubuntu Tip: Turning PulseAudio On and Off
> http://www.linuxplanet.com/linuxplanet/tutorials/7130/2
>
> Greetings,
>

Nice one many thanks

--
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
################################################## ################################


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111203163813.4acf6030@g8jvm.com">http://lists.debian.org/20111203163813.4acf6030@g8jvm.com
 

Thread Tools




All times are GMT. The time now is 03:59 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org