Audio attachments: save the playback rate per kind and across restarts #575

Open
opened 2026-11-14 21:47:30 +00:00 by charles · 0 comments
Owner

Follow-up from the review of PR #556 (Task 25, #513).

Flaxative keeps the chosen playback rate per attachment, in memory only (crates/fluxer-core/src/chat/media.rs, MediaPlayback::rates). The original (useMediaPlayer.ts:16,74-86,125) saves one rate per kind (audio / voice message) in AppStorage, so it applies to every file of that kind and survives a restart.

To do: keep one rate for audio and one for voice messages, persist them (settings file, with a parity entry), and apply them when a player opens. The Daily use spec does not require this.

Follow-up from the review of PR #556 (Task 25, #513). Flaxative keeps the chosen playback rate per attachment, in memory only (`crates/fluxer-core/src/chat/media.rs`, `MediaPlayback::rates`). The original (`useMediaPlayer.ts:16,74-86,125`) saves one rate per kind (audio / voice message) in AppStorage, so it applies to every file of that kind and survives a restart. To do: keep one rate for audio and one for voice messages, persist them (settings file, with a parity entry), and apply them when a player opens. The Daily use spec does not require this.
charles added this to the Daily use milestone 2026-11-14 21:47:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#575
No description provided.