Changeset 550 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2008-02-19T15:17:57+01:00 (17 years ago)
Author:
david
Message:

fix problem when audio syncing to waypoint other than the first one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java

    r548 r550  
    288288                }
    289289                // apply adjustment to all subsequent audio markers in the layer
    290                 double adjustment = AudioPlayer.position(); // in seconds
     290                double adjustment = AudioPlayer.position() - startMarker.offset; // in seconds
    291291                boolean seenStart = false;
    292292                URL url = ((AudioMarker)startMarker).url();
Note: See TracChangeset for help on using the changeset viewer.