]> git.lizzy.rs Git - plan9front.git/commit
games/opl3: don't buffer output and simplify (thanks umbraticus)
authorqwx <devnull@localhost>
Tue, 27 Apr 2021 07:48:14 +0000 (09:48 +0200)
committerqwx <devnull@localhost>
Tue, 27 Apr 2021 07:48:14 +0000 (09:48 +0200)
commitaf2f7ea2364f50458b46262aa7027470983c13b6
tree6517ae98ce1da84aca9455269bebaef97bd6fd86
parent51ead1072b1c4b55ec898a083ed2bba878c33927
games/opl3: don't buffer output and simplify (thanks umbraticus)

this fixes real-time applications.

-n previously specified a rate divisor rather than the rate itself,
which was used for specific applications outside of 9front.  instead,
just set the rate directly, more useful and straightforward.
sys/man/1/opl3
sys/src/games/opl3/opl3m.c