Package jmri.jmrit
Class Sound.StreamingSound
java.lang.Object
jmri.jmrit.Sound.StreamingSound
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Sound
-
Constructor Summary
ConstructorsConstructorDescriptionStreamingSound(URL url) A runnable to stream in sound and play it This method does not read in an entire large sound file at one time, but instead reads in smaller chunks as needed.StreamingSound(URL url, int count) A runnable to stream in sound and play it This method does not read in an entire large sound file at one time, but instead reads in smaller chunks as needed. -
Method Summary
-
Constructor Details
-
StreamingSound
A runnable to stream in sound and play it This method does not read in an entire large sound file at one time, but instead reads in smaller chunks as needed.- Parameters:
url- the URL containing audio media
-
StreamingSound
A runnable to stream in sound and play it This method does not read in an entire large sound file at one time, but instead reads in smaller chunks as needed.- Parameters:
url- the URL containing audio mediacount- the number of times to loop
-
-
Method Details