add a bytes counter to abuf structures to count the number of
authorratchov <ratchov@openbsd.org>
Thu, 14 Aug 2008 09:46:36 +0000 (09:46 +0000)
committerratchov <ratchov@openbsd.org>
Thu, 14 Aug 2008 09:46:36 +0000 (09:46 +0000)
commitb3d4ab007276b800413e1c0c1cbe531ff081177b
tree567ff6c8da6ca6495ad3ba15653c458f514513c4
parentf04a1c4f2bd064fe8c7170e5f6958c90ee295648
add a bytes counter to abuf structures to count the number of
bytes that entered the FIFO. The counter may overflow, so it
should be used with "modulo 2^32" arithmetic. The counter will
be used later to synchronize playback to record. No behaviour
change.

ok jakemsr
usr.bin/aucat/abuf.c
usr.bin/aucat/abuf.h