summaryrefslogtreecommitdiffstats
path: root/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2011-12-31 14:49:22 -0800
committerHarvey Harrison <[email protected]>2011-12-31 15:06:28 -0800
commit7de355f4569f3b41b22e98a85f031e8dc39e5c3a (patch)
tree9495a12530507dc6b5f4ac7cb43bf139c455660b /src/classes/share/com/sun/j3d/audioengines/AudioEngine.java
parent768a1aca734aef123c94dd30c443330f0c70b3d9 (diff)
j3dutils: remove trailing whitespace from all files
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share/com/sun/j3d/audioengines/AudioEngine.java')
-rw-r--r--src/classes/share/com/sun/j3d/audioengines/AudioEngine.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java b/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java
index 8f3b66a..431f2a5 100644
--- a/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java
+++ b/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java
@@ -67,7 +67,7 @@ public abstract class AudioEngine implements AudioDevice {
* HEADPHONE, MONO_SPEAKER, STEREO_SPEAKERS
*/
int audioPlaybackType = HEADPHONES;
-
+
/*
* Distance from center ear (midpoint between ears) to physical speaker.
* Default reflects distance for headphones.
@@ -75,8 +75,8 @@ public abstract class AudioEngine implements AudioDevice {
* distance from the listener and that
*/
float distanceToSpeaker = 0.0f;
-
- /*
+
+ /*
* Angle between the vector from center ear parallel to head coordiate
* Z axis and the vector from the center ear to the speaker.
* For two speakers it is assumed that the speakers are placed at the
@@ -115,14 +115,14 @@ public abstract class AudioEngine implements AudioDevice {
*/
public abstract boolean close();
- /*
+ /*
* Audio Playback Methods
- */
+ */
/**
* Set Type of Audio Playback physical transducer(s) sound is output to.
* Valid types are HEADPHONE, MONO_SPEAKER, STEREO_SPEAKERS
* @param type of audio output device
- */
+ */
public void setAudioPlaybackType(int type) {
audioPlaybackType = type;
}
@@ -130,7 +130,7 @@ public abstract class AudioEngine implements AudioDevice {
/**
* Get Type of Audio Playback Output Device
* returns audio playback type to which sound is currently output
- */
+ */
public int getAudioPlaybackType() {
return audioPlaybackType;
}
@@ -138,7 +138,7 @@ public abstract class AudioEngine implements AudioDevice {
/**
* Set Distance from the Center Ear to a Speaker
* @param distance from the center ear and to the speaker
- */
+ */
public void setCenterEarToSpeaker(float distance) {
distanceToSpeaker = distance;
}
@@ -146,32 +146,32 @@ public abstract class AudioEngine implements AudioDevice {
/**
* Get Distance from Ear to Speaker
* returns value set as distance from listener's ear to speaker
- */
+ */
public float getCenterEarToSpeaker() {
return distanceToSpeaker;
}
-
+
/**
* Set Angle Offset To Speaker
- * @param angle in radian between head coordinate Z axis and vector to speaker */
+ * @param angle in radian between head coordinate Z axis and vector to speaker */
public void setAngleOffsetToSpeaker(float angle) {
angleOffsetToSpeaker = angle;
- }
-
+ }
+
/**
* Get Angle Offset To Speaker
* returns value set as angle between vector to speaker and Z head axis
- */
+ */
public float getAngleOffsetToSpeaker() {
return angleOffsetToSpeaker;
- }
+ }
/**
* Query total number of channels available for sound rendering
* for this audio device.
* returns number of maximum sound channels you can run with this
- * library/device-driver.
- */
+ * library/device-driver.
+ */
public int getTotalChannels() {
// this method should be overridden by a device specific implementation
return (totalChannels);
@@ -181,7 +181,7 @@ public abstract class AudioEngine implements AudioDevice {
* Query number of channels currently available for use by the
* returns number of sound channels currently available (number
* not being used by active sounds.
- */
+ */
public int getChannelsAvailable() {
return (channelsAvailable);
}
@@ -192,7 +192,7 @@ public abstract class AudioEngine implements AudioDevice {
* @param sound refenence to sound node that query to be performed on
* returns number of sound channels used by a specific Sound node
* @deprecated This method is now part of the Sound class
- */
+ */
public int getChannelsUsedForSound(Sound sound) {
if (sound != null)
return sound.getNumberOfChannelsUsed();