FileDocCategorySizeDatePackage
QSoundRenderThread.javaAPI DocphoneME MR2 API (J2ME)1956Wed May 02 18:00:46 BST 2007com.sun.mmedia

QSoundRenderThread

public class QSoundRenderThread extends Thread

Fields Summary
private int
gm
private boolean
keepRendering
Constructors Summary
QSoundRenderThread(int globMan)

        gm = globMan;
        keepRendering = true;
    
Methods Summary
public voidinterrupt()

        keepRendering = false;
        super.interrupt();
    
private native intnRender(int globMan)

public voidrun()

        int s;
        while(keepRendering)
        {        
            s = nRender(gm);
            if(s > 0)
                try{Thread.sleep(s);}catch(Exception e){}
        }