Skip to content

Add CoreAudio to audio backend combobox map for macOS#686

Open
mkoterski wants to merge 1 commit intoHarbourMasters:mainfrom
mkoterski:fix/macos-coreaudio-combobox
Open

Add CoreAudio to audio backend combobox map for macOS#686
mkoterski wants to merge 1 commit intoHarbourMasters:mainfrom
mkoterski:fix/macos-coreaudio-combobox

Conversation

@mkoterski
Copy link
Copy Markdown

macOS uses COREAUDIO as the default audio backend, but the combobox display map in MenuTypes.h only contained SDL and WASAPI. This causes an unordered_map::at crash on first frame draw when the Audio API dropdown tries to render.

Fixes the menu crash portion of #681.

@mkoterski mkoterski force-pushed the fix/macos-coreaudio-combobox branch from 25ed7a2 to 20fafd5 Compare April 12, 2026 12:18
macOS uses COREAUDIO as the default audio backend, but the
combobox display map in MenuTypes.h only contained SDL and
WASAPI. This causes an unordered_map::at crash on first
frame draw when the Audio API dropdown tries to render.
Fixes the menu crash portion of HarbourMasters#681.
@mkoterski mkoterski force-pushed the fix/macos-coreaudio-combobox branch from 20fafd5 to aa351af Compare April 13, 2026 12:28
@mkoterski mkoterski changed the title Add CoreAudio to audio backend combobox map Add CoreAudio to audio backend combobox map for Mac Apr 13, 2026
@mkoterski mkoterski changed the title Add CoreAudio to audio backend combobox map for Mac Add CoreAudio to audio backend combobox map for macOS Apr 13, 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.

1 participant