Skype Logo
Buy Skype Credit · Help ·
  • Download
  • Use Skype
  • Business
  • Shop
  • Account
  • Home
  • Get Connected
  • Features
  • Mobile
  • Prices
  • Share
  • All

Skype Community

  • Skype Community
  • English
  • Linux


Resolved: Ubuntu Dapper Drake + ALSA + Skype 1.3.0.53

Mikko Lipasti
New member
Posts: 1

*


System: IBM ThinkPad X30 on Ubuntu 6.06 LTS (Dapper Drake)

Problem: call to echo123 gave "problem with sound device". Running skype from a terminal window yielded the following error message:

CODE

$ skype
ALSA lib pcm_dmix.c:762:(snd_pcm_dmix_open) The dmix plugin supports only playback stream


Solution: per instructions in Linux Sound FAQ - Alsa, added the following lines to ~/.asoundrc

CODE

pcm.asymed {
        type asym
        playback.pcm "dmix"
        capture.pcm "dsnoop"
}

pcm.!default {
        type plug
        slave.pcm "asymed"
}


Results: two test calls to echo123 worked perfectly.
Tue Jan 16 2007, 06:27 · Reply · Quote and reply · Permalink · Top ·
movrev
Regular member
Posts: 18

**


This is awesome info and I'm looking forward to implementing it as I have the exact same problem when using ALSA:

CODE
$ skype
ALSA lib pcm_dmix.c:803:(snd_pcm_dmix_open) The dmix plugin supports only playback stream


Can you please post your complete ~/.asoundrc to compare it with mine as I don't have dsnoop setup, for example, and there may be other differences as well. Thanks.
Sun Mar 18 2007, 20:49 · Reply · Quote and reply · Permalink · Top ·
movrev
Regular member
Posts: 18

**


I was able to find the requested info in the asym page of the ALSA wiki. Following is my ~/.asoundrc for the Shuttle SN25P onboard sound card:

CODE
########################################################
#Full Duplex Software Mixing and Recording.

pcm.dmixed  {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        format S32_LE
        period_time 0
        period_size 1024
        buffer_size 16384
        rate 48000
    }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnooped {
    ipc_key 1027
    type dsnoop
    slave.pcm "hw:0,0"
}

pcm.asymed {
        type asym
        playback.pcm "dmixed"
        capture.pcm "dsnooped"
}

pcm.!default {
    type plug
    slave.pcm "asymed"
}

ctl.!default {
    type hw
    card 0
    device 0
}

########################################################
#For aoss.

pcm.dsp0 {
    type plug
    slave.pcm "asymed"
}

ctl.mixer0 {
    type hw
    card 0
    device 0  
}

########################################################
#This is the normal spdif output profile (optical, toslink).

pcm.!spdif {
    type plug
    slave.pcm "hw:0,1"
}


Now I can use Skype and Amarok at the same time while hearing sounds from Thunderbird and Gaim.

This post has been edited by movrev: Sun Mar 18 2007, 22:04
Sun Mar 18 2007, 22:03 · Reply · Quote and reply · Permalink · Top ·
exjinn
New member
Posts: 2

*


Pardon my ignorance but are there any card specific lines in this snippet? Meaning, in order for this fix to work with my soundcard do I need to make changes?

QUOTE(movrev @ Sun Mar 18 2007, 22:03) [snapback]373543[/snapback]

I was able to find the requested info in the asym page of the ALSA wiki. Following is my ~/.asoundrc for the Shuttle SN25P onboard sound card:

CODE
########################################################
#Full Duplex Software Mixing and Recording.

pcm.dmixed  {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        format S32_LE
        period_time 0
        period_size 1024
        buffer_size 16384
        rate 48000
    }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnooped {
    ipc_key 1027
    type dsnoop
    slave.pcm "hw:0,0"
}

pcm.asymed {
        type asym
        playback.pcm "dmixed"
        capture.pcm "dsnooped"
}

pcm.!default {
    type plug
    slave.pcm "asymed"
}

ctl.!default {
    type hw
    card 0
    device 0
}

########################################################
#For aoss.

pcm.dsp0 {
    type plug
    slave.pcm "asymed"
}

ctl.mixer0 {
    type hw
    card 0
    device 0  
}

########################################################
#This is the normal spdif output profile (optical, toslink).

pcm.!spdif {
    type plug
    slave.pcm "hw:0,1"
}


Now I can use Skype and Amarok at the same time while hearing sounds from Thunderbird and Gaim.

Tue Mar 20 2007, 02:30 · Reply · Quote and reply · Permalink · Top ·
jegerjensen
New member
Posts: 2

*


QUOTE(exjinn @ Tue Mar 20 2007, 02:30) [snapback]374072[/snapback]

Pardon my ignorance but are there any card specific lines in this snippet? Meaning, in order for this fix to work with my soundcard do I need to make changes?


I don't know, but I copied the files verbatim and now it appears my skype setup finally works -- with software mixing and all bigsmile.png Thanks for posting your solution Mikko!





Fri Mar 30 2007, 06:38 · Reply · Quote and reply · Permalink · Top ·
 
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

Welcome guest Read a quick guide to using these community forums.

  • My area
  • Sign in
  • Related
  • Search
  • Community guidelines
  • User guides
  • Knowledgebase

Heartbeat Heartbeat See how our products are performing on the Heartbeat blog.

About us · News · Jobs · Prices · Security · Site map
Privacy policy · Legal · © 2009 Skype Limited