@Override
    public void setLooping( boolean lp )
    {
        super.setLooping( lp );
        
        // make sure we are assigned to a channel:
        if( channel != null && channel.attachedSource == this &&
            channelOpenAL != null && channelOpenAL.ALSource != null )
        {
            if( lp )
                AL10.alSourcei( channelOpenAL.ALSource.get( 0 ),
                                AL10.AL_LOOPING, AL10.AL_TRUE );
            else
                AL10.alSourcei( channelOpenAL.ALSource.get( 0 ),
                                AL10.AL_LOOPING, AL10.AL_FALSE );
            checkALError();
        }
    }