![]() |
MHEG5
18.9.0
MHEG5 Documentation
|
Implement the MHEG5 Audio Class Audio Class 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...
Go to the source code of this file.
Classes | |
struct | MHEG5Audio |
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 Audio Class 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.
Definition in file mh5audio.h.
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 |
Definition at line 144 of file mh5audio.c.
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 |
Definition at line 177 of file mh5audio.c.
void MHEG5audioDestruct | ( | MHEG5Audio * | audio | ) |
Destruct an audio object.
MHEG5Audio | *audio |
Definition at line 205 of file mh5audio.c.
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. |
Definition at line 111 of file mh5audio.c.
void MHEG5audioInit | ( | MHEG5Audio * | audio | ) |
<Function description>="">
audio | Pointer to object to initialise. |
Definition at line 97 of file mh5audio.c.
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 |
Definition at line 127 of file mh5audio.c.
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 |
Definition at line 253 of file mh5audio.c.
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 |
Definition at line 221 of file mh5audio.c.