建议我在C ++中播放mp3 [英] suggest me to play mp3 in c++

查看:72
本文介绍了建议我在C ++中播放mp3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用C ++播放mp3文件"
但我需要简单的编码才能做到这一点
我不想使用现有播放器播放mp3,即我希望独立于任何播放器播放mp3文件
请帮助我在此即时消息中搜索此内容,但找不到合适的文本
我已经搜索了免费的源代码,但是我很难理解."

"i want to play mp3 file using c++"
but i need simple coding to do this
i dont want to play mp3 using existing players i.e i want a mp3 file to be played independent of any player
please help me in this im searching for this and not able to find suitable text
"i have searched free source code but i find it difficult to understand"

推荐答案

查找有关如何使用OGG库的信息.它是开源的,并且使用C语言.
http://vorbis.com/software/ [ ^ ]
Look up on how to use the OGG library. It''s open source and in C.
http://vorbis.com/software/[^]


您可以在Windows MDK中尝试MCI函数.

关键功能是mciSendCommand()和mciSendString.您应该通过Google或MSDN对其进行检查.
You can try the MCI functions in the Windows MDK .

The key function is mciSendCommand() and mciSendString.You should check it out by Google or MSDN.


这篇关于建议我在C ++中播放mp3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆