#
# Configuration for on-board AC97 'turkey'
#

pcm.card0 {
    type hw
    card 0
}
pcm.dmix0 {
    type dmix 
    ipc_key 34521 
    slave {
        pcm "card0"
        period_time 0
        period_size 1024
        buffer_size 8192
        rate        44100
    }
}
pcm.dsnoop0 {
    type dsnoop 
    ipc_key 34522
    slave {
        pcm "card0" 
    }
}
pcm.asym0 {
    type asym 
    playback.pcm "dmix0" 
    capture.pcm "dsnoop0"
}
pcm.pasym0 {
    type plug 
    slave.pcm "asym0"
}
pcm.dsp0 {
    type plug
    slave.pcm "asym0"
}
ctl.dsp0 {
    type hw
    card 0
}
pcm.!default {
    type plug
    slave.pcm "asym0"
}
ctl.!default {
    type hw
    card 0
}

#
# Configuration for the Terratec EWS-88
#

pcm.main {
        type hw
        card 1
        device 2
}

pcm.ice1712 {
        type hw
        card 1
        device 0
}

# adcdac 1&2
pcm.channel1 {
        type plug
        ttable.0.0 1
        ttable.0.1 1
        slave.pcm ice1712
}

# adcdac 3&4
pcm.channel2 {
        type plug
        ttable.0.2 1
        ttable.0.3 1
        slave.pcm ice1712
}

#adcdac 5&6
pcm.channel3 {
        type plug
        ttable.0.4 1
        ttable.0.5 1
        slave.pcm ice1712
}

# adcdac 7&8
pcm.channel4 {
        type plug
        ttable.0.6 1
        ttable.0.7 1
        slave.pcm ice1712
}

#
# SPDIF channels only (not tested!)
#

pcm.ice1712_spdif {
        type plug
        ttable.0.8 1
        ttable.1.9 1
        slave.pcm ice1712
}

#
# All HW outs set to PCM OUT in envy24
#

pcm.hwout {
        type plug
        slave.pcm ice1712
}

