适用于Linux和Windows的C ++通用mp3 dab播放器lib [英] c++ universal mp3 dab player lib for linux and windows

查看:166
本文介绍了适用于Linux和Windows的C ++通用mp3 dab播放器lib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在考虑编写运行Linux的基于c ++的HTPC(家庭剧院).
这在python中可能很容易做到,但我也需要更多的c ++经验
现在,我想到的是可以播放MP3和DAB(数字音频广播)的东西
并且可以接受某些类型的命令或通过网络接收的命令.
后来它必须支持一个arduino板进行输入(com端口通信),但这就是将来的用途.

基本上就现在而言,它将取代我的音频高保真音响系统.


现在,我想知道是否可以用c ++编写它并使用一些通用的MP3和DAB库,以便完成后的代码可以轻松地在Windows和Linux上运行?
我不想开发两次,如果不可能的话,我的代码将是linux
有人可以指出我这样的图书馆吗?

对于播放mp3以及可能是如何使用mp3的小样本,我对c ++并不陌生,但是我对在Linux内部进行编码感到陌生.

(PS我在这里考虑开源软件,我的代码也将是这样).

Hello

I''m thinking of writing a c++ based HTPC (home theatre) running linux.
This might be easy to do in python, but i also need more c++ experience
As for now i think of something that can play MP3 and DAB (digital audio broadcasts)
And can accept some typed command or by network recieved command.
Later it has to support an arduino board for input (com port communication) but thats for future use.

Basically as for now it will replace my audio hifi set.


Now i am wondering would it be possible to write it in c++ and use some general MP3 and DAB library so the code when finished would easily run on windows and linux ?
I wouldnt like to develop it twice, if its not possible then my code will be linux
Can someone point me to such a library ?

For playing mp3 and perhaps a small sample of how to use it, i''m not new to c++ but i am new to coding something inside linux.

(PS i''m thinking of opensource software here, my code will be like that too)

推荐答案

PGT写道:

如果完成了,你能告诉我吗?

If it has been done, could you tell me?

很高兴.我认为,有很多产品,但是我很了解的是VideoLAN.它是开源和多平台的:
http://en.wikipedia.org/wiki/VideoLAN [ http://www.videolan.org/ [ ^ ].

我在Windows和Linux上使用它.很难说它不能做什么.基本上,它可以用作播放器,转换器和广播解决方案,或者在一个过程中将这些角色组合在一起.

-SA

With pleasure. I think, there are many products, but the one I know well is VideoLAN. It''s open-source and multiplatform:
http://en.wikipedia.org/wiki/VideoLAN[^],
http://www.videolan.org/[^].

I use it on Windows and Linux. It''s hard to say what it cannot do. Basically, it can be uses as a player, converter and broadcasting solution, or combination of these roles in one process.

—SA


Linux mint xfce + xbmc +一个Android应用程序可通过wifi作为远程控制器对其进行控制.
linux mint xfce + xbmc + an android app to control it over wifi as a remote.


这篇关于适用于Linux和Windows的C ++通用mp3 dab播放器lib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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