def _set_velocity(self, velocity): x, y, z = velocity al.alListener3f(al.AL_VELOCITY, x, y, z) self._velocity = velocity
def _set_position(self, position): x, y, z = position al.alListener3f(al.AL_POSITION, x, y, z) self._position = position