static private Source getNextFreeSource() {
        for (Source source : sources) {
            if (!source.isPlaying()) // means playback has ended
                return source;
        }
        return null;
    }