Skip to content

Commit

Permalink
OpusFormat: Change step size from 2 kbps to 21 kbps
Browse files Browse the repository at this point in the history
This reduces the number of steps from an excessive 253 steps to 25
steps.

Issue: #237

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
  • Loading branch information
chenxiaolong committed Feb 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a95d781 commit 8117eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/chiller3/bcr/format/OpusFormat.kt
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ object OpusFormat : Format() {
override val paramInfo: FormatParamInfo = RangedParamInfo(
RangedParamType.Bitrate,
6_000u..510_000u,
2_000u,
21_000u,
// "Essentially transparent mono or stereo speech, reasonable music"
// https://wiki.hydrogenaud.io/index.php?title=Opus
48_000u,

0 comments on commit 8117eda

Please sign in to comment.