Skip to content

Commit

Permalink
Fix small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHellBox committed Apr 4, 2021
1 parent 190ffd1 commit c55d300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kissmp-bridge/src/voice_chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub fn run_vc_playback(receiver: std::sync::mpsc::Receiver<VoiceChatPlaybackEven
}
let (sink, updated_at) = sinks.get_mut(&client).unwrap();
*updated_at = std::time::Instant::now();
let position = [position[0] / 4.0, position[1] / 4.0, position[2] / 4.0];
let position = [position[0] / 3.0, position[1] / 3.0, position[2] / 3.0];
sink.set_emitter_position(position);
let mut samples: Vec<i16> = Vec::with_capacity(BUFFER_LEN);
samples.resize(BUFFER_LEN, 0);
Expand Down

0 comments on commit c55d300

Please sign in to comment.