Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apulse-skype woes [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Feb 11, 2015 5:04 am    Post subject: apulse-skype woes [SOLVED] Reply with quote

I have net-im/skype-4.3.0.37-r5 and apulse-0.1.4 I really don't want to use pusleaudio, but I'm afraid that there is a problem somewhere. None of the following worked:
Code:
apulse skype
LD_LIBRARY_PATH=/usr/lib32/apulse skype
i686-pc-linux-gnu-apulse skype


Uhh... help? Please?

EDIT: The solution for the problem was to set the default sound card for the user using Skype.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.


Last edited by The Doctor on Wed Feb 11, 2015 8:20 am; edited 1 time in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Wed Feb 11, 2015 7:57 am    Post subject: Reply with quote

If you emerged skype with USE=apulse, your /opt/bin/skype should already be a wrapper script, that is, just
Code:
skype
should be correct.
The next step is to check what skype->options->audtiodevices will show: If it detects "virtual device", it does not recognize apulse for some reason; the output must be "PulseAudio server (local)".
apulse is very sensitive to CFLAGS. For instance, -flto and friends will just make skype not recognize the apulse library (hence, you see the wrong output "virtual device").
If you see the correct output but hear nothing (or your micro does not work) you have play with ~/.asoundrc to set the correct (default) devices for apulse.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Feb 11, 2015 8:14 am    Post subject: Reply with quote

Well, skype is set for "PulseAudio server (local)", so that seems to be okay.

But the asoundrc file seems pathological. I have
Code:
pcm.!default{
        type asym
        playback.pcm{
        type plug
        slave.pcm "dmix:CARD=1,RATE=48000"
        }
        capture.pcm{
                type plug
                slave.pcm "hw:1,0"
        }
}
and card 1 is the only one which alsa has any sound controls for.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Wed Feb 11, 2015 8:16 am    Post subject: Reply with quote

Then adjust asoundrc to match your hardware :)
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Feb 11, 2015 8:19 am    Post subject: Reply with quote

(The sound of me beating my head against the wall)

The asoundrc file was completely correct. However, I gave skype its own user and neglected to move the asoundrc file over, so naturally it didn't do anything. :oops:

Sound is now working as expected. Thanks.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum