Skip to content

Commit

Permalink
Make use of opus sound files
Browse files Browse the repository at this point in the history
  • Loading branch information
cydanil authored Nov 4, 2020
1 parent 4b69155 commit 86664b2
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 5 deletions.
Binary file added src/gourmet/data/sound/error.opus
Binary file not shown.
Binary file removed src/gourmet/data/sound/error.wav
Binary file not shown.
Binary file added src/gourmet/data/sound/phone.opus
Binary file not shown.
Binary file removed src/gourmet/data/sound/phone.wav
Binary file not shown.
Binary file added src/gourmet/data/sound/warning.opus
Binary file not shown.
Binary file removed src/gourmet/data/sound/warning.wav
Binary file not shown.
8 changes: 3 additions & 5 deletions src/gourmet/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,9 @@ class TimerDialog:

keep_annoying = False

sounds_and_files = {
_('Ringing Sound'):'phone.wav',
_('Warning Sound'):'warning.wav',
_('Error Sound'):'error.wav',
}
sounds_and_files = {_('Ringing Sound'): 'phone.opus',
_('Warning Sound'): 'warning.opus',
_('Error Sound'): 'error.opus'}

def __init__ (self):
self.init_player()
Expand Down

0 comments on commit 86664b2

Please sign in to comment.