if (audio != null) { audio.close(); }
    protected void handleDeallocate() throws EngineException {        long[] states = setEngineState(CLEAR_ALL_STATE, DEALLOCATED);        outputHandler.cancelAllItems();        outputHandler.terminate();        postEngineDeallocated(states[0], states[1]);    }