stream=FSound.FSOUND_Stream_Open(memoryData, FSound.FSOUND_LOADMEMORY, 0, memoryData.capacity());
stream=FSound.FSOUND_Stream_Open(memoryData, FSound.FSOUND_LOADMEMORY);
    public boolean play(){        if(!isPlaying()){            playingChannel=FSound.FSOUND_Stream_Play(FSound.FSOUND_FREE, stream);                    }        //Stream has been closed re-open if it was closed          if(playingChannel==-1){            if(memory){                memoryData=getData(streamFile);                stream=FSound.FSOUND_Stream_Open(memoryData, FSound.FSOUND_LOADMEMORY, 0, memoryData.capacity());            }else{                stream = FSound.FSOUND_Stream_Open(streamFile, FSound.FSOUND_NORMAL | FSound.FSOUND_MPEGACCURATE, 0, 0);            }            opened=(stream !=null);            //if the playing channel is still == -1 the this is really not a stream file or the file was (re)moved        }        FSound.FSOUND_Stream_SetEndCallback(stream, new EndCallback());             return (playingChannel !=-2 || playingChannel !=-1);    }