You are not logged in.

#1 2012-11-16 19:52:41

dotfloat
Member
From: Oslo, Norway
Registered: 2012-11-05
Posts: 14
Website

Hiding Pulseaudio from Skype.

I'm having sound issues when using skype with pulseaudio. The wiki suggests a terrible workaround, which I'd rather not use.
Everything is fine when I kill pulseaudio, start skype and the start pulseaudio again. Skype launches in ALSA compatibility mode.

However, it's a pain to have to kill pulseaudio, as all the processes that use it get screwed over.

I'm wondering if there is a way to hide the pulseaudio libs using bash or the like.
This would be /usr/lib32/libpulse.so and other similar libs.
Skype isn't statically linked to libpulse.so.

I was thinking of creating a dummy libpulse.so and inserting it to LD_LIBRARY_PATH (or something) before launching skype, however this would be very ugly.

As I'm not intelligent when it comes to any kind of scripting (especially shell stuff), I was wondering if you guys could suggest a solution.
Thanks.

Offline

#2 2012-11-16 20:01:24

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 648

Re: Hiding Pulseaudio from Skype.

Have you tried with:

 pasuspender -- skype

[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Nvidia GTX 670 2Gb, AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked) 8GB RAM
Linux user #545703

Offline

#3 2012-11-17 10:29:30

dotfloat
Member
From: Oslo, Norway
Registered: 2012-11-05
Posts: 14
Website

Re: Hiding Pulseaudio from Skype.

That doesn't work. It kills the sound in all pulseaudio applications, but skype still sees pulseaudio.
If skype detects a running pulseaudio server, it forces me to use it. (eg. the dropdown list for audio devices only contains pulseaudio.)

Offline

#4 2012-11-17 13:20:09

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 648

Re: Hiding Pulseaudio from Skype.

Mine too, but using pasuspender cured my audio problems anyway. Is it not the case that pasuspender causes pulse to pipe the audio straight through to alsa anyway.

Having said that, I'm not sure why it should affect other applications. It certainly doesn't here.


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Nvidia GTX 670 2Gb, AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked) 8GB RAM
Linux user #545703

Offline

#5 2012-11-17 21:16:10

dotfloat
Member
From: Oslo, Norway
Registered: 2012-11-05
Posts: 14
Website

Re: Hiding Pulseaudio from Skype.

pasuspender doesn't work unfortunately.

Anyway, that's not really what I'm asking for. I'd go to some other sub forum if I needed help solving skype stuff.

Let me maybe rephrase the question slightly: Is it possible (using bash scripting or otherwise) to have one program not be able to link to a library without messing up everything?

Offline

Board footer

Powered by FluxBB