diff options
| author | isaki <isaki@NetBSD.org> | 2022-04-20 07:11:13 +0000 |
|---|---|---|
| committer | isaki <isaki@NetBSD.org> | 2022-04-20 07:11:13 +0000 |
| commit | 7cc25583f8165fd2228ea2be7bb02c58eeae1d29 (patch) | |
| tree | 554c4efa12ea2bf43efd54e4f0e66e66f008901a /sys/dev/microcode | |
| parent | 3619e2342119c11400be1796503ce6eb927b2ed4 (diff) | |
audio(4): Rework AUDIO_GETOOFFS.
- Count .samples/.deltablks in blocks. It makes .deltablks integer wrap
around safe.
- Remove suspicious one block offset from .offset. I added the offset
because it was observed so on NetBSD7. But according to manpage, it
should not be. And it looks fine without the offset.
- Related to that, remove a comment in AUDIO_WSEEK.
Limit the user-visible buffer to usrbuf only.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
