Ich höre bei der Arbeit recht viel Musik via Amarok.
Nun möchte ich aber gerne auch erreichbar sein via Skype und Twinkle (VOIP).
Leider blockert amarok aber die komplette Soundkarte, so dass Skype und Twinkle keinen Zugriff haben.
Wie kann ich vorgehen, um den Zugriff auf die Soundkarte allen Programmen gleichzeitig zu erlauben?
hier meine ~/.asoundrc:
Nun möchte ich aber gerne auch erreichbar sein via Skype und Twinkle (VOIP).
Leider blockert amarok aber die komplette Soundkarte, so dass Skype und Twinkle keinen Zugriff haben.
Wie kann ich vorgehen, um den Zugriff auf die Soundkarte allen Programmen gleichzeitig zu erlauben?
hier meine ~/.asoundrc:
Code:
#
# Aufnahme device
#
pcm.capture {
type dsnoop # Aufnahme Plugin
ipc_key 2048 # Einzigartiger Key
ipc_perm 0666 # Rechtezuweisung
slave.pcm "hw:0" # Soundkarte
slave {
period_time 0
period_size 1024
buffer_size 4096
rate 44100 # Aufnahme Frequenz
}
}
#
# Wiedergabe device
#
pcm.playback {
type dmix # Wiedergabe Plugin
ipc_key 1024 # Einzigartiger Key
ipc_perm 0666 # Rechtezuweisung
slave.pcm "hw:0" # Soundkarte
slave {
channels 6 # Kanaele
period_time 0
period_size 1024
buffer_size 4096
}
bindings { # Kanal -> Lautsprecher Zuweisung
0 0 # 0->0 = Front Left
1 1 # 1->1 = Front Right
2 4 # 2->4 = Rear Left
3 5 # 3->5 = Rear Right
4 2 # 4->2 = Center
5 3 # 5->3 = LFE
}
}
#
# Duplex device
#
pcm.duplex {
type asym # Duplex Plugin
playback.pcm "playback" # Wiedergabe Device
capture.pcm "capture" # Aufnahme Device
}
#
# Default device (Gebunden an Duplex)
#
pcm.!default {
type plug
slave.pcm "duplex"
}
#
# OSS Wrapper (fuer aoss)
#
pcm.dsp "default" # /dev/dsp
pcm.dsp1 "default" # /dev/dsp1
ctl.dsp { # OSS ctl
type plug
slave.pcm "hw:0"
}
ctl.mixer { # OSS Mixer
type plug
slave.pcm "hw:0"
}
#
# Downmix Devices
#
#
# Mono to Surround51
#
pcm.dmix10to51 {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.0.1 1
# Rear channel
ttable.0.2 1
ttable.0.3 1
# Center channel
ttable.0.4 1
# LFE channel
ttable.0.5 1
}
#
# Stereo to Surround51
#
pcm.dmix20to51 {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.1.1 1
# Rear channel
ttable.0.2 1
ttable.1.3 1
# Center channel
ttable.0.4 0.5
ttable.1.4 0.5
# LFE channel
ttable.0.5 0.5
ttable.1.5 0.5
}
#
# Surround40 to Surround51
#
pcm.dmix40to51 {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.1.1 1
# Rear channel
ttable.2.2 1
ttable.3.3 1
# Center channel
ttable.0.4 0.25
ttable.1.4 0.25
ttable.2.4 0.25
ttable.3.4 0.25
# LFE channel
ttable.0.5 0.25
ttable.1.5 0.25
ttable.2.5 0.25
ttable.3.5 0.25
}
#
# Clean Devices
#
#
# Mono
#
pcm.!mono {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.0.1 1
}
#
# Stereo
#
pcm.!stereo {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.1.1 1
}
#
# Surround40
#
pcm.!surround40 {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.1.1 1
# Rear channel
ttable.2.2 1
ttable.3.3 1
}
#
# Surround51
#
pcm.!surround51 {
type route
slave.pcm "default"
slave.channels 6
# Front channel
ttable.0.0 1
ttable.1.1 1
# Rear channel
ttable.2.2 1
ttable.3.3 1
# Center channel
ttable.4.4 1
# LFE channel
ttable.5.5 1
}