diff options
author | Harvey Harrison <[email protected]> | 2013-08-01 09:33:25 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-08-01 09:33:25 -0700 |
commit | 3a02ecfbf2aaa6066b9c2142578b34d262512b7c (patch) | |
tree | 42ec61552b5e39ba89881ee110c094dafdb57615 /src/classes/share/com/sun/j3d/audioengines/AudioEngine.java | |
parent | 79d84100e9a84a03f72897e535d1632f096c6d63 (diff) |
j3dutils: add all missing @Override annotations
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.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java b/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java index a3ebe03..f81fe4f 100644 --- a/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java +++ b/src/classes/share/com/sun/j3d/audioengines/AudioEngine.java @@ -104,12 +104,14 @@ public abstract class AudioEngine implements AudioDevice { * Code to initialize the device * @return flag: true is initialized sucessfully, false if error */ + @Override public abstract boolean initialize(); /** * Code to close the device * @return flag: true is closed sucessfully, false if error */ + @Override public abstract boolean close(); /* @@ -120,6 +122,7 @@ public abstract class AudioEngine implements AudioDevice { * Valid types are HEADPHONE, MONO_SPEAKER, STEREO_SPEAKERS * @param type of audio output device */ + @Override public void setAudioPlaybackType(int type) { audioPlaybackType = type; } @@ -128,6 +131,7 @@ public abstract class AudioEngine implements AudioDevice { * Get Type of Audio Playback Output Device * returns audio playback type to which sound is currently output */ + @Override public int getAudioPlaybackType() { return audioPlaybackType; } @@ -136,6 +140,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 */ + @Override public void setCenterEarToSpeaker(float distance) { distanceToSpeaker = distance; } @@ -144,6 +149,7 @@ public abstract class AudioEngine implements AudioDevice { * Get Distance from Ear to Speaker * returns value set as distance from listener's ear to speaker */ + @Override public float getCenterEarToSpeaker() { return distanceToSpeaker; } @@ -151,6 +157,7 @@ public abstract class AudioEngine implements AudioDevice { /** * Set Angle Offset To Speaker * @param angle in radian between head coordinate Z axis and vector to speaker */ + @Override public void setAngleOffsetToSpeaker(float angle) { angleOffsetToSpeaker = angle; } @@ -159,6 +166,7 @@ public abstract class AudioEngine implements AudioDevice { * Get Angle Offset To Speaker * returns value set as angle between vector to speaker and Z head axis */ + @Override public float getAngleOffsetToSpeaker() { return angleOffsetToSpeaker; } @@ -169,6 +177,7 @@ public abstract class AudioEngine implements AudioDevice { * returns number of maximum sound channels you can run with this * library/device-driver. */ + @Override public int getTotalChannels() { // this method should be overridden by a device specific implementation return (totalChannels); @@ -179,6 +188,7 @@ public abstract class AudioEngine implements AudioDevice { * returns number of sound channels currently available (number * not being used by active sounds. */ + @Override public int getChannelsAvailable() { return (channelsAvailable); } @@ -190,6 +200,7 @@ public abstract class AudioEngine implements AudioDevice { * returns number of sound channels used by a specific Sound node * @deprecated This method is now part of the Sound class */ + @Override public int getChannelsUsedForSound(Sound sound) { if (sound != null) return sound.getNumberOfChannelsUsed(); |