Skip to content

Commit

Permalink
Change vc distance
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHellBox committed Apr 4, 2021
1 parent 8f4f79d commit 190ffd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kissmp-bridge/src/voice_chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ pub fn run_vc_playback(receiver: std::sync::mpsc::Receiver<VoiceChatPlaybackEven
if updated_at.elapsed().as_secs() > 1 {
remove_list.push(entry.clone());
}
let left_ear = [left_ear[0] / 4.0, left_ear[1] / 4.0, left_ear[2] / 4.0];
let left_ear = [left_ear[0] / 3.0, left_ear[1] / 3.0, left_ear[2] / 3.0];
let right_ear =
[right_ear[0] / 4.0, right_ear[1] / 4.0, right_ear[2] / 4.0];
[right_ear[0] / 3.0, right_ear[1] / 3.0, right_ear[2] / 3.0];
sink.set_left_ear_position(left_ear);
sink.set_right_ear_position(right_ear);
}
Expand Down

0 comments on commit 190ffd1

Please sign in to comment.