public void setSourceRelative ( boolean relative ) { if ( _sourceRelative != relative ) { _sourceRelative = relative ; AL10 . alSourcei ( _id , AL10 . AL_SOURCE_RELATIVE , relative ? AL10 . AL_TRUE : AL10 . AL_FALSE ) ; } }
Sets whether or not the position velocity etc . of the source are relative to the listener .