olcSoundWaveEngine icon indicating copy to clipboard operation
olcSoundWaveEngine copied to clipboard

SOUNDWAVE_USING_WINMM section should include mmeapi.h

Open MaGetzUb opened this issue 3 years ago • 0 comments

When you use the default WINMM backend, some winapi macros may disable including mmeapi.h from the Windows.h, therefore HWAVEOUT handles and other WINMM things become undefined. My suggestion is to add #include <mmeapi.h> after #include <windows.h> in the WINMM backend.

MaGetzUb avatar Sep 07 '22 14:09 MaGetzUb