That code’s been stable for a long time and I’ve never seen any problems with it - sounds more like an issue with your particular soundcard. Unfortunately, once the call has disappeared into the driver like that, it’s hard to tell why it’s failing…
thanks, controlPanel() returns 0=ASE_OK
i can’t see whats happen inside controlPanel(), even with step by step debugging (disassembly view)
The only callback i detect while running controlPanel() is bufferSwitchCallback0
If you are seeing a bufferSwitchCallback, then the audio engine is still running. We don’t care about that, but maybe the RME driver does. Try shutting down the engine before launching the control panel.