odin_room_set_position_scale
Sets the scaling factor for coordinates supplied to odin_room_update_position1.0
. When altering a peer's position, ensure the
position is scaled such that the maximum distance remains one or less. So usually you want to set the scaling factor to 1/MaximumHearingDistance
. This scaling can be performed manually or by
specifying the multiplicative scale here.
It's crucial to maintain consistent scaling across all client applications.
Parameters
room
Handle of the room ( OdinRoomHandle
scale
The scale factor for spatial audio positions. Usually you want to set it to 1/MaximumHearingDistance
.
Returns
A return code indicating success or failure. See OdinReturnCode