public Status getStatus() {
        int state = alGetSourcei(source, AL_SOURCE_STATE);

        switch (state) {
            case AL_PLAYING:
                return Status.Playing;
            case AL_STOPPED:
                return Status.Stopped;
            case AL_PAUSED:
                return Status.Paused;
        }

        return Status.Stopped;
    }