Re: Can't split front and rear outputs in .asoundrc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 5, 2009 at 7:22 AM, Andre Bischof <a.bischof@xxxxxxx> wrote:
> Hi,
>
> I'm new to alsa, so the problems I encounter are probably my own fault -
> but I would appreciate any help very much.
>
> I've a 5.1 "nVidia CK804 AC'97 Audio Controller" integrated sound card
> on my "Gigabyte GA-K8N Ultra-9", which works fine so far.
>
> Now I'm trying to split front and rear output to use them for master and
> headphone output in mixxx (dj mixer app).
>
> But this doesn't work, I always get the master output on the headphones
> as well.
>
> I changed switches from Shared to Independent and tried 2ch/4ch/6ch in
> both kmix and alsamixer, but the problem remains.
>
> BTW, I'm running Debian Testing/Unstable with KDE 3.5.x. I've no
> soundserver running in KDE's Control Center (arts etc). My kernel is
> 2.6.24-1-686-bigmem.
>
> Sound works fine so far, I guess all necessary modules are loaded and
> running:
>
> # lsmod |grep snd_intel8x0
> snd_intel8x0           32828  3
> snd_ac97_codec         93700  1 snd_intel8x0
> snd_pcm                72612  5
> snd_usb_audio,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
> snd                    49380  19
> snd_usb_audio,snd_rawmidi,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
> snd_page_alloc         10888  2 snd_intel8x0,snd_pcm
>
> (usb_audio is a webcam with a mic only).
>
> I tried to follow
> http://alsa.opensrc.org/index.php/Splitting_front_and_rear_outputs_.asoundrc
> as my .asoundrc, but it doesn't have effect. frontx/rearx shows up and I
> can use it in mixxx, but sound is on both simultanously, no splitting :(
>
> Could anyone tell me how my .asoundrc should look like to achieve
> splitting or if it could be done in another way?
>
>
> Any clues?
>
> Cheers
> Frisco
>
>
> --
> Personal weblog and more: http://bischof.homelinux.net
>


This is the way that I've done it, and it works everytime.

pcm_slave.eightchannels {
        pcm "hw:1,0"            # or "hw:1,0" for the second card
        channels 8
}
pcm.stereo1 {
        type plug
        slave.pcm {
                type dshare
                ipc_key 87882222
                slave eightchannels
                bindings [ 0 1 ]
        }
}
pcm.stereo2 {
        type plug
        slave.pcm {
                type dshare
                ipc_key 87882222
                slave eightchannels
                bindings [ 2 3 ]
        }
}
pcm.stereo3 {
        type plug
        slave.pcm {
                type dshare
                ipc_key 87882222
                slave eightchannels
                bindings [ 4 5 ]
        }
}

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux