Changeset 10308 in josm for trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java
- Timestamp:
- 2016-06-01T23:17:40+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java
r10216 r10308 302 302 if (audioInputStream != null) { 303 303 Utils.close(audioInputStream); 304 audioInputStream = null;305 304 } 306 305 playingUrl = command.url(); 307 306 audioInputStream = AudioSystem.getAudioInputStream(playingUrl); 308 307 audioFormat = audioInputStream.getFormat(); 309 long nBytesRead = 0;308 long nBytesRead; 310 309 position = 0.0; 311 310 offset -= leadIn;
Note:
See TracChangeset
for help on using the changeset viewer.