Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # .asoundrc to use skype at the same time as other audio apps like xmms
- #
- # Successfully tested on an IBM x40 with i810_audio using Linux 2.6.15 and
- # Debian unstable with skype 1.2.0.18-API. No sound daemons (asound, esd, etc.)
- # running. However, YMMV.
- #
- # For background, see:
- #
- # https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1228
- # https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1224
- #
- # (C) 2006-06-03 Lorenzo Colitti - http://www.colitti.com/lorenzo/
- # Licensed under the GPLv2 or later
- pcm.skype {
- type asym
- playback.pcm "skypeout"
- capture.pcm "skypein"
- }
- pcm.skypein {
- type route
- slave {
- pcm "skypedsnoop"
- format S16_LE
- }
- ttable {
- 0 {0 0.5}
- 1 {0 0.5}
- }
- }
- pcm.skypeout {
- # Just pass this on to the system dmix
- type plug
- slave {
- pcm "dmix"
- }
- }
- pcm.skypedsnoop {
- type dsnoop
- ipc_key 1133
- slave {
- # "Magic" buffer values to get skype audio to work
- # If these are not set, opening /dev/dsp succeeds but no sound
- # will be heard. According to the ALSA developers this is due
- # to skype abusing the OSS API.
- pcm "hw:0,0"
- period_size 256
- periods 16
- buffer_size 16384
- }
- bindings {
- 0 0
- }
- }
- #pcm.asymed {
- # type asym
- # playback.pcm "dmix"
- # capture.pcm "dsnoop"
- #}
- #pcm.!default {
- # type plug
- # slave.pcm "asymed"
- #}
- pcm.!default {
- type hw
- card 1
- device 0
- }
- ctl.!default {
- type hw
- card 1
- device 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement