NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50613



The following reply was made to PR kern/50613; it has been noted by GNATS.

From: Onno van der Linden <o.vd.linden%quicknet.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/50613
Date: Fri, 20 May 2016 21:12:33 +0200

 Here's a simple test script that demonstrates the bug
 
 #!/bin/sh
 exec 3>/dev/audio
 audioctl -wn play.pause=1 blocksize=1024
 head -c 1024 /dev/zero >&3
 paused=$(audioctl -n play.samples)
 audioctl -wn play.pause=0
 unpaused=$(audioctl -n play.samples)
 if test "$paused" = "$unpaused"
 then
 	echo okay
 else
 	echo failed
 fi
 
 
 Onno
 


Home | Main Index | Thread Index | Old Index