public boolean incrementSoundSequence() {
		if (!toStream) {
			errorMessage("Method 'incrementSoundSequence' may only be used "
					+ "for streaming and MIDI sources.");
			return false;
		}

		synchronized (soundSequenceLock) {
			if (soundSequenceQueue != null && soundSequenceQueue.size() > 0) {
				filenameURL = soundSequenceQueue.remove(0);
				if (codec != null)
					codec.cleanup();
				codec = SoundSystemConfig.getCodec(filenameURL.getFilename());
				return true;
			}
		}
		return false;
	}