sb16: return Blocksize instead of buffer size
This commit is contained in:
parent
6cd063199d
commit
9adf75a709
1 changed files with 2 additions and 2 deletions
|
@ -503,9 +503,9 @@ audiostatus(Audio *adev, void *a, long n, vlong)
|
||||||
Ctlr *ctlr = adev->ctlr;
|
Ctlr *ctlr = adev->ctlr;
|
||||||
|
|
||||||
return snprint((char*)a, n,
|
return snprint((char*)a, n,
|
||||||
"bufsize %6lud buffered %6ld "
|
"bufsize %6d buffered %6ld "
|
||||||
"offset %10lud time %19lld\n",
|
"offset %10lud time %19lld\n",
|
||||||
ctlr->ring.nbuf, buffered(&ctlr->ring),
|
Blocksize, buffered(&ctlr->ring),
|
||||||
ctlr->totcount, ctlr->tottime);
|
ctlr->totcount, ctlr->tottime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue