• Phonon and dmix

    I recently decided to use Kde4 again. I ran in a problem with phonon. It didn’t use my dmix setup. Well I got it working. Phonon detects devices with a new alsa command in the asound.conf called ‘hint’. Here is my new /etc/asound.conf and ~/.asoundrc:

    pcm.!default {
    type plug
    slave.pcm "dmixer"
    }
    pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
    }
    pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 8192
    rate 44100 #many new cards are 48000 only
    }
    bindings {
    0 0
    1 1
    }
    hint {
    show on
    description "Onboard Soundcard"
    }
    }
    ctl.dmixer {
    type hw
    card 0
    }

    On the lines 25-28 is the part so Phonon find it. Now you can setup Phonon with your new sound device. It has to be on top for all outputs. (I had to set all of them separately.)


     Leave a reply




Switch to our mobile site