ARver/arver/audio
arcctgx 81bb943b2c wrap calculated checksums in a dataclass
Using a tuple of four checksums is inconvenient, so create a dedicated
Checksums type and return a Checksums object from get_checksums(). This
allows reducing the number of local variables in Rip.verify(), and
fixes a warning raised by Pylint.

Referencing the checksums as a dataclass attribute instead of directly
referencing them as local variables makes some lines longer and results
in awkward line breaks by YAPF, but this code will have to be refactored
and reformatted anyway.

Adapt unit tests.
2025-11-11 17:44:41 +01:00
..
__init__.py rename checksum package to audio 2024-03-03 14:08:21 +01:00
_audio.c calculate "skip silence" CRC32 2025-11-11 17:44:41 +01:00
checksums.py wrap calculated checksums in a dataclass 2025-11-11 17:44:41 +01:00
properties.py rename nframes() and get_nframes() 2025-02-10 21:53:13 +01:00