-
-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add audio night mode (as preference) to level out/compress audio volume. #1852
Add audio night mode (as preference) to level out/compress audio volume. #1852
Conversation
app/src/main/java/org/jellyfin/androidtv/preference/constant/AudioNightModeBehavior.kt
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about the naming. Wouldn't something like "Audio leveling" be more descriptive?
app/src/main/java/org/jellyfin/androidtv/preference/UserPreferences.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/androidtv/preference/constant/AudioNightModeBehavior.kt
Outdated
Show resolved
Hide resolved
Definitely happy to take feedback on the naming. "Night mode" does seem to be a fairly common name for this feature though (Sony, Sonos and Denon use this name on their TVs / soundbars). |
|
||
// Volume normalisation (audio night mode). | ||
if (nightModeEnabled) { | ||
this.enableAudioNightMode(mExoPlayer.getAudioSessionId()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this be an exoplayer only feature or will "night mode" also work with libVLC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I'm not sure at this point. I will test it today and find out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be ExoPlayer only
If this name is commonly used in other applications it makes sense to use it here too. |
app/src/main/java/org/jellyfin/androidtv/ui/preference/screen/PlaybackPreferencesScreen.kt
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/androidtv/ui/playback/VideoManager.java
Outdated
Show resolved
Hide resolved
Hey @robertduplock there are still some comments open in this PR before we can merge. |
c882d81
to
9d19ebb
Compare
I've rebased and squashed your branch and fixed the remaining feedback. Unfortunately the commit author got lost when I removed the changes to the en-gb translations. |
Add a togglable feature, "Audio night mode", which compresses a video's audio stream and tweaks the EQ, to solve the issue of "dialogue too quiet, explosions too loud".
Changes
Added extra option "Audio night mode" under "Settings > Playback > Audio"