Changeset 11746 in josm for trunk/src/org/openstreetmap/josm/actions/audio
- Timestamp:
- 2017-03-19T02:26:34+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/audio
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/audio/AudioBackAction.java
r6380 r11746 8 8 import java.awt.event.ActionEvent; 9 9 import java.awt.event.KeyEvent; 10 import java.io.IOException; 10 11 11 12 import org.openstreetmap.josm.Main; … … 38 39 else 39 40 MarkerLayer.playAudio(); 40 } catch ( Exception ex) {41 } catch (IOException | InterruptedException ex) { 41 42 AudioPlayer.audioMalfunction(ex); 42 43 } -
trunk/src/org/openstreetmap/josm/actions/audio/AudioFastSlowAction.java
r8444 r11746 3 3 4 4 import java.awt.event.ActionEvent; 5 import java.io.IOException; 5 6 6 7 import org.openstreetmap.josm.Main; … … 41 42 if (AudioPlayer.playing() || AudioPlayer.paused()) 42 43 AudioPlayer.play(AudioPlayer.url(), AudioPlayer.position(), speed * multiplier); 43 } catch ( Exception ex) {44 } catch (IOException | InterruptedException ex) { 44 45 AudioPlayer.audioMalfunction(ex); 45 46 } -
trunk/src/org/openstreetmap/josm/actions/audio/AudioFwdAction.java
r6380 r11746 7 7 import java.awt.event.ActionEvent; 8 8 import java.awt.event.KeyEvent; 9 import java.io.IOException; 9 10 10 11 import org.openstreetmap.josm.Main; … … 36 37 else 37 38 MarkerLayer.playAudio(); 38 } catch ( Exception ex) {39 } catch (IOException | InterruptedException ex) { 39 40 AudioPlayer.audioMalfunction(ex); 40 41 } -
trunk/src/org/openstreetmap/josm/actions/audio/AudioPlayPauseAction.java
r11452 r11746 7 7 import java.awt.event.ActionEvent; 8 8 import java.awt.event.KeyEvent; 9 import java.io.IOException; 9 10 import java.net.URL; 10 11 … … 53 54 } 54 55 } 55 } catch ( Exception ex) {56 } catch (IOException | InterruptedException ex) { 56 57 AudioPlayer.audioMalfunction(ex); 57 58 }
Note:
See TracChangeset
for help on using the changeset viewer.