View previous topic :: View next topic |
Author |
Message |
Hetfield666 Tux's lil' helper
Joined: 28 Feb 2004 Posts: 99
|
Posted: Sat Jul 02, 2005 8:28 am Post subject: skype and alsa dmix |
|
|
i have dmix alsa plugin and i use it with success with xmms and mplayer and other programs.
the problem is with skype, that uses oss libs.
i tried to start with aoss (aoss works with many apps here)
and i get segmentation faults. without aoss i can use skype, but without mixing.
i tried several skype versions, static and not, same issue for everyone.
Anyone solved that?
aoss skype
No running artsd or esd found
Starting skype without sound daemon
==========================================
/usr/bin/skype: line 50: 17970 Segmentation fault ${skypecmd} ${progopts} >>${logfile} 2>>${logfile} |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sat Jul 02, 2005 1:20 pm Post subject: |
|
|
It both sucks that:
* Alsa can't do software mixing for /dev/dsp (why??)
* Skype still uses OSS (/dev/dsp) instead of alsa.
So, same problem here. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
Hetfield666 Tux's lil' helper
Joined: 28 Feb 2004 Posts: 99
|
Posted: Tue Jul 05, 2005 8:06 am Post subject: |
|
|
skype uses oss, but with aoss you can have dmix working.
there was a bug in aoss making skype crashing, fixed in alsa cvs now.
but sound is not working, and it's a alsa and skype cross bug.
i've filled some bug request, waiting for fix. |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Tue Jul 05, 2005 9:14 am Post subject: |
|
|
irondog wrote: | It both sucks that:
* Alsa can't do software mixing for /dev/dsp (why??)
* Skype still uses OSS (/dev/dsp) instead of alsa.
So, same problem here. |
the alsa plugin for skype is being developed.
and the reason for /dev/dsp not being able to mix multiple streams:
http://www.sabi.co.uk/Notes/linuxSoundALSA.html wrote: | OSS applications dont share the sound card
By default the OSS compatibility devices respect POSIX rules and allow only exclusive opens unless the O_NONBLOCK option is given to open(2). This can be worked around either by using the aoss program, oss2jack, the non-block configuration directive, or the nonblock_open options of the snd-pcm-oss modules. |
check that page for help.
you can also configure arts or esound to use alsa, and start skype with or
cheers! _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
x.para Apprentice
Joined: 22 May 2005 Posts: 174 Location: CZ
|
Posted: Tue Jul 05, 2005 10:31 pm Post subject: |
|
|
I had similar problem and I resolved it to disable KDE sound, emerging new alsa-driver, alsa-oss, alsa-lib and alsa-utils. Than it started to work fine with my Skype. |
|
Back to top |
|
|
KarlfstBorst n00b
Joined: 08 Mar 2005 Posts: 41 Location: Darmstadt, Germany
|
Posted: Wed Jul 06, 2005 12:07 pm Post subject: |
|
|
Hi! I use Skype with aoss, dmix, snoop and Gnome Soundserver without problems.
My setup:
*M-Audio Audiophile 2496
*Intel Soundcard onboard
*Skype 1.0.0.20
*ALSA 1.0.8
.asoundrc:
------------------
pcm.audiophile {
type hw
card 0
}
pcm.intel {
type hw
card 1
}
# ICE1712 dmix:
pcm.ossmix {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096 # buffer size < 6653, but pow(x, 2)
rate 44100 # we want to play CDs only
}
bindings {
0 0
1 1
}
}
#######################################
# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnoop {
type dsnoop
ipc_key 2048
slave.pcm "intel"
bindings {
0 0
1 1
}
}
# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
type asym
playback.pcm "ossmix"
capture.pcm "dsnoop"
}
#######################################
# Everything shall be dmixed, so redefine "default":
pcm.!default {
type plug
#slave.pcm "ossmix"
slave.pcm "duplex"
}
# OSS via aoss should d(mix)stroyed:
pcm.dsp0 {
type plug
#slave.pcm "ossmix"
slave.pcm "duplex"
}
# OSS control for dsp0 (needed?...this might not be useful)
#ctl.dsp0 {
# type plug
# slave.pcm "audiophile"
# #slave.pcm "duplex"
#}
# OSS control for dsp0 (needed?...this might not be useful)
#ctl.dsp1 {
# type plug
# slave.pcm "intel"
#}
ctl.mixer0 {
type hw
card 0
}
#ctl.mixer1 {
# type hw
# card 1
#}
---------------------
Best regards
André. |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Wed Jul 06, 2005 12:59 pm Post subject: |
|
|
@ KarlfstBorst
boah! you managed to route the mic in of your onboard card with dsnoop? awesome! must test that too!
i'm currently using line in and mic is connected to my dj mixer, which i use as mic preamp that way
delta audiophile 2496 too
EDIT: humm, using your asoundrc i can't open any device at all:
EDIT2: ah, got it! awesome! udev didn't create mixer0.. but only mixer
thx! _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Fri Jul 08, 2005 2:55 pm Post subject: |
|
|
gimpel wrote: |
http://www.sabi.co.uk/Notes/linuxSoundALSA.html wrote: | OSS applications dont share the sound card
By default the OSS compatibility devices respect POSIX rules and allow only exclusive opens unless the O_NONBLOCK option is given to open(2). This can be worked around either by using the aoss program, oss2jack, the non-block configuration directive, or the nonblock_open options of the snd-pcm-oss modules. |
|
The nonblock_open option of the snd-pcm-oss kernel module only prevents from getting and open error when two programs try to access the /dev/dsp device. There is no mixing. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
cast0r Tux's lil' helper
Joined: 15 Dec 2004 Posts: 89
|
Posted: Wed Jul 13, 2005 3:25 pm Post subject: |
|
|
which package owns aoss, dmix, and snoop? |
|
Back to top |
|
|
Poseidon n00b
Joined: 18 Apr 2002 Posts: 18 Location: New Hampshire, US
|
Posted: Tue Aug 16, 2005 6:19 pm Post subject: Quick answer for a quick question... |
|
|
Just emerge package 'alsa-oss'. |
|
Back to top |
|
|
phadron Tux's lil' helper
Joined: 28 Sep 2003 Posts: 96 Location: Padova
|
Posted: Tue Aug 23, 2005 9:30 pm Post subject: |
|
|
x.para wrote: | I had similar problem and I resolved it to disable KDE sound, emerging new alsa-driver, alsa-oss, alsa-lib and alsa-utils. Than it started to work fine with my Skype. |
how can I turn off KDE sound ? |
|
Back to top |
|
|
|