Commit Graph

3 Commits

Author SHA1 Message Date
Kevin Bataille
75cfe07b14 Rename sound files with -fr suffix for French tones
Add country suffix to sound filenames to clarify the tone standard
in use. Remove the unsuffixed and North American variants.
2026-02-08 14:58:16 +01:00
Kevin Bataille
2c7cfff2d3 Fix use-after-free crash in media playback and use French tones
Replace North American ringback/busy tones with French standard
(440 Hz single tone with 1.5s/3.5s and 0.5s/0.5s cadences).

Fix a crash in on_playing_done where the error/cancel path freed
the MediaPlaybackData via g_autoptr without clearing the owning
pointer (data_calling/data_busy), leaving a dangling pointer that
would segfault on the next stop call.
2026-02-08 14:55:48 +01:00
Kevin Bataille
4d46cdb029 Bundle fallback ringback and busy tone audio files
Most desktop Linux sound themes lack telephony events like
phone-outgoing-calling and phone-outgoing-busy, causing gsound
playback to fail silently. Bundle OGG Vorbis fallback files and
pass GSOUND_ATTR_MEDIA_FILENAME alongside GSOUND_ATTR_EVENT_ID
so libcanberra falls back to the bundled audio when the theme
event is not found.
2026-02-08 14:45:35 +01:00