Hallo,
Jaroslav, you made my day! Thanks a lot. OSSdmix is working now on the Audiophile
with the supplied asoundrc, yippee.
Jaroslav Kysela hat gesagt: // Jaroslav Kysela wrote:
> Yes, but the real benefit for the multichannel card is that you can cut
> the number of transferred channels. In my case, the plugins - which
> operates on top of the dmix1 PCM definition - will transfer only two
> channels and dmix will mix only two channels. It will save time for you
> (when comparing to the full playback bandwith of your ICE1712 based card -
> 10 channels).
This is cool. Yesterday I had 4 alsaplayers running (listening to
Flaming Lips' "Zaireeka", in case anyone is interested in that :) and
on my 900 MHz Athlon I had about 90% CPU load, without bindings
redefined. Now, with the bindings setting included, I get about 33 %
load, which seems to be so, because there is a lot less mixing going
on.
> Anyway, for the "channel split" purpose, it is better to use
> the dshare plugin which does not do any mixing, but you can give selected
> channels to different applications (it was also most wanted feature from
> some users).
>
> Perhaps one more example to make things clear:
>
> pcm.dmix01 {
> type dmix
> ipc_key 1024
> slave {
> pcm "hw:0,0"
> period_time 0
> period_size 1024
> buffer_size 4096
> rate 44100 # we want to play CDs only
> }
> bindings {
> 0 0
> 1 1
> }
> }
>
> pcm.dmix23 {
> type dmix
> ipc_key 1024
> slave {
> pcm "hw:0,0"
> period_time 0
> period_size 1024
> buffer_size 4096
> rate 44100 # we want to play CDs only
> }
> bindings {
> 0 2
> 1 3
> }
> }
>
> Ok, we have two dmix pcms with same ipc_key. That's ok, because we want to
> operate with the same exclusive output device "hw:0,0". The 'dmix01' sends
> a stereo stream to channels 0 and 1 while the 'dmix23' sends a stereo
> stream to channels 2 and 3. Again, both pcms are sharing one device and
> because dmix plugin is used, multiple clients are suported.
Works like a charm this way. It seems that I was quite close with my
first try and now the missing piece is there, too, so everything has
fallen into place. Wonderful.
ciao
--
Frank Barknecht _ ______footils.org__
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user