com.jmex.audio.openal
Class OpenALPropertyTool
java.lang.Object
com.jmex.audio.openal.OpenALPropertyTool
public class OpenALPropertyTool
- extends java.lang.Object
OpenAL utility class - used for keeping code access to openal properties in a
single location.
- Version:
- $Id: OpenALPropertyTool.java 4133 2009-03-19 20:40:11Z blaine.dev $
- Author:
- Joshua Slack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenALPropertyTool
public OpenALPropertyTool()
applyProperties
public static void applyProperties(AudioPlayer player,
OpenALSource source)
applyChannelVolume
public static void applyChannelVolume(OpenALSource source,
float volume)
applyChannelMaxVolume
public static void applyChannelMaxVolume(OpenALSource source,
float maxVolume)
applyChannelMinVolume
public static void applyChannelMinVolume(OpenALSource source,
float minVolume)
applyChannelRolloff
public static void applyChannelRolloff(OpenALSource source,
float rolloff)
applyChannelMaxAudibleDistance
public static void applyChannelMaxAudibleDistance(OpenALSource source,
float maxDistance)
applyChannelReferenceDistance
public static void applyChannelReferenceDistance(OpenALSource source,
float refDistance)
applyChannelPitch
public static void applyChannelPitch(OpenALSource source,
float pitch)