fix(cpn): recreate QAudioOutput per playback to fix silent preview on macOS (#7516)

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rickard von Essen
2026-08-28 19:29:58 +10:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent bf3137efff
commit 02432d4811
2 changed files with 1 additions and 3 deletions
@@ -110,7 +110,6 @@ class CustomFunctionsPanel : public GenericPanel
QComboBox * fswtchRepeat[CPN_MAX_SPECIAL_FUNCTIONS];
QComboBox * fswtchGVmode[CPN_MAX_SPECIAL_FUNCTIONS];
QMediaPlayer * mediaPlayer;
QAudioOutput * audioOutput;
int selectedIndex;
int fswCapability;