Hi folks,

this is my first attemp and question to a mailing list, so please be
patient with me. :)

Now to the problem:


I have a SoundBlaster Live! 24-Bit (7.1) with the ca0106 chip. Since
this damned chip does not support hardwaremixing I'm forced to use DMIX.
Yesterday I found the "ch51dup" route, a stereo upmix to "surround51".
It's working fine, at least with Beep-Media-Player. (MPlayer and XMMS
seem to have some problems with it, anyways, I didn't test that much.)

First problem: since CH51DUP doesn't go through DMIX it's blocking my
soundcard, this is not really that, what I wanted.
Second problem: DMIX can only be connected to the sound card. (Crappy
though, since I simply could route DMIX through CH51DUP and solve this
problem, since CH51DUP ends up in the generic device "surround51" and
therefore in the sound card, but well...)
Third problem: taking CH51DUP as default device and then forwarding to
DMIX won't work, too.

So, as you see, I do not have any clue how to solve it. I hope somebody
can help me solving this issue.

Ok, and here's my .asoundrc:
.-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|# Die Soundkarte wird festgelegt.
|pcm.snd_card {
|    type hw
|    card 0
|}
|
|# Das dmix-Plugin wird definiert.
|pcm.dmixer {
|    type dmix
|    ipc_key 1024
|    ipc_perm 0666       # Andere Benutzer können ebenfalls dmix
gleichzeitig nutzen  ( geil! :) )
|    slave.pcm "snd_card"
|    slave.channels 6
|    slave {
|        # buffer_size kann bei Problemen der jeweiligen Karte angepasst
werden.
|        #channels 6
|        period_time 0
|        period_size 1024
|        buffer_size 32768
|        # bei Störungen kann die Konvertierung auf die Rate 44100
eingeschaltet werden.
|        # rate 44100
|    }
|    bindings {
|        0 0
|        1 1
|    }
|}
|
|# Dies definiert unser dmix-Plugin als Standard für alle ALSA-Programme.
|pcm.!default {
|    type plug
|    slave.pcm "dmixer"
|    #route_policy ch51dup
|    #slave.channels 6
|}
|
|########
|# AOSS #
|########
|
|# DSP wird simuliert und benutzt das dmix-Plugin.
|pcm.dsp "dmixer"
|pcm.dsp1 "dmixer"
|
|# OSS-Steuerung für dsp0 (falls es benötigt wird...)
|ctl.dsp {
|    type plug
|    slave.pcm "snd_card"
|}
|
|# OSS-Steuerung für dsp0 (falls es benötigt wird...)
|ctl.mixer {
|    type plug
|    slave.pcm "snd_card"
|}
|
|pcm.ch51dup {
|    type route
|    slave.pcm "surround51"
|    slave {
|        buffer_size 32768
|    }
|    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.surround51 {
|#       type route
|#       slave.pcm "snd_card"
|        #slave.channels 6
|#}
*-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to