On May 14 08:51:02, h...@stare.cz wrote: > On May 13 20:08:45, bryan.pimm...@gmail.com wrote: > > In fact, after killing sndiod things work fine, *except* for that > > afterwards only one program can play sound simultaneously. > > That sounds like a sndiod problem then. > Please launch sndiod again in a script(1) > as "sndiod -d -d -d", play an audio file > (with aucat or play or whatever) and post the log.
For example, this is what sndiod -d -d -d says on a current/amd64 when mplayer play a song. See wherr yours differs. Script started on Thu May 14 08:53:25 2015 root@box:hans$ sndi root@box:hans$ sndiod root@box:hans$ sndiod -d -d -d snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup listen(/tmp/aucat/aucat0|ini): created sock(sock|ini): created sock,rmsg,widl: AUTH message sock,rmsg,widl: HELLO message sock,rmsg,widl: hello from <mplayer>, mode = 1, ver 7 sock,rmsg,widl: using snd0 pst=cfg.default, mode = 1 mplayer0: overwritten slot 0 snd0 pst=cfg: device requested sio(rsnd/0|ini): created snd0 pst=ini: 48000Hz, s16le, play 0:1, rec 0:1, 9 blocks of 960 frames mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: SETPAR message mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: playback channels 0:1 -> 0:1 mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: 44100Hz sample rate, 882 frame blocks mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: 11466 frame buffer mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: START message mplayer0 vol=127,pst=ini,mmc=off: playing s16le -> s16le mplayer0 vol=127,pst=ini,mmc=off: allocated 11466/19404 fr buffers mplayer0 vol=127,pst=sta,mmc=off: 44100Hz, s16le, play 0:1, 13 blocks of 882 frames mplayer0 vol=127,pst=sta,mmc=off,rmsg,widl: building SETVOL message, vol = 127 snd0 pst=ini: device started snd0 pst=run: started mplayer0 vol=127,pst=run,mmc=off: attached at -7938, delta = 0 cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0 resamp: 882/960 mplayer0 vol=127,pst=run,mmc=off: set weight: 23170/23170 mplayer0 vol=127,pst=run,mmc=off,rmsg,widl: STOP message mplayer0 vol=127,pst=run,mmc=off: stopping mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: stopped mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: building STOP message mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: BYE message mplayer0 vol=127,pst=ini,mmc=off,rmsg,widl: closing snd0 pst=run: device released sock(sock|zom): destroyed snd0 pst=run: device stopped snd0 pst=run: stopped, load avg = 49467 / 7294210 snd0 pst=ini: closing snd0 pst=cfg: closed sio(rsnd/0|zom): destroyed ^Clisten(/tmp/aucat/aucat0|zom): destroyed snd0 pst=cfg: draining nothing to do... snd0 pst=cfg: deleting root@box:hans$ ^D Script done on Thu May 14 08:53:42 2015