You are not logged in.

#1 2009-02-01 14:00:20

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

ALSA - sound with multiple programs at the same time

Well, I followed the wiki page about this, (http://wiki.archlinux.org/index.php/Allow_multiple_programs_to_play_sound_at_once#dmix_-_Alsa.27s_software_mixing_system.), and it worked. Well, for starters at least. But then it stopped working, just like that. I don't know why, and I don't know if it has something to do with an upgrade or something, since it could have stopped working anytime in the last 2-3 weeks or so, I don't know when.

[arvid@arvid-arch ~]$ cat /etc/asound.conf      
#/etc/asound.conf start:                        
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
    }
}

ctl.dmixer {
    type hw
    card 0
}

#end.
[arvid@arvid-arch ~]$ cat /etc/libao.conf
default_driver=alsa10

Offline

#2 2009-02-03 13:32:08

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: ALSA - sound with multiple programs at the same time

If you don't use ALSA-only apps, try OSS v4. It has built-in kernel-level vmix to support multi-source sound.

Offline

#3 2009-02-03 13:35:06

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: ALSA - sound with multiple programs at the same time

why do you have anything in asound.conf though? youre not supposed to need it anymore..


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB