Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcm.softvolPhonon {
- type softvol
- slave.pcm "default:CARD=0"
- control {
- name "Phonon"
- card 0
- }
- min_dB -51.0
- max_dB 0.0
- resolution 100
- hint {
- show on
- description "My Soundcard with extra Volume Control"
- }
- }
- #asym fun start here. we define one pcm device called "dmixed"
- pcm.dmixed {
- ipc_key 1025
- type dmix
- slave {
- pcm "hw:0,0"
- period_time 0
- period_size 1024
- buffer_size 8192
- rate 48000
- }
- }
- #one called "dsnooped" for capturing
- pcm.dsnooped {
- ipc_key 1026
- type dsnoop
- slave.pcm "hw:0,0"
- }
- #and this is the real magic
- pcm.asymed {
- type asym
- playback.pcm "dmixed"
- capture.pcm "dsnooped"
- }
- #a quick plug plugin for above device to do the converting magic. saves
- #typing when settng the pcm name in an alsa app
- pcm.pasymed {
- type plug
- slave.pcm "asymed"
- }
- #a ctl device to keep xmms happy
- ctl.pasymed {
- type hw
- card 0
- }
- #here we try to point the aoss script to our asymed device
- pcm.dsp0 {
- type plug
- slave.pcm "asymed"
- }
- #this sets the default device
- pcm.!default {
- type plug
- slave.pcm "asymed"
- }
- # convert alsa API over jack API
- # use it with
- # % aplay foo.wav
- # use this as default
- pcm.jackplug {
- type plug
- slave { pcm "jack" }
- }
- ctl.mixer0 {
- type hw
- card 0
- }
- # pcm type jack
- pcm.jack {
- type jack
- playback_ports {
- 0 alsa_pcm:playback_1
- 1 alsa_pcm:playback_2
- }
- capture_ports {
- 0 alsa_pcm::capture_1
- 1 alsa_pcm::capture_2
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement