Changeset 13418 in josm


Ignore:
Timestamp:
2018-02-12T22:07:48+01:00 (7 months ago)
Author:
Don-vip
Message:

see #15226, see #2089 - fix MP3 support broken in r12715

File:
1 edited

Legend:

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

    r12846 r13418  
    237237        double calibration = Config.getPref().getDouble("audio.calibration", 1.0 /* default, ratio */);
    238238        try {
    239             soundPlayer = (SoundPlayer) Class.forName("org.openstreetmap.josm.io.audio.JavaFxMediaPlayer").getConstructor().newInstance();
     239            soundPlayer = (SoundPlayer) Class.forName("org.openstreetmap.josm.io.audio.JavaFxMediaPlayer")
     240                    .getDeclaredConstructor().newInstance();
    240241        } catch (ReflectiveOperationException | IllegalArgumentException | SecurityException e) {
    241242            Logging.debug(e);
Note: See TracChangeset for help on using the changeset viewer.