This commit is contained in:
Jamie Hardt
2024-11-24 12:47:09 -08:00
parent 259994d514
commit dc18b4eb99

View File

@@ -50,7 +50,7 @@ class WaveSmplReader:
#: The SMPTE offset to apply, as a tuple of four ints representing
#: hh, mm, ss, ff
self.smpte_offset: Tuple[int, int, int, int] = unpacked_data[6:10]
self.smpte_offset: Tuple[int, int, int, int] = unpacked_data[6:10]
loop_count = unpacked_data[10]
sampler_udata_length = unpacked_data[11]
@@ -72,7 +72,5 @@ class WaveSmplReader:
#: Sampler-specific user data.
self.sampler_udata: bytes = smpl_data[
header_field_fmt + loop_size * loop_count :
header_field_fmt + loop_size * loop_count + sampler_udata_length]
header_field_fmt + loop_size * loop_count:
header_field_fmt + loop_size * loop_count + sampler_udata_length]