All pastes #748726 Raw Edit

gg

public text v1 · immutable
#748726 ·published 2007-10-25 02:09 UTC
rendered paste body
hi there.

i'm using this asoundrc without success trying to use 5.1 from a secondary trust usb card

modifying alsa-base i can't make it my default card (i set options snd-usb-audio=-0 but system recognizes intel card indexes as 0 anyway).
here is my asoundrc modified according to select card #1.

# 6 channel dmix:
pcm.dmix6 {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false
    ipc_perm 0660
    slave {
        pcm "plughw:1,0"
        rate 48000
        channels 6
        period_time 0
        period_size 1024
        buffer_time 0
        buffer_size 5120
    }
}

# upmixing:
pcm.ch51dup {
    type route
    slave.pcm dmix6
    slave.channels 6
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 1
    ttable.1.3 1
    ttable.0.4 0.5
    ttable.1.4 0.5
    ttable.0.5 0.5
    ttable.1.5 0.5
}

pcm.duplex {
    type asym
    playback.pcm "ch51dup" # upmix first
    capture.pcm "plughw:1"
}

# change default device:
pcm.!default {
    type softvol
    slave.pcm "duplex"
    control {
        name "Software Master"
        card 1
    }
}

any help would be great...