org.lyra.Host
Interface PendulumListener

All Known Implementing Classes:
PlayerCompactFrame.Interact, PlayerPanel.Interact

public interface PendulumListener

The Multimedia Player Daemon does not send updates to track the timing of the song. As a result the user is left with either forcing an update every half second to a second in order to ensure that it displays properly or to create their own timer.

In order to save on bandwidth we have created a timer and associated listener that will perform the function in between player updates.

Version:
1.0.5, %Revision, 174%, %LastChangedDate, 27/10/12 3:33PM%
Author:
Martin Foster
See Also:
Pendulum

Method Summary
 void pendulumUpdated(int elapsed, int total)
          In order to try and maintain a certain amount of efficiency it was deemed a bit much to create a class containing a lot of additional information.
 

Method Detail

pendulumUpdated

void pendulumUpdated(int elapsed,
                     int total)
In order to try and maintain a certain amount of efficiency it was deemed a bit much to create a class containing a lot of additional information. Instead we just pass on the appropriate values to the listener.

Parameters:
elapsed - Integer carrying current runtime.
total - Integer representing total play time.