public MusicPlayerPlaylistController() { isPlaying = false; enabled = false; Environment.getEnvironmentInstance().getAudioPlayer().registerObserver(this); playlist = Environment.getEnvironmentInstance().getAudioPlaylist(); player = Environment.getEnvironmentInstance().getAudioPlayer(); }
@Override public void setPlayerVolume(int value) throws BasicPlayerException { Environment.getEnvironmentInstance().getAudioPlayer().setVolume(value); }
@Override public AudioMetadata getTrackPlayingMetadata() { return Environment.getEnvironmentInstance().getAudioPlaylist().getCursor().getAudioMetaData(); }
protected MuVisMoodFilterNode(String filterName, MuVisFilterNode parent, ProgressStatus status) { super(filterName, parent, status); Environment.getEnvironmentInstance().getDatabaseManager().registerObserver(this); }