IMovaAudioPuller class abstract

Decodes a media source's entire audio track to a WAV file on disk, for one-shot batch transcription of VOD content (see doc/notes/2026-08-04-stt-recognizer-decision.md's "批量预转写" section).

A port rather than a concrete class for the same reason as IMovaFramePuller: the only implementation spins a second, headless media_kit player, and lib/src/core/** must stay media_kit-free — the implementation lives in lib/src/platform_impl/mpv_audio_extractor_impl.dart.

⚠️ Unlike IMovaFramePuller (a settled, shipped implementation), the platform_impl backing this port is an unverified spike — see that file's doc comment. Nothing in core/ or mova_stt depends on it working yet.

把媒体源的完整音轨解码为磁盘上的 WAV 文件,供点播内容一次性批量转写用 (见 doc/notes/2026-08-04-stt-recognizer-decision.md 的"批量预转写"一节)。

做成端口而非具体类的原因与 IMovaFramePuller 相同:唯一的实现会另起一个 无头的 media_kit 播放器,而 lib/src/core/** 必须与 media_kit 解耦——实现放在 lib/src/platform_impl/mpv_audio_extractor_impl.dart。

⚠️ 与 IMovaFramePuller(已落地、已上线的实现)不同,撑起这个端口的 platform_impl 是一个未验证的 spike——见该文件的文档注释。目前 core/ 与 mova_stt 里没有任何代码依赖它真的能跑通。

Implementers

Constructors

IMovaAudioPuller()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
Releases everything permanently.
extractWav(String uri) → Future<String?>
Decodes uri's entire audio track to a mono 16kHz WAV file.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited