< prev index next >
src/java.desktop/share/classes/com/sun/media/sound/SoftAudioPusher.java
Print this page
*** 22,33 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.media.sound;
- import sun.misc.ManagedLocalsThread;
-
import java.io.IOException;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.SourceDataLine;
--- 22,31 ----
*** 53,63 ****
public synchronized void start() {
if (active)
return;
active = true;
! audiothread = new ManagedLocalsThread(this);
audiothread.setDaemon(true);
audiothread.setPriority(Thread.MAX_PRIORITY);
audiothread.start();
}
--- 51,61 ----
public synchronized void start() {
if (active)
return;
active = true;
! audiothread = new Thread(null, this, "AudioPusher", 0, false);
audiothread.setDaemon(true);
audiothread.setPriority(Thread.MAX_PRIORITY);
audiothread.start();
}
< prev index next >