这是indexloc提供的服务,不要输入任何密码
Skip to content

Switching the audio output device when using audio filters will result in continuous audio loss #16559

@dyphire

Description

@dyphire

mpv Information

mpv v0.40.0-216-g440f35a26 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on Jul 16 2025 14:07:05
libplacebo version: v7.351.0 (v7.351.0-23-g69653ce-dirty)
FFmpeg version: N-120302-gbfab02629
FFmpeg library versions:
   libavcodec      62.8.100
   libavdevice     62.0.100
   libavfilter     11.2.100
   libavformat     62.1.103
   libavutil       60.5.100
   libswresample   6.0.100
   libswscale      9.0.100

Other Information

- Windows version: Windows 11 24H2
- Source of mpv: https://github.com/zhongfly/mpv-winbuild/releases

Reproduction Steps

  1. play video with mpv --no-config --af=@dynaudnorm:lavfi=[dynaudnorm=f=500:g=31:p=0.5:m=5:r=0.9]
  2. try to switch the audio output device

Expected Behavior

When using audio filters, the audio should play normally after switching the audio device.

Actual Behavior

When using audio filters, the audio will be lost continuously after switching the audio device. It takes a while before it can return to normal.

The frame-step and seek commands can quickly restore audio output to normal.

Log File

out.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions