Implement the MHEG5 Audio Class Description Defines the attributes and behaviour of an elementary audio stream of a Stream multiplex. The Audio object shall be a StreamComponent of a Stream object. Base class: Presentable Subclasses: None Status: Concrete class. More...
#include "mh5audio.h"
#include "mh5application.h"
#include "mh5object.h"
#include "mh5variable.h"
#include "mh5memory.h"
#include "mh5display.h"
#include "mh5queue.h"
#include "mh5debug.h"
Functions | |
void | MHEG5audioInit (MHEG5Audio *audio) |
<Function description>=""> More... | |
void | MHEG5audioFree (MHEG5Audio *audio) |
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed. More... | |
void | MHEG5audioPrepare (MHEG5Audio *audio) |
Apply the preparation behaviour off the audio class Apply the preparation behaviour off the audio class. As this class has no own preparation behaviour this function just invokes the preparation behaviour from the base class. More... | |
void | MHEG5audioActivate (MHEG5Audio *audio) |
Apply the activation behaviour off the audio class. Apply the activation behaviour of the base class, set the running status to true and set the initial volume. More... | |
void | MHEG5audioDeactivate (MHEG5Audio *audio) |
Apply the deactivation behaviour off the audio class. As this class has no own deactivation behaviour this function just invokes the deactivation behaviour from the base class. More... | |
void | MHEG5audioDestruct (MHEG5Audio *audio) |
Destruct an audio object. More... | |
MHEG5ErrorCode | MHEG5setVolume (MHEG5Root *target, MHEG5GList *params) |
Change the volume of an audio. Implementation of the SetVolume (NewVolume) action of the audio class. More... | |
MHEG5ErrorCode | MHEG5getVolume (MHEG5Root *target, MHEG5GList *params) |
Returns the volume of an Audio. Implementation of the GetVolume (VolumeVar) action of the audio class. More... | |
Implement the MHEG5 Audio Class Description Defines the attributes and behaviour of an elementary audio stream of a Stream multiplex. The Audio object shall be a StreamComponent of a Stream object. Base class: Presentable Subclasses: None Status: Concrete class.
void MHEG5audioActivate | ( | MHEG5Audio * | audio | ) |
Apply the activation behaviour off the audio class. Apply the activation behaviour of the base class, set the running status to true and set the initial volume.
MHEG5Audio | *audio |
void MHEG5audioDeactivate | ( | MHEG5Audio * | audio | ) |
Apply the deactivation behaviour off the audio class. As this class has no own deactivation behaviour this function just invokes the deactivation behaviour from the base class.
MHEG5Audio | *audio |
void MHEG5audioDestruct | ( | MHEG5Audio * | audio | ) |
void MHEG5audioFree | ( | MHEG5Audio * | audio | ) |
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed.
audio | Pointer to object to free. |
void MHEG5audioInit | ( | MHEG5Audio * | audio | ) |
<Function description>="">
audio | Pointer to object to initialise. |
void MHEG5audioPrepare | ( | MHEG5Audio * | audio | ) |
Apply the preparation behaviour off the audio class Apply the preparation behaviour off the audio class. As this class has no own preparation behaviour this function just invokes the preparation behaviour from the base class.
MHEG5Audio | *audio |
MHEG5ErrorCode MHEG5getVolume | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Returns the volume of an Audio. Implementation of the GetVolume (VolumeVar) action of the audio class.
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5setVolume | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Change the volume of an audio. Implementation of the SetVolume (NewVolume) action of the audio class.
MHEG5Root | *target |
MHEG5GList | *params |