VOLUME_MAX, VOLUME_MIN
Constructor and Description |
---|
AudioVoid()
Create void audio.
|
Modifier and Type | Method and Description |
---|---|
void |
play()
Play the audio.
|
void |
setVolume(int volume)
Set the midi volume.
|
void |
stop()
Stop the audio.
|
public void play()
Audio
The audio will be played from the beginning until the end.
public void setVolume(int volume)
Audio
setVolume
in interface Audio
volume
- The volume in percent [Audio.VOLUME_MIN
- Audio.VOLUME_MAX
]
.Copyright © 2017 Byron 3D Games Studio. All rights reserved.