Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I prefer using alsa only while I make screencast and do skype. Other times, I use pulseaudio/alsa. Is there a quick and easy way to switch between these two states on Ubuntu 12.04 desktop?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The easiest way is to use "pasuspender", which tells system to temprarily suspend PulseAudio. Starting your program with it will stop PulseAudio for the period you applications runs, then it will resume PulseAudio operation.

pasuspender -- skype

Many times it has been said that removing PulseAudio is a bad idea and an unnecessary one. The above should work much better.

General usage of pasuspender:

pasuspender [options] -- PROGRAM [ARGUMENTS ...]
share|improve this answer
    
If this works then Bingo!!! That's exactly what I want. This means that I can use skype without pulseaudio at the same time use vlc with pulseaudio. Amazing solution. Ofcourse, I did not want to get rid of pulseaudio. –  Chirag Jul 26 '12 at 15:59
1  
Uhm not exactly. :) Once you call pasuspender, PA stops working for all applications, so you won't be able to use VLC with PA at the same time. Skype will have to exit before you can use VLC with PA. You can however use VLC without PA at the same time. –  lightrush Jul 26 '12 at 16:02
1  
Oh Okay, still this does what I want. –  Chirag Jul 26 '12 at 16:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.