@@ -235,14 +235,10 @@ fn load_raw_samples(path: &Path) -> Result<Vec<f32>, String> {
235235#[ derive( Clone , Debug , Serialize , Deserialize , PartialEq ) ]
236236#[ serde( tag = "type" , content = "path" ) ]
237237pub enum NotificationSound {
238- /// Default built-in sound (notif-default .mp3)
238+ /// Default built-in sound - Prélude (notif-prelude .mp3)
239239 Default ,
240- /// Sonar ping sound (notif-sonar.mp3)
241- Sonar ,
242240 /// Techno ping sound (notif-techno.mp3)
243241 Techno ,
244- /// Synth ping sound (notif-synth.mp3)
245- Synth ,
246242 /// No sound (silent)
247243 None ,
248244 /// Custom user-selected sound file
@@ -656,10 +652,8 @@ fn get_bundled_sound_path<R: Runtime>(
656652 } ;
657653
658654 match sound {
659- NotificationSound :: Default => find_sound ( "notif-default.mp3" ) ,
660- NotificationSound :: Sonar => find_sound ( "notif-sonar.mp3" ) ,
655+ NotificationSound :: Default => find_sound ( "notif-prelude.mp3" ) ,
661656 NotificationSound :: Techno => find_sound ( "notif-techno.mp3" ) ,
662- NotificationSound :: Synth => find_sound ( "notif-synth.mp3" ) ,
663657 NotificationSound :: Custom ( path) => {
664658 // If path is empty or doesn't exist, fall back to default sound
665659 if path. is_empty ( ) {
@@ -855,9 +849,7 @@ fn parse_notification_sound(value: &str) -> NotificationSound {
855849 } else {
856850 match value {
857851 "default" => NotificationSound :: Default ,
858- "sonar" => NotificationSound :: Sonar ,
859852 "techno" => NotificationSound :: Techno ,
860- "synth" => NotificationSound :: Synth ,
861853 "none" => NotificationSound :: None ,
862854 _ => NotificationSound :: Default ,
863855 }
@@ -868,9 +860,7 @@ fn parse_notification_sound(value: &str) -> NotificationSound {
868860fn serialize_notification_sound ( sound : & NotificationSound ) -> String {
869861 match sound {
870862 NotificationSound :: Default => "default" . to_string ( ) ,
871- NotificationSound :: Sonar => "sonar" . to_string ( ) ,
872863 NotificationSound :: Techno => "techno" . to_string ( ) ,
873- NotificationSound :: Synth => "synth" . to_string ( ) ,
874864 NotificationSound :: None => "none" . to_string ( ) ,
875865 NotificationSound :: Custom ( path) => format ! ( "custom:{}" , path) ,
876866 }
0 commit comments