outputQueue.close();
    protected void handleDeallocate() throws EngineException {        long[] states = setEngineState(CLEAR_ALL_STATE, DEALLOCATED);        outputHandler.cancelAllItems();        outputHandler.terminate();	// Close the audio. This should flush out any queued audio data	if (audio != null) {	    audio.close();	}        postEngineDeallocated(states[0], states[1]);    }