One of the simplest ways is with MCI, like mciSendString
How to play a simple audio with WIn32 API in C++
I have read the Win32 documentation in Graphics and Multimedia section, Core Audio Programming Guide.
There is no simple example to load mp3 file and play it using Win32 API in the documentation, as always.
In short, I am looking for a simplest approach for loading an mp3 file and play the sound using Win32 API.
If possible, I need to do pause, track the progress, stop, skip or back at specified position.
Note: Simple here doesn't mean easy, it can be a complex thing, on the most basic level.
1 additional answer
Sort by: Most helpful
-
Guido Franzke 2,196 Reputation points
2022-09-19T10:12:13.237+00:00 Hello,
have a look at this: simplest-way-to-play-mp3-from-visual-c
Regards, Guido