libretroadmin
e12fbf782e
resampler: state() saves and loads a stream
...
A core saving a state mid-stream needs the resampler's: the rings, the
clocks, the decimation stages and their crossfade. Each backend had
these as private fields, so a core kept its own copy of the struct
layout and broke on every resync. The vtable gains an optional state():
the size with no buffer, else a copy out or in, refused when the size
does not match the instance's configuration. The sinc carries its whole
state block and every clock, the nearest its fraction.
samples/audio/resampler_state saves at fixed ratios and below the design
ratio, mid-crossfade and settled, loads into an instance with a stream
of its own and requires the continuation bit for bit, and checks a
wrong size is refused.
2026-11-09 20:34:47 +01:00
..
2026-10-19 07:03:11 +02:00
2026-10-17 04:08:05 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-11-09 02:02:35 +01:00
2026-11-02 23:24:28 +01:00
2026-11-09 02:02:35 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-10 22:18:24 +02:00
2026-11-09 01:58:48 +01:00
2026-10-13 11:50:11 +02:00
2026-11-09 03:50:52 +01:00
2026-11-09 03:50:52 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-17 04:08:05 +02:00
2026-10-17 04:08:05 +02:00
2026-11-09 00:33:34 +01:00
2026-11-09 03:50:52 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-11-03 19:01:15 +01:00
2026-10-13 11:50:11 +02:00
2026-11-01 22:33:01 +01:00
2026-11-09 03:50:52 +01:00
2026-11-09 03:50:52 +01:00
2026-09-16 09:03:14 +02:00
2026-10-20 19:43:53 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-11-07 19:06:01 +01:00
2026-11-09 03:50:52 +01:00
2026-11-09 03:50:52 +01:00
2026-10-30 09:42:01 +01:00
2026-10-13 11:50:11 +02:00
2026-10-30 09:42:01 +01:00
2026-11-09 03:50:52 +01:00
2026-11-09 03:50:52 +01:00
2026-11-09 03:50:52 +01:00
2026-10-13 11:50:11 +02:00
2026-11-09 01:47:48 +01:00
2026-11-09 01:58:48 +01:00
2026-11-09 02:07:57 +01:00
2026-11-09 03:50:52 +01:00
2026-10-13 11:50:11 +02:00
2026-10-28 05:43:35 +01:00
2026-10-13 11:50:11 +02:00
2026-11-09 20:34:47 +01:00
2026-11-09 01:47:48 +01:00
2026-10-29 20:33:27 +01:00
2026-11-09 01:47:48 +01:00
2026-10-28 14:48:06 +01:00
2026-10-28 14:48:06 +01:00
2026-10-17 02:29:15 +02:00
2026-11-09 03:50:52 +01:00
2026-10-28 05:44:13 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-11-09 03:50:52 +01:00
2026-10-13 11:50:11 +02:00
2026-10-30 09:42:01 +01:00
2026-10-24 12:56:59 +02:00
2026-11-09 01:58:48 +01:00
2026-11-09 01:58:48 +01:00
2026-10-30 09:42:01 +01:00
2026-11-07 17:52:40 +01:00
2026-10-17 04:08:05 +02:00
2026-11-03 02:28:57 +01:00
2026-10-13 11:50:11 +02:00
2026-11-09 02:02:35 +01:00
2026-09-13 15:34:53 +02:00
2026-11-09 02:05:40 +01:00
2026-10-26 05:01:59 +01:00
2026-10-13 11:50:11 +02:00
2026-11-03 02:15:52 +01:00
2026-10-13 11:50:11 +02:00
2026-09-13 03:40:00 +02:00