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

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

 



Hi Mark,

Mark Jenks schrieb:
>> ...
>>>> Now I'm trying to split front and rear output to use them for master and
>>>> headphone output in mixxx (dj mixer app).
>> ...
>>> 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
>> this should be pcm "hw:0,0" for the first card, right?
> 
> Yes, whereever your card is.  Do a aplay -l to find out where it is.

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 
- IEC958]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

So it should be hw:0,0

>> Does your .asoundrc start with the code above, or do you have s.th.
>> before like:
>>
>> pcm.intel8x0 {
>>            type hw
>>            card 0
>>           device 0
>>
>>>         channels 8
> 
> I define a device called eightchannels.  it could be sixchannels or
> intel8x0 like yours.
...

Do you have anything else configured, i.e. in /etc/asound.conf?

My complete .asoundrc now looks like this, could you have an eye on it 
wether there's something wrong or not?

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

What's that ipc-key thing about, do I have to change something there?

Sorry for asking maybe silly questions - do you know a good intro in 
.asoundrc? I only read that configuration there is very complicated :(

Cheers
Frisco



------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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