cleaned code and tuned audio analyzer

This commit is contained in:
2017-05-28 23:09:10 -05:00
parent 473adee281
commit 68422f0453
10 changed files with 37 additions and 11 deletions

View File

@@ -3,8 +3,9 @@ package zero1hd.polyjet.audio;
import javax.sound.sampled.AudioFormat;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.utils.Disposable;
public interface AudioData {
public interface AudioData extends Disposable {
/**
* sets a integer variable to the current window of audio data the playback is at.
* Useful for efficiency because we compute once for that frame then get the values everytime it is required instead of calculating every time we get the index.