Commit graph

5 commits

Author SHA1 Message Date
Simon Bruder f9c0140100
Add documentation and tests for xact3::adpcm
This also renames variables to be easier to understand (rather than
copying the naming scheme of the spec) and moves the calculation of
computable fields in the wave format header into the adpcm module.
2020-07-05 21:17:42 +02:00
Simon Bruder 5e8723c79a
Use byteoder’s LE type alias 2020-07-04 23:22:51 +02:00
Simon Bruder 56d36f2732
Avoid truncation
Error where truncation can occurr and prevent truncation in the future
by using `type::from()` (which checks for truncation) instead of `as
type` (which doesn’t).
2020-06-27 19:43:50 +02:00
Simon Bruder 2b0b66ddca
Use unwrap() for writing to cursor
Writing to cursors should never fail
2020-06-25 18:47:11 +02:00
Simon Bruder 8319ee42d9
Initial commit 2020-06-22 20:39:20 +02:00