A class that provides the interface for objects that encode and decode sound data.
More...
|
virtual SoundFormat | getSoundFormat () const =0 |
| Return an object that represents the sound format that this transcoder can encode and decode. More...
|
|
virtual Bool | encode (const ResourceID &identifier, const Sound &sound, const ResourceSet *resourceSet=((void *) 0), ResourceManager *manager=((void *) 0)) |
| Save the specified sound resource at the specified ID location. More...
|
|
virtual Bool | encode (DataOutputStream &stream, const Sound &sound)=0 |
| Encode a sound to the specified output stream. More...
|
|
virtual Sound * | decode (ResourceID &identifier, ResourceSet *resourceSet=((void *) 0), ResourceManager *manager=((void *) 0)) |
| Load the sound pointed to by the specified identifier. More...
|
|
virtual Bool | decode (DataInputStream &stream, Sound &sound)=0 |
| Decode a sound from the specified output stream. More...
|
|
virtual Bool | decode (const Shared< DataInputStream > &stream, Sound &sound)=0 |
| Decode a sound from the specified persistent output stream. More...
|
|
virtual const ResourceType & | getResourceType () const |
| Return an object that represents the resource type that this transcoder can read and write. More...
|
|
virtual Bool | canEncode (const DataType &resource) const =0 |
| Return whether or not this transcoder is able to encode the specified resource. More...
|
|
virtual Bool | encode (const ResourceID &identifier, const DataType &resource, const ResourceSet *resourceSet=((void *) 0), ResourceManager *manager=((void *) 0))=0 |
| Save the specified resource object at the specified ID location. More...
|
|
virtual | ~ResourceTranscoder () |
| Destroy a resource transcoder and release all of its resources. More...
|
|
virtual const ResourceFormat & | getResourceFormat () const =0 |
| Return an object that represents the resource format that this transcoder can read and write. More...
|
|
virtual Bool | canDecode (const ResourceID &identifier) const =0 |
| Return whether or not the specified identifier refers to a valid resource for this transcoder. More...
|
|
A class that provides the interface for objects that encode and decode sound data.