Novell Home

Why does SKYPE block sound on SUSE?

Novell Cool Solutions: Feature
By Adrien Kwok

Digg This - Slashdot This

Posted: 4 Jan 2006
 

ENVRIONMENT: ALSA 1.0.9 or later
Skype 1.1.0.13 or later
Linux kernel 2.6.x (SUSE Linux 9.1 or later)

PROBLEM: Skype blocks my sound system on SUSE, why?

SOLUTION: Skype, the free VOIP software uses OSS (Open Sound System), which it reserves the whole sound system for itself. There are many work arounds for this. You can use ALSA directly, or through wrappers such as aRts. Here I will show how to do it with ALSA (Advanced Linux Sound Architecture).

First, you need to copy and paste the script provided below and add it to your /etc/asound.conf file.

After that, when you want to start the software, type aoss skype at a command prompt to start the software.

That's how easy, happy skyping!

EXAMPLE: Contents of the /etc/asound.conf script:

pcm.asymed { 
         type asym 
         playback.pcm "dmix" 
         capture.pcm "dsnoop" 
 } 
 pcm.!default { 
         type plug 
         slave.pcm "asymed" 
 }
pcm.!dmix {
        type dmix
        ipc_key 1024
ipc_key_add_uid yes
        slave {
            pcm "hw:0,0"
            period_time 0
            period_size 1024
            buffer_size 4096
            rate 48000
        }
        bindings {
            0 0
            1 1
        }
    }
 pcm.!dsnoop { 
         type dsnoop 
         ipc_key 5778293 
         ipc_key_add_uid yes 
         slave { 
                 pcm "hw:0,0" 
                 period_time 0 
                 period_size 128 
                 buffer_size 2048 
                 format S16_LE 
                 rate 48000 
         } 
 } 


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell