static public void processEvents() {
        updateListener();
          
        synchronized (events) {
            Event event;
            while ((event = events.poll()) != null) {
                Source source = getNextFreeSource();
                if (source == null){ // We can't play any more sounds right now
                    events.clear(); // Clear the queue so we avoid laggy sound we played the closest 64 anyhow
                    
                    return;
                }
                source.load(event);
                source.play();
                checkForALErrorsWithMessage("Error when proccessing Event: "
                        + event);
            }
        }
    }