Skip to content

Commit

Permalink
remove unused notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tazz4843 committed Dec 2, 2023
1 parent 5f49d60 commit 739d7bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions scripty_audio_handler/src/events/voice_tick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ use crate::{
types::{SsrcUserDataMap, TranscriptResults},
};

// cannot use this inspection because the duplicated code uses `continue`
// noinspection DuplicatedCode
pub async fn voice_tick(
voice_data: VoiceTick,
ssrc_state: Arc<SsrcMaps>,
Expand Down
2 changes: 0 additions & 2 deletions scripty_stt/src/process_audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ pub fn process_audio(
}
}

// this is useless, and only remains here for someone to stumble upon for their own use
#[allow(dead_code)]
pub fn stereo_to_mono(src: &[i16]) -> Vec<i16> {
// note: we're not doing this the normal way, because in release mode, there are no arithmetic overflow checks
// so we divide the samples by two, and then add them together to get the mono sample
Expand Down

0 comments on commit 739d7bc

Please sign in to comment.