mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
feat: add audio normalization #164
This commit is contained in:
parent
ffe8d9ca6d
commit
da10ab2e29
@ -24,6 +24,10 @@ abstract class AudioPlayerInterface {
|
||||
)
|
||||
// _justAudio = !_mkSupportedPlatform ? ja.AudioPlayer() : null
|
||||
{
|
||||
//? Normalizing the audio
|
||||
(_mkPlayer.platform as mk.NativePlayer)
|
||||
.setProperty('af', 'dynaudnorm=g=5:f=250:r=0.9:p=0.5');
|
||||
|
||||
_mkPlayer.stream.error.listen((event) {
|
||||
Catcher.reportCheckedError(event, StackTrace.current);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user