org.apache.tools.ant.taskdefs.optional.sound
public class SoundTask.BuildAlert extends Object
Method Summary | |
---|---|
Long | getDuration()
Gets the duration in milliseconds the file should be played. |
int | getLoops()
Sets the number of times the source file should be played.
|
File | getSource()
Gets the location of the file to get the audio. |
void | setDuration(Long duration)
Sets the duration in milliseconds the file should be played; optional. |
void | setLoops(int loops)
Sets the number of times the source file should be played; optional.
|
void | setSource(File source)
Sets the location of the file to get the audio; required.
|
Returns: the number of loops to play the source file
Parameters: loops the number of loops to play the source file
Parameters: source the name of a sound-file directory or of the audio file