Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With ao=alsa mpv does not close sound card when paused #8691

Open
bdantas opened this issue Apr 2, 2021 · 0 comments
Open

With ao=alsa mpv does not close sound card when paused #8691

bdantas opened this issue Apr 2, 2021 · 0 comments

Comments

@bdantas
Copy link

bdantas commented Apr 2, 2021

  • mpv version: 0.33.0
  • Linux Distribution and Version: Tiny Core Linux 11.1 x86_64
  • Source of the mpv binary: I compiled from github tarball
  • If known which version of mpv introduced the problem: Not known.
  • Window Manager and version: fluxbox 1.3.7
  • GPU driver and version: Mobile 4 Series Chipset Integrated Graphics Controller, driver=i915

Reproduction steps

Expected behavior

A few seconds after video playback is paused, "grep RUNNING /proc/asound/card*/pcm*/sub*/status" should return no hits. This is the observed behavior when mpv is compiled without the "--disable-pulse" flag and run on a system that has PulseAudio.

Actual behavior

mpv compiled with "--disable-pulse" flag runs fine on an ALSA-only system, but when playback is paused, "grep RUNNING /proc/asound/card*/pcm*/sub*/status" consistently returns "/proc/asound/card0/pcm0p/sub0/status:state: RUNNING". Other sound-producing applications (e.g., Brave browser) exhibit the expected behavior when running on my ALSA-only system.

Log file

output.txt

Sample files

Any video or audio file will do.

@sfan5 sfan5 changed the title when compiled with "--disable-pulse", mpv does not close sound card when paused With ao=alsa mpv does not close sound card when paused Apr 2, 2021
@sfan5 sfan5 added the ao:alsa label Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants