Playing sounds with C++?

前端 未结 5 983
刺人心
刺人心 2021-02-06 16:10

How would i make it so in my program there is a button when that button is clicked i want it to play a .wma file without opening and media player?

5条回答
  •  不思量自难忘°
    2021-02-06 16:50

    Gstreamer is a free, cross-platform multimedia framework written in C (using GObject) that allows encoding/decoding for many types of media, including wma. Very easy to use and well documented.

提交回复
热议问题