public abstract class SoundbankResource extends Object
Modifier | Constructor and Description |
---|---|
protected |
SoundbankResource(Soundbank soundbank,
String name,
Class<?> dataClass)
Create a SoundbankResource object.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
getData()
Get the audio data for this resource.
|
Class<?> |
getDataClass()
Get the class used to represent the audio data for this resource.
|
String |
getName()
Get the name of this resource.
|
Soundbank |
getSoundbank()
Get the sound bank containing this resource.
|
protected SoundbankResource(Soundbank soundbank, String name, Class<?> dataClass)
soundbank
- the soundbank object containing this resourcename
- the name of the resourcedataClass
- the class used to represent the audio datapublic Soundbank getSoundbank()
public Class<?> getDataClass()