跨平台(C / C ++)音频库支持MP3,AAC,WAV [英] Cross Platform (C/C++) Audio Library for MP3, AAC, WAV

查看:1833
本文介绍了跨平台(C / C ++)音频库支持MP3,AAC,WAV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到一个跨平台的音频库,将有以下能力(按重要性排序):

I'm trying to find a cross platform audio library that will have the following abilities (in order of importance):


  • 全在Windows,Mac,Linux支持

  • C / C ++的API

  • 免费/便宜,但在商业上可行

  • MP3支持

  • 支持AAC

  • WMA支持

  • FLAC支持

  • OGG支持

  • ARM Linux的支持将是不错

  • 开启源代码

我找到了几件事情像OpenAL的,礼包,低音等,但他们似乎都都要么有操作系统,codec或两者的限制。对于大部分MP3和AAC支持是必须的,我工作的媒体播放器,并希望它支持这些常见的格式。

I've found several things like OpenAL, libao, Bass, etc. but they all seem to all either have a limitation of OS, codec or both. For the most part MP3 and AAC support are a must as I'm working on a media player and would like it to support those common formats.

有什么建议?

推荐答案

您可以看看 的GStreamer FFmpeg的

You can take a look at GStreamer and FFmpeg.

修改

既然你愿意使用Qt,你一定要检查的Qt MultimediaKit ,这是 Qt的移动的项目的一部分。声子是渐行渐远,因为Qt是投资于MultimediaKit来取代它。

Since you are willing to use Qt, you should definitely check Qt MultimediaKit, which is a part of the Qt Mobility project. Phonon is fading away because Qt is investing on MultimediaKit to replace it.

这个例子展示了如何做简单的音频播放。 这个例子演示如何创建一个多媒体播放器。 这个例子显示较先进的音乐播放器,使用Qt和QML。

This example shows how to do simple audio playback. This example shows how to create a multimedia player. This example shows a more advanced music player, using Qt and QML.

这篇关于跨平台(C / C ++)音频库支持MP3,AAC,WAV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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