public interface SoundEffect extends RemoteEffect<SoundEffectType>
Modifier and Type | Method and Description |
---|---|
int |
pitch()
Returns the pitch of the sound
|
void |
setPitch(int pitch)
Set the pitch of the sound
|
void |
setVolume(float volume)
Set the volume of the sound
|
float |
volume()
Returns the volume of the sound
|
setPosition
void setVolume(float volume)
volume
- The volume of the sound (1 is 100%, can be higher)void setPitch(int pitch)
pitch
- The pitch of the sound (63 is 100%, can be higher)float volume()
int pitch()
Copyright © 2016. All rights reserved.