Diffstat (limited to 'libopie2/opiecore/device/odevice_zaurus.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp index 127fee9..64fa199 100644 --- a/libopie2/opiecore/device/odevice_zaurus.cpp +++ b/libopie2/opiecore/device/odevice_zaurus.cpp | |||
@@ -324,16 +324,19 @@ void Zaurus::buzzer ( int sound ) | |||
324 | 324 | ||
325 | switch ( sound ){ | 325 | switch ( sound ){ |
326 | case SHARP_BUZ_TOUCHSOUND: | 326 | case SHARP_BUZ_TOUCHSOUND: { |
327 | static Sound touch_sound("touchsound"); | 327 | static Sound touch_sound("touchsound"); |
328 | snd = &touch_sound; | 328 | snd = &touch_sound; |
329 | } | ||
329 | break; | 330 | break; |
330 | case SHARP_BUZ_KEYSOUND: | 331 | case SHARP_BUZ_KEYSOUND: { |
331 | static Sound key_sound( "keysound" ); | 332 | static Sound key_sound( "keysound" ); |
332 | snd = &key_sound; | 333 | snd = &key_sound; |
334 | } | ||
333 | break; | 335 | break; |
334 | case SHARP_BUZ_SCHEDULE_ALARM: | 336 | case SHARP_BUZ_SCHEDULE_ALARM: |
335 | default: | 337 | default: { |
336 | static Sound alarm_sound("alarm"); | 338 | static Sound alarm_sound("alarm"); |
337 | snd = &alarm_sound; | 339 | snd = &alarm_sound; |
340 | } | ||
338 | break; | 341 | break; |
339 | } | 342 | } |