mirror of
https://github.com/yattee/yattee.git
synced 2026-07-20 14:22:02 +00:00
Fix tvOS ao value shown in MPV options settings
The read-only defaults list grouped tvOS with iOS as ao=audiounit, but MPVClient actually sets ao=avfoundation,audiounit on tvOS (avfoundation first because audiounit can't open 32-channel HDMI Atmos routes). Display-only fix; no playback behavior change.
This commit is contained in:
@@ -120,7 +120,9 @@ private struct DefaultOptionsSection: View {
|
|||||||
options.append(("framedrop", "decoder+vo"))
|
options.append(("framedrop", "decoder+vo"))
|
||||||
options.append(("audio-client-name", "Yattee"))
|
options.append(("audio-client-name", "Yattee"))
|
||||||
|
|
||||||
#if os(iOS) || os(tvOS)
|
#if os(tvOS)
|
||||||
|
options.append(("ao", "avfoundation,audiounit"))
|
||||||
|
#elseif os(iOS)
|
||||||
options.append(("ao", "audiounit"))
|
options.append(("ao", "audiounit"))
|
||||||
#else
|
#else
|
||||||
if ProcessInfo.processInfo.operatingSystemVersion.majorVersion >= 27 {
|
if ProcessInfo.processInfo.operatingSystemVersion.majorVersion >= 27 {
|
||||||
|
|||||||
Reference in New Issue
Block a user