public final class OALSimpleAudio
extends org.robovm.apple.foundation.NSObject
| Constructor and Description |
|---|
OALSimpleAudio() |
| Modifier and Type | Method and Description |
|---|---|
ALChannelSource |
getChannelSource() |
boolean |
isAllowIpod() |
boolean |
isHonorSilentSwitch() |
boolean |
isUseHardwareIfAvailable() |
ALSource |
playBuffer(ALBuffer buffer,
float volume,
float pitch,
float pan,
boolean loop) |
ALSource |
playEffect(String filePath,
float volume,
float pitch,
float pan,
boolean loop) |
ALBuffer |
preloadEffect(String filePath) |
void |
setAllowIpod(boolean allowIpod) |
void |
setHonorSilentSwitch(boolean honorSilentSwitch) |
void |
setUseHardwareIfAvailable(boolean useHardwareIfAvailable) |
static OALSimpleAudio |
sharedInstance() |
boolean |
unloadEffect(String filePath) |
addKeyValueObserver, addKeyValueObserver, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, equals, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuespublic static OALSimpleAudio sharedInstance()
public boolean unloadEffect(String filePath)
public ALSource playEffect(String filePath, float volume, float pitch, float pan, boolean loop)
public ALSource playBuffer(ALBuffer buffer, float volume, float pitch, float pan, boolean loop)
public boolean isAllowIpod()
public void setAllowIpod(boolean allowIpod)
public boolean isHonorSilentSwitch()
public void setHonorSilentSwitch(boolean honorSilentSwitch)
public boolean isUseHardwareIfAvailable()
public void setUseHardwareIfAvailable(boolean useHardwareIfAvailable)
public ALChannelSource getChannelSource()
Copyright © 2020. All rights reserved.