Skip to content

Commit

Permalink
Fix javadoc format (libgdx#7344)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonIT authored Feb 18, 2024
1 parent 7c9a542 commit 0de4d89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gdx/src/com/badlogic/gdx/audio/Sound.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public interface Sound extends Disposable {
* @return the id of the sound instance if successful, or -1 on failure. */
public long play (float volume);

/** Plays the sound. If the sound is already playing, it will be played again, concurrently.
* Note that (with the exception of the web backend) panning only works for mono sounds, not for stereo sounds!
/** Plays the sound. If the sound is already playing, it will be played again, concurrently. Note that (with the exception of
* the web backend) panning only works for mono sounds, not for stereo sounds!
* @param volume the volume in the range [0,1]
* @param pitch the pitch multiplier, 1 == default, >1 == faster, <1 == slower, the value has to be between 0.5 and 2.0
* @param pan panning in the range -1 (full left) to 1 (full right). 0 is center position.
Expand All @@ -69,8 +69,8 @@ public interface Sound extends Disposable {
public long loop (float volume);

/** Plays the sound, looping. If the sound is already playing, it will be played again, concurrently. You need to stop the
* sound via a call to {@link #stop(long)} using the returned id.
* Note that (with the exception of the web backend) panning only works for mono sounds, not for stereo sounds!
* sound via a call to {@link #stop(long)} using the returned id. Note that (with the exception of the web backend) panning
* only works for mono sounds, not for stereo sounds!
* @param volume the volume in the range [0,1]
* @param pitch the pitch multiplier, 1 == default, >1 == faster, <1 == slower, the value has to be between 0.5 and 2.0
* @param pan panning in the range -1 (full left) to 1 (full right). 0 is center position.
Expand Down

0 comments on commit 0de4d89

Please sign in to comment.