started wav metadata, removed extra property from rbmetadata
This commit is contained in:
parent
2588b1e4a3
commit
466f1cfc3e
@ -16,8 +16,6 @@ public interface AudioMetadata extends Disposable {
|
||||
|
||||
public Texture getAlbumCover();
|
||||
|
||||
public String getLastPlayed();
|
||||
|
||||
public String getGenre();
|
||||
|
||||
public FileHandle getFileHandle();
|
||||
|
@ -14,10 +14,9 @@ import com.mpatric.mp3agic.Mp3File;
|
||||
import com.mpatric.mp3agic.UnsupportedTagException;
|
||||
|
||||
public class MP3Metadata implements AudioMetadata {
|
||||
private String author = "N/A";
|
||||
private String author;
|
||||
private String length;
|
||||
private String genre;
|
||||
private String lastPlayed;
|
||||
private Texture albumCover;
|
||||
private FileHandle fileHandle;
|
||||
private RhythmBulletMetadata rbMetadata;
|
||||
@ -95,11 +94,6 @@ public class MP3Metadata implements AudioMetadata {
|
||||
return albumCover;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLastPlayed() {
|
||||
return lastPlayed;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileHandle getFileHandle() {
|
||||
return fileHandle;
|
||||
|
73
core/src/zero1hd/rhythmbullet/audio/WAVMetadata.java
Executable file
73
core/src/zero1hd/rhythmbullet/audio/WAVMetadata.java
Executable file
@ -0,0 +1,73 @@
|
||||
package zero1hd.rhythmbullet.audio;
|
||||
|
||||
import com.badlogic.gdx.files.FileHandle;
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import com.badlogic.gdx.utils.Json;
|
||||
|
||||
public class WAVMetadata implements AudioMetadata {
|
||||
private String author, length, genre;
|
||||
private RhythmBulletMetadata rbMetadata;
|
||||
private Texture albumCover;
|
||||
private FileHandle fileHandle;
|
||||
private Json json;
|
||||
|
||||
@Override
|
||||
public void loadAlbumCover() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unloadAlbumCover() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAuthor() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLength() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Texture getAlbumCover() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGenre() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileHandle getFileHandle() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RhythmBulletMetadata getRBMetadata() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void flushRBMetadata() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user