Skip to content

ao_coreaudio: cleanup ao on init failure - #18383

Open
Dudemanguy wants to merge 2 commits into
mpv-player:masterfrom
Dudemanguy:coreaudio-unregister-hotplug
Open

ao_coreaudio: cleanup ao on init failure#18383
Dudemanguy wants to merge 2 commits into
mpv-player:masterfrom
Dudemanguy:coreaudio-unregister-hotplug

Conversation

@Dudemanguy

Copy link
Copy Markdown
Member

This matches what other AOs and VOs do and properly releases allocated resources on failure.

Can someone actually verify that my assumptions in the uninit are correct since I'm not a mac user.

This matches what other AOs and VOs do and properly releases allocated
resources on failure.
No real point in registering the hotplug if we don't even know if the
actual ao is going to work or not yet. Just move it down.
@kasper93 kasper93 added this to the Release v0.42.0 milestone Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants