mirror of
https://github.com/SrIzan10/spotube.git
synced 2026-05-01 11:05:11 +00:00
feat: add audio normalization #164
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user