diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-20 21:16:27 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-20 21:16:27 +0000 |
commit | 9adf75a7091c7bd2afefbeba62a2525d50df4404 (patch) | |
tree | 3c29641bb6085db8c1cc8c425666821deece6211 /sys/src/9/pc/audiosb16.c | |
parent | 6cd063199d1ab6892c11f74b4b80a16087f62847 (diff) |
sb16: return Blocksize instead of buffer size
Diffstat (limited to 'sys/src/9/pc/audiosb16.c')
-rw-r--r-- | sys/src/9/pc/audiosb16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/audiosb16.c b/sys/src/9/pc/audiosb16.c index bf7c1db7c..87ac58e72 100644 --- a/sys/src/9/pc/audiosb16.c +++ b/sys/src/9/pc/audiosb16.c @@ -503,9 +503,9 @@ audiostatus(Audio *adev, void *a, long n, vlong) Ctlr *ctlr = adev->ctlr; return snprint((char*)a, n, - "bufsize %6lud buffered %6ld " + "bufsize %6d buffered %6ld " "offset %10lud time %19lld\n", - ctlr->ring.nbuf, buffered(&ctlr->ring), + Blocksize, buffered(&ctlr->ring), ctlr->totcount, ctlr->tottime); } |