Files
Lightningbeam/lightningbeam-ui/lightningbeam-editor/src
Skyler Lehmkuhl 34eee3a620 Fix .beam save quirks: real sample rate, drop dead fields
Address the code smells flagged in the .beam format spec:

- Write the project's actual sample rate on save instead of a hardcoded 48000
  (add AudioProject::sample_rate()).
- Remove the vestigial RasterKeyframe.media_path field (it was only used by the
  legacy ZIP loader, which now derives "media/raster/<id>.png" from the keyframe
  id) and the dead buffer_path_at_time accessor. Backward-compatible: older files
  carrying media_path deserialize fine (the field is ignored).
- Drop the unused SaveSettings fields auto_embed_threshold_bytes / force_embed_all
  / force_link_all; only large_media_mode was ever consulted. Un-prefix the now-used
  `settings` parameter.

Update BEAM_FILE_FORMAT.md to match. The remaining notes (reserved MediaKind::Video,
exact-match version check) are design choices, left as-is.
2026-06-21 23:21:48 -04:00
..
2026-06-21 16:48:59 -04:00
2026-06-21 16:48:59 -04:00
2026-03-11 10:58:30 -04:00
2026-02-16 19:12:21 -05:00
2026-06-21 16:48:59 -04:00
2026-03-06 07:22:50 -05:00
2026-06-21 16:48:59 -04:00
2025-11-18 00:22:28 -05:00
2026-06-21 16:48:59 -04:00
2026-02-21 00:54:38 -05:00
2026-06-02 13:41:10 -04:00
2026-06-21 16:48:59 -04:00
2026-06-21 16:48:59 -04:00
2026-06-21 16:48:59 -04:00