mpv_audio_kit library
mpv_audio_kit — Flutter audio player powered by libmpv.
Supports macOS, Windows, Linux, iOS, and Android.
Quick start
import 'package:mpv_audio_kit/mpv_audio_kit.dart';
final player = Player();
player.stream.position.listen((pos) => print(pos));
player.stream.playing.listen((p) => print('playing: $p'));
await player.open(Media('https://example.com/audio.mp3'));
await player.play();
// ...
await player.dispose();
Classes
- AcompressorSettings
-
Configuration for the
acompressoraudio effect. - AcontrastSettings
-
Configuration for the
acontrastaudio effect. - AcrusherSettings
-
Configuration for the
acrusheraudio effect. - AdeclickSettings
-
Configuration for the
adeclickaudio effect. - AdeclipSettings
-
Configuration for the
adeclipaudio effect. - AdecorrelateSettings
-
Configuration for the
adecorrelateaudio effect. - AdelaySettings
-
Configuration for the
adelayaudio effect. - AdenormSettings
-
Configuration for the
adenormaudio effect. - AderivativeSettings
-
Configuration for the
aderivativeaudio effect. - AdrcSettings
-
Configuration for the
adrcaudio effect. - AdynamicequalizerSettings
-
Configuration for the
adynamicequalizeraudio effect. - AdynamicsmoothSettings
-
Configuration for the
adynamicsmoothaudio effect. - AechoSettings
-
Configuration for the
aechoaudio effect. - AechoTap
-
One echo tap of the lavfi
aechofilter. - AemphasisSettings
-
Configuration for the
aemphasisaudio effect. - AevalSettings
-
Configuration for the
aevalaudio effect. - AexciterSettings
-
Configuration for the
aexciteraudio effect. - AfadeSettings
-
Configuration for the
afadeaudio effect. - AfftdnSettings
-
Configuration for the
afftdnaudio effect. - AfftfiltSettings
-
Configuration for the
afftfiltaudio effect. - AformatSettings
-
Configuration for the
aformataudio effect. - AfreqshiftSettings
-
Configuration for the
afreqshiftaudio effect. - AfwtdnSettings
-
Configuration for the
afwtdnaudio effect. - AgateSettings
-
Configuration for the
agateaudio effect. - AiirChannel
-
One channel slot of the lavfi
aiirfilter — the per-channel gain plus the polynomial coefficients of its IIR transfer function. - AiirSettings
-
Configuration for the
aiiraudio effect. - AlimiterSettings
-
Configuration for the
alimiteraudio effect. - AllpassSettings
-
Configuration for the
allpassaudio effect. - AnequalizerBand
-
One logical band of the lavfi
anequalizerfilter. - AnequalizerSettings
-
Configuration for the
anequalizeraudio effect. - AnlmdnSettings
-
Configuration for the
anlmdnaudio effect. - ApadSettings
-
Configuration for the
apadaudio effect. - AphaserSettings
-
Configuration for the
aphaseraudio effect. - AphaseshiftSettings
-
Configuration for the
aphaseshiftaudio effect. - ApsyclipSettings
-
Configuration for the
apsyclipaudio effect. - ApulsatorSettings
-
Configuration for the
apulsatoraudio effect. - AresampleSettings
-
Configuration for the
aresampleaudio effect. - ArnndnSettings
-
Configuration for the
arnndnaudio effect. - AsoftclipSettings
-
Configuration for the
asoftclipaudio effect. - AsubboostSettings
-
Configuration for the
asubboostaudio effect. - AsubcutSettings
-
Configuration for the
asubcutaudio effect. - AsupercutSettings
-
Configuration for the
asupercutaudio effect. - AsuperpassSettings
-
Configuration for the
asuperpassaudio effect. - AsuperstopSettings
-
Configuration for the
asuperstopaudio effect. - AtempoSettings
-
Configuration for the
atempoaudio effect. - AtiltSettings
-
Configuration for the
atiltaudio effect. - AudioEffects
-
All audio effects bundled into a single atomic configuration
applied via
Player.setAudioEffects/Player.updateAudioEffects. - AudioParams
-
Audio format parameters reported by mpv. Used both for the decoder
side (
audio-params+audio-codec*) and for the hardware output side (audio-out-params). - BandpassSettings
-
Configuration for the
bandpassaudio effect. - BandProcessor
- Stateful PCM-to-bands processor — runs the same FFT, windowing, log-band aggregation and asymmetric-EMA smoothing the library uses internally to back PlayerStream.fft.
- BandrejectSettings
-
Configuration for the
bandrejectaudio effect. - BassSettings
-
Configuration for the
bassaudio effect. - BiquadSettings
-
Configuration for the
biquadaudio effect. - CacheSettings
-
Aggregate of mpv's five cache properties (
cache,cache-secs,cache-on-disk,cache-pause,cache-pause-wait). - ChannelmapSettings
-
Configuration for the
channelmapaudio effect. - Channels
-
How Player.setAudioChannels should resolve mpv's
audio-channelsproperty. - Chapter
-
A chapter entry in the current track's
chapter-list. - ChorusSettings
-
Configuration for the
chorusaudio effect. - ChorusVoice
-
One voice of the lavfi
chorusfilter. - CompandEnvelope
-
One per-channel envelope of the lavfi
compandfilter — the attack and decay time-constants the level detector uses on that channel. - CompandPoint
-
One break-point of the lavfi
compandfilter's transfer function. - CompandSettings
-
Configuration for the
compandaudio effect. - CompensationdelaySettings
-
Configuration for the
compensationdelayaudio effect. - CoverArt
- Cover-art payload extracted from the currently loaded file.
- CrossfeedSettings
-
Configuration for the
crossfeedaudio effect. - CrystalizerSettings
-
Configuration for the
crystalizeraudio effect. - DcshiftSettings
-
Configuration for the
dcshiftaudio effect. - DeesserSettings
-
Configuration for the
deesseraudio effect. - Device
- Represents an audio output device detected by mpv.
- DialoguenhanceSettings
-
Configuration for the
dialoguenhanceaudio effect. - DrmeterSettings
-
Configuration for the
drmeteraudio effect. - DynaudnormSettings
-
Configuration for the
dynaudnormaudio effect. - EarwaxSettings
-
Configuration for the
earwaxaudio effect. - Ebur128Settings
-
Configuration for the
ebur128audio effect. - EqualizerSettings
-
Configuration for the
equalizeraudio effect. - ExtrastereoSettings
-
Configuration for the
extrastereoaudio effect. - FftFrame
- One FFT frame — a frequency-domain snapshot of the audio currently playing through the player's output.
- FirequalizerEntry
-
One break-point of the lavfi
firequalizerfilter's gain curve. - FirequalizerSettings
-
Configuration for the
firequalizeraudio effect. - FlangerSettings
-
Configuration for the
flangeraudio effect. - HaasSettings
-
Configuration for the
haasaudio effect. - HdcdSettings
-
Configuration for the
hdcdaudio effect. - HeadphoneSettings
-
Configuration for the
headphoneaudio effect. - HighpassSettings
-
Configuration for the
highpassaudio effect. - HighshelfSettings
-
Configuration for the
highshelfaudio effect. - LoudnormSettings
-
Configuration for the
loudnormaudio effect. - LowpassSettings
-
Configuration for the
lowpassaudio effect. - LowshelfSettings
-
Configuration for the
lowshelfaudio effect. - McompandBand
-
One band of the lavfi
mcompandfilter — a self-contained compander stage with its own dynamics envelope, transfer function, soft-knee, makeup gain, and crossover frequency. - McompandSettings
-
Configuration for the
mcompandaudio effect. - Media
- A piece of media that can be loaded into the Player.
- MediaSession
- Configuration and metadata for the OS media session — the lockscreen / SMTC / MPRIS entry, Bluetooth AVRCP, headset buttons, and (on iOS/Android) the AVAudioSession / AudioFocus integration.
- MediaSessionArtwork
- Artwork shown on the OS media session (lockscreen, Control Center, SMTC, MPRIS). Set via MediaSession.artwork.
- MediaSessionCommand
- A command issued by the operating system's media session — pressed on the lockscreen, sent by a Bluetooth headset, triggered by Siri / Google Assistant, or forwarded by Android Auto / CarPlay.
- MediaSessionCommandLike
- The MediaSessionCommand.like variant — the favourite/like control was pressed. Emit-only (no built-in player effect).
- MediaSessionCommandNext
- The MediaSessionCommand.next variant — skip to the next track.
- MediaSessionCommandPause
- The MediaSessionCommand.pause variant — pause playback.
- MediaSessionCommandPlay
- The MediaSessionCommand.play variant — start or resume playback.
- MediaSessionCommandPlayPause
- The MediaSessionCommand.playPause variant — toggle between play and pause.
- MediaSessionCommandPrevious
- The MediaSessionCommand.previous variant — skip to the previous track.
- MediaSessionCommandSeekBy
- The MediaSessionCommand.seekBy variant — seek by a relative offset. Negative offsets rewind.
- MediaSessionCommandSeekTo
- The MediaSessionCommand.seekTo variant — seek to an absolute position, carrying the target position.
- MediaSessionCommandSetPlaybackRate
- The MediaSessionCommand.setPlaybackRate variant — change playback speed to the carried rate.
- MediaSessionCommandSetRepeatMode
- The MediaSessionCommand.setRepeatMode variant — change the repeat mode to the carried loop.
- MediaSessionCommandSetShuffle
- The MediaSessionCommand.setShuffle variant — toggle shuffle to the carried shuffle state.
- MediaSessionCommandStop
- The MediaSessionCommand.stop variant — stop playback and clear the now-playing entry.
- MpvAudioKit
-
One-time initialization for
mpv_audio_kit. Owns the libmpvDynamicLibrarylookup and the orphaned-handle cleanup that fires across Flutter Hot-Restarts. - MpvEndFileError
- Playback of a file ended with an error or unexpected EOF.
- MpvError
-
Mirror of libmpv's
mpv_errorreturn codes (the subset this package uses). - MpvFileEndedEvent
- Emitted for every file-end event, regardless of whether an error occurred.
- MpvHookEvent
- Emitted by PlayerStream.hook when mpv fires a registered hook.
- MpvLogEntry
-
A structured log entry. Emitted on PlayerStream.log for messages
from the mpv engine (
'ffmpeg','demux','ao', …) and on PlayerStream.internalLog for library-side diagnostics (parse warnings, hook timeouts; always carriesprefix: 'mpv_audio_kit'). Filter by level to reduce noise. - MpvLogError
-
A log message at
errororfatallevel from an mpv subsystem. - MpvPlayerError
-
Typed error events delivered on PlayerStream.error. A sealed union
over MpvEndFileError (playback failures) and MpvLogError
(
error/fatallog lines from an mpv subsystem). Pattern-match on the variant to distinguish them. - MpvTrack
-
A single track entry from mpv's
track-list(orcurrent-tracks/audio). - PanSettings
-
Configuration for the
panaudio effect. - PcmFrame
- One PCM frame — raw post-DSP audio samples captured at the player's output, before they're handed to the OS audio driver.
- Player
- A high-performance audio player powered by libmpv.
- PlayerApi
- Public surface of the Player — every method, getter, and stream a consumer interacts with.
- PlayerConfiguration
- Initial configuration for a Player instance.
- PlayerState
- Immutable snapshot of the Player's complete playback state.
- PlayerStream
- Typed event streams for subscribing to individual Player state changes.
- Playlist
- An ordered list of Media items loaded into the Player.
- ReplayGainSettings
-
Aggregate of mpv's four ReplayGain properties (
replaygain,replaygain-preamp,replaygain-clip,replaygain-fallback). - RubberbandSettings
-
Configuration for the
rubberbandaudio effect. - SilenceremoveSettings
-
Configuration for the
silenceremoveaudio effect. - SpectrumSettings
- Configuration for the real-time FFT spectrum + raw PCM streams.
- SpeechnormSettings
-
Configuration for the
speechnormaudio effect. - StereotoolsSettings
-
Configuration for the
stereotoolsaudio effect. - StereowidenSettings
-
Configuration for the
stereowidenaudio effect. - SuperequalizerSettings
-
Configuration for the
superequalizeraudio effect. - SurroundSettings
-
Configuration for the
surroundaudio effect. - TiltshelfSettings
-
Configuration for the
tiltshelfaudio effect. - Track
-
How Player.setAudioTrack should resolve mpv's
aidproperty. - TrebleSettings
-
Configuration for the
trebleaudio effect. - TremoloSettings
-
Configuration for the
tremoloaudio effect. - VibratoSettings
-
Configuration for the
vibratoaudio effect. - VirtualbassSettings
-
Configuration for the
virtualbassaudio effect. - WaveformData
- Mono min/max amplitude envelope of the audio currently loaded.
Enums
- AcompressorDetection
-
Values for the
detectionoption of theacompressoraudio filter. - AcompressorLink
-
Values for the
linkoption of theacompressoraudio filter. - AcompressorMode
-
Values for the
modeoption of theacompressoraudio filter. - AcrusherMode
-
Values for the
modeoption of theacrusheraudio filter. - AdeclickM
-
Values for the
moption of theadeclickaudio filter. - AdeclipM
-
Values for the
moption of theadeclipaudio filter. - AdenormType
-
Values for the
typeoption of theadenormaudio filter. - AdynamicequalizerAuto
-
Values for the
autooption of theadynamicequalizeraudio filter. - AdynamicequalizerDftype
-
Values for the
dftypeoption of theadynamicequalizeraudio filter. - AdynamicequalizerMode
-
Values for the
modeoption of theadynamicequalizeraudio filter. - AdynamicequalizerPrecision
-
Values for the
precisionoption of theadynamicequalizeraudio filter. - AdynamicequalizerTftype
-
Values for the
tftypeoption of theadynamicequalizeraudio filter. - AemphasisMode
-
Values for the
modeoption of theaemphasisaudio filter. - AemphasisType
-
Values for the
typeoption of theaemphasisaudio filter. - AfadeCurve
-
Values for the
coption of theafadeaudio filter. - AfadeType
-
Values for the
toption of theafadeaudio filter. - AfftdnLink
-
Values for the
nloption of theafftdnaudio filter. - AfftdnMode
-
Values for the
omoption of theafftdnaudio filter. - AfftdnSample
-
Values for the
sample_noiseoption of theafftdnaudio filter. - AfftdnType
-
Values for the
noise_typeoption of theafftdnaudio filter. - AfftfiltWinFunc
-
Values for the
win_funcoption of theafftfiltaudio filter. - AfwtdnWavet
-
Values for the
wavetoption of theafwtdnaudio filter. - AgateDetection
-
Values for the
detectionoption of theagateaudio filter. - AgateLink
-
Values for the
linkoption of theagateaudio filter. - AgateMode
-
Values for the
modeoption of theagateaudio filter. - AiirFormat
-
Values for the
foption of theaiiraudio filter. - AiirPrecision
-
Values for the
eoption of theaiiraudio filter. - AiirProcess
-
Values for the
processoption of theaiiraudio filter. - AllpassPrecision
-
Values for the
precisionoption of theallpassaudio filter. - AllpassTransformType
-
Values for the
aoption of theallpassaudio filter. - AllpassWidthType
-
Values for the
toption of theallpassaudio filter. - AnequalizerBandType
-
lavfi
anequalizerfilter shape. Matchest=0|1|2on the wire. - AnequalizerFscale
-
Values for the
fscaleoption of theanequalizeraudio filter. - AnlmdnMode
-
Values for the
ooption of theanlmdnaudio filter. - AphaserType
-
Values for the
typeoption of theaphaseraudio filter. - ApulsatorMode
-
Values for the
modeoption of theapulsatoraudio filter. - ApulsatorTiming
-
Values for the
timingoption of theapulsatoraudio filter. - AsoftclipTypes
-
Values for the
typeoption of theasoftclipaudio filter. - AudioEffect
- Identifies a single typed audio filter from the AudioEffects bundle.
- AudioOutputState
-
Lifecycle of mpv's audio output, reported by the
audio-output-statempv property. - BandpassPrecision
-
Values for the
precisionoption of thebandpassaudio filter. - BandpassTransformType
-
Values for the
aoption of thebandpassaudio filter. - BandpassWidthType
-
Values for the
toption of thebandpassaudio filter. - BandrejectPrecision
-
Values for the
precisionoption of thebandrejectaudio filter. - BandrejectTransformType
-
Values for the
aoption of thebandrejectaudio filter. - BandrejectWidthType
-
Values for the
toption of thebandrejectaudio filter. - BassPrecision
-
Values for the
precisionoption of thebassaudio filter. - BassTransformType
-
Values for the
aoption of thebassaudio filter. - BassWidthType
-
Values for the
toption of thebassaudio filter. - BiquadPrecision
-
Values for the
precisionoption of thebiquadaudio filter. - BiquadTransformType
-
Values for the
aoption of thebiquadaudio filter. - Cache
-
Network cache mode, mirroring
--cache=<auto|yes|no>. - Cover
-
External cover-art auto-load behaviour, mirroring
--cover-art-auto=<no|exact|fuzzy|all>. - DeesserMode
-
Values for the
soption of thedeesseraudio filter. - Ebur128Gaugetype
-
Values for the
gaugeoption of theebur128audio filter. - Ebur128Level
-
Values for the
framelogoption of theebur128audio filter. - Ebur128Mode
-
Values for the
peakoption of theebur128audio filter. - Ebur128Scaletype
-
Values for the
scaleoption of theebur128audio filter. - EqualizerPrecision
-
Values for the
precisionoption of theequalizeraudio filter. - EqualizerTransformType
-
Values for the
aoption of theequalizeraudio filter. - EqualizerWidthType
-
Values for the
toption of theequalizeraudio filter. - FirequalizerScale
-
Values for the
dumpscaleoption of thefirequalizeraudio filter. - FirequalizerWfunc
-
Values for the
wfuncoption of thefirequalizeraudio filter. - FlangerItype
-
Values for the
interpoption of theflangeraudio filter. - FlangerType
-
Values for the
shapeoption of theflangeraudio filter. - Format
-
Audio sample format passed to mpv's
audio-formatproperty. - Gapless
-
Gapless playback mode, mirroring
--gapless-audio=<no|yes|weak>. - HaasSource
-
Values for the
middle_sourceoption of thehaasaudio filter. - HdcdAnalyzeMode
-
Values for the
analyze_modeoption of thehdcdaudio filter. - HdcdBitsPerSample
-
Values for the
bits_per_sampleoption of thehdcdaudio filter. - HeadphoneHrir
-
Values for the
hriroption of theheadphoneaudio filter. - HeadphoneType
-
Values for the
typeoption of theheadphoneaudio filter. - HighpassPrecision
-
Values for the
precisionoption of thehighpassaudio filter. - HighpassTransformType
-
Values for the
aoption of thehighpassaudio filter. - HighpassWidthType
-
Values for the
toption of thehighpassaudio filter. - HighshelfPrecision
-
Values for the
precisionoption of thehighshelfaudio filter. - HighshelfTransformType
-
Values for the
aoption of thehighshelfaudio filter. - HighshelfWidthType
-
Values for the
toption of thehighshelfaudio filter. - Hook
- Lifecycle hook fired by mpv during file loading and unloading.
- InterruptionPolicy
- How the player reacts when the OS interrupts audio — a phone call, Siri, an alarm, or another app taking audio focus. Set via MediaSession.interruptionPolicy.
- LogLevel
-
Severity threshold for the mpv log stream and library-side
diagnostics. Mirrors mpv's
--msg-levellevels verbatim. - Loop
- Looping behaviour for playback.
- LoudnormPrintFormat
-
Values for the
print_formatoption of theloudnormaudio filter. - LowpassPrecision
-
Values for the
precisionoption of thelowpassaudio filter. - LowpassTransformType
-
Values for the
aoption of thelowpassaudio filter. - LowpassWidthType
-
Values for the
toption of thelowpassaudio filter. - LowshelfPrecision
-
Values for the
precisionoption of thelowshelfaudio filter. - LowshelfTransformType
-
Values for the
aoption of thelowshelfaudio filter. - LowshelfWidthType
-
Values for the
toption of thelowshelfaudio filter. - MediaAction
- Capabilities to advertise to the operating system's media session (lockscreen controls, Bluetooth AVRCP, headset buttons, …).
- MpvEndFileReason
-
Why a file ended — mirrors
mpv_end_file_reasonfrom the C API. - MpvPlaybackState
-
Aggregate playback lifecycle, derived from
playing/buffering/completed/pausedForCache/duration. Subscribe viaPlayerStream.playbackStatewhen a single mutually-exclusive state fits the UI better than three separate booleans. The underlying booleans remain available onPlayerStreamfor granular use cases. - MpvPrefetchState
- Lifecycle phase of mpv's background playlist-prefetch.
- ReplayGain
-
ReplayGain normalization mode, mirroring
--replaygain=<no|track|album>. - RubberbandChannels
-
Values for the
channelsoption of therubberbandaudio filter. - RubberbandDetector
-
Values for the
detectoroption of therubberbandaudio filter. - RubberbandFormant
-
Values for the
formantoption of therubberbandaudio filter. - RubberbandPhase
-
Values for the
phaseoption of therubberbandaudio filter. - RubberbandPitch
-
Values for the
pitchqoption of therubberbandaudio filter. - RubberbandSmoothing
-
Values for the
smoothingoption of therubberbandaudio filter. - RubberbandTransients
-
Values for the
transientsoption of therubberbandaudio filter. - RubberbandWindow
-
Values for the
windowoption of therubberbandaudio filter. - SilenceremoveDetection
-
Values for the
detectionoption of thesilenceremoveaudio filter. - SilenceremoveMode
-
Values for the
start_modeoption of thesilenceremoveaudio filter. - SilenceremoveTimestamp
-
Values for the
timestampoption of thesilenceremoveaudio filter. - Spdif
- S/PDIF (or HDMI) compressed-audio passthrough codec.
- StereotoolsBmode
-
Values for the
bmode_inoption of thestereotoolsaudio filter. - StereotoolsMode
-
Values for the
modeoption of thestereotoolsaudio filter. - SurroundLfeMode
-
Values for the
lfe_modeoption of thesurroundaudio filter. - SurroundWinFunc
-
Values for the
win_funcoption of thesurroundaudio filter. - TapSide
- Side of an audio filter at which a per-filter tap captures samples.
- TiltshelfPrecision
-
Values for the
precisionoption of thetiltshelfaudio filter. - TiltshelfTransformType
-
Values for the
aoption of thetiltshelfaudio filter. - TiltshelfWidthType
-
Values for the
toption of thetiltshelfaudio filter. - TreblePrecision
-
Values for the
precisionoption of thetrebleaudio filter. - TrebleTransformType
-
Values for the
aoption of thetrebleaudio filter. - TrebleWidthType
-
Values for the
toption of thetrebleaudio filter. - WindowFunction
- Window function applied to each FFT block before transform.
Extensions
- AdelayChannelsX on AdelaySettings
-
Typed access over lavfi's
adelay.delays— a pipe-separated list of per-channel delays. The Nth entry is the delay applied to the Nth output channel. - AechoTapsX on AechoSettings
-
Typed access over the parallel pipe-separated CSVs lavfi's
aechopacks asdelays/decays. - AfftdnBandNoiseX on AfftdnSettings
-
Typed access over the
band_noise(aliasbn) string lavfi'safftdnpacks as space- or pipe-separated noise levels per band. - AiirChannelsX on AiirSettings
-
Typed access over
aiir's three parallel string parameters (gains/k,poles/p,zeros/z). The Nth|-section of each string belongs to the Nth output channel; coefficient lists within a channel are space-separated. - AnequalizerBandsX on AnequalizerSettings
-
Typed access over the raw
paramsCSV held by AnequalizerSettings. - AudioEffectsX on AudioEffects
-
Cross-link between the singular AudioEffect enum and the
plural AudioEffects bundle: yields the AudioEffect for
every slot whose
*Settings.enabledistrue, in the same declaration order as the bundle's fields. - ChorusVoicesX on ChorusSettings
-
Typed access over the four parallel pipe-separated CSVs
(
delays/decays/depths/speeds) lavfi'schorusexposes. - CompandEnvelopesX on CompandSettings
-
Typed access over the parallel pipe-separated CSVs lavfi's
compandpacks asattacks/decays. - CompandPointsX on CompandSettings
-
Typed access over the
pointsstring lavfi'scompandcarries (space-separatedinDb/outDbpairs). - CompandSoftKneeX on CompandSettings
-
Typed access over
compand.soft-knee— the smoothing applied across the breakpoints of the transfer function. - FirequalizerEntriesX on FirequalizerSettings
-
Typed access over the
gain_entrystring lavfi'sfirequalizercarries (entry(freq,gain);entry(freq,gain);…). - McompandBandsX on McompandSettings
-
Typed access over the raw
argsstring held by McompandSettings. - MpvEndFileErrorX on MpvEndFileError
- Convenience predicates for MpvEndFileError.
- MpvFileEndedEventX on MpvFileEndedEvent
- Whether the file ended naturally and not because of a stop, error, redirect, or shutdown.
- SuperequalizerBandsX on SuperequalizerSettings
-
Typed access over the digit-prefixed
1b,2b, …,18bparameters that lavfi'ssuperequalizerpacks into the bundle's rawparams: Map<String, double>.
Constants
- kAfftdnBandCount → const int
-
Number of fixed bands lavfi's
afftdnuses for its custom noise profile — the filter splits the spectrum into 15 logarithmic bands and lets the consumer set a noise floor per band. - kAfftdnBandNoiseDefault → const double
- Default per-band noise floor when none is provided.
- kCompandSoftKneeDefault → const double
-
lavfi-side default for
compand.soft-knee— leaves the transfer-function knee hard. - kSuperequalizerBandCount → const int
-
Number of bands the
superequalizerfilter exposes — fixed by the underlying ISO half-octave grid. -
kSuperequalizerFrequencies
→ const List<
double> -
18 fixed band centre frequencies of the lavfi
superequalizer, in Hz, lows-to-highs in declaration order. The frequencies are hard-coded insideaf_superequalizer.cand are not configurable — only the per-band gain is. - kSuperequalizerUnityGain → const double
- Default linear gain for an unmodified band (1.0 = unity, no change to that frequency's level).
Exceptions / Errors
- MpvException
- Thrown by Player.setRawProperty / Player.sendRawCommand when libmpv rejects the request — typically a typo in the property name, an out-of-range value, or an unknown command.
- MpvLibraryException
-
Exception thrown when the
libmpvshared library cannot be loaded or resolved.