On Thu, May 14, 2015 at 2:55 AM, Jan Stary <h...@stare.cz> wrote:
> On May 14 08:51:02, h...@stare.cz wrote:
>> 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.

# sndiod -d -d -d
snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
listen(/tmp/aucat/aucat0|ini): created

>From another shell:
$ aucat -i test.wav
default: audio device gone, stopping
(aucat process exits)

The rest of the output from "sndioid -d -d -d":
sock(sock|ini): created
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from <aucat>, mode = 1, ver 7
sock,rmsg,widl: using snd0 pst=cfg.default, mode = 1
aucat0: 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
aucat0 vol=127,pst=ini,mmc=off,rmsg,widl: SETPAR message
aucat0 vol=127,pst=ini,mmc=off,rmsg,widl: playback channels 0:0 -> 0:1
aucat0 vol=127,pst=ini,mmc=off,rmsg,widl: 2880 frame buffer
aucat0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message
aucat0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message
aucat0 vol=127,pst=ini,mmc=off,rmsg,widl: START message
aucat0 vol=127,pst=ini,mmc=off: playing s16le -> s16le
aucat0 vol=127,pst=ini,mmc=off: allocated 2880/11520 fr buffers
aucat0 vol=127,pst=sta,mmc=off: 48000Hz, s16le, play 0:0, 3 blocks of 960 frames
aucat0 vol=127,pst=sta,mmc=off,rmsg,widl: building SETVOL message, vol = 127
snd0 pst=ini: device started
snd0 pst=run: started
aucat0 vol=127,pst=run,mmc=off: attached at -8640, delta = 0
cmap: nch = 1, ostart = 0, onext = 1, istart = 0, inext = 0
aucat0 vol=127,pst=run,mmc=off: set weight: 23170/23170
snd0 pst=run: watchdog timeout
snd0 pst=run: closing
aucat0 vol=127,pst=run,mmc=off,rmsg,widl: exit
aucat0 vol=127,pst=run,mmc=off,rmsg,widl: closing
aucat0 vol=127,pst=run,mmc=off: stopping
snd0 pst=cfg: device released
sock(sock|zom): destroyed
snd0 pst=cfg: closed
sio(rsnd/0|zom): destroyed

Perhaps the "watchdog timeout" can give a clue.

I also noticed the following: When running "sndiod" without any -d
flag, not only does the process go into the background (as expected),
but also the behaviour of "aucat -i test.wav" changes. Instead of
giving an error and exiting (as shown above) aucat just hangs without
any output.

Thanks for your help.

Reply via email to