Ignore:
Timestamp:
2009-06-21T12:02:15+02:00 (15 years ago)
Author:
stoecker
Message:

fixed audio handling a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java

    r1245 r1685  
    190190        } catch (Exception ex) {
    191191            return null;
     192        }
     193    }
     194
     195    public static void reset() {
     196        if(audioPlayer != null)
     197        {
     198            try {
     199                pause();
     200            } catch(Exception e) {}
     201            audioPlayer.playingUrl = null;
    192202        }
    193203    }
Note: See TracChangeset for help on using the changeset viewer.