Inheritance diagram for DzAudioClip:
Properties | |
DzTime | currentPosition |
String | filename |
DzTime | length |
Number | rate |
Methods | |
DzError | openFile (String filename) |
void | pause () |
void | play () |
void | reset () |
This class is implemented by platform specific audioclip classes, DzWinAudioClip and DzMacAudioClip.
Opens the file specified by filename and sets up the audio clip.
filename | The name of the audio file to load. |
void DzAudioClip::pause | ( | ) |
Pauses the audio clip without resetting current position.
void DzAudioClip::play | ( | ) |
Plays the audio clip from current position.
void DzAudioClip::reset | ( | ) |
Resets the current position of the audio clip to the beginning.
The current position of the audio clip from the start.
The name of the file the audio clip was loaded from (Read Only)
The length of the audio clip (Read Only)
The current rate multiplier for the audio clip