com.jmex.audio.openal
Class OpenALPropertyTool

java.lang.Object
  extended by 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

Constructor Summary
OpenALPropertyTool()
           
 
Method Summary
static void applyChannelMaxAudibleDistance(OpenALSource source, float maxDistance)
           
static void applyChannelMaxVolume(OpenALSource source, float maxVolume)
           
static void applyChannelMinVolume(OpenALSource source, float minVolume)
           
static void applyChannelPitch(OpenALSource source, float pitch)
           
static void applyChannelReferenceDistance(OpenALSource source, float refDistance)
           
static void applyChannelRolloff(OpenALSource source, float rolloff)
           
static void applyChannelVolume(OpenALSource source, float volume)
           
static void applyProperties(AudioPlayer player, OpenALSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenALPropertyTool

public OpenALPropertyTool()
Method Detail

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)