mpv-player / mpv-player/mpv

Coreaudio failed to switch physical & virtual format

Open
#6,845 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ao:coreaudio os:mac
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv version and platform

mpv git 69c93b6
macOS 10.14.6 (18G87)

Reproduction steps

Require an audio device (e.g. SONY SRS-Z7R) that provides unpacked 16 bit format.

  1. In Audio MIDI setup, set audio format to 16 Bit.

  2. Play a 24 Bit audio with ao=coreaudio_exclusive

Expected behavior

Play normally

Actual behavior

Failed to play and fall back to another audio device.

Log file

https://0x0.st/zOPS.txt

Sample files

Any 24 Bit audio

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure on macOS with an audio device configured for unpacked 16-bit output, then review the linked log file and the coreaudio_exclusive implementation. Done means 24-bit audio plays normally instead of failing and falling back to another device.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.