简体   繁体   English

适用于C ++的高级音频库

[英]High level audio library for C++

I need to know, if there is any library that can handle this features: 我需要知道,如果有任何库可以处理这个功能:

  1. Decode the main formats (Mp3, Wav, Ogg, etc..) 解码主要格式(Mp3,Wav,Ogg等)
  2. Handle sample rates, volume, duration, seek, etc... 处理采样率,数量,持续时间,寻求等...
  3. With the library, features that allow you to create an equalizer 使用库,可以创建均衡器的功能
  4. Handle the channels count (stereo, mono, etc..) 处理通道数(立体声,单声道等)
  5. Detect audio devices (output and input) and choose in what device I want to stream 检测音频设备(输出和输入)并选择我想要流式传输的设备
  6. Get Information of the song, title, album, and the default sample rate of the song. 获取歌曲,标题,专辑和歌曲默认采样率的信息。

I'm tired of looking for a library that can do this 6 features. 我已经厌倦了寻找能够完成这6项功能的图书馆。 I don't know if you can help me with this. 我不知道你是否可以帮助我。 Thanks so much! 非常感谢!

FFmpeg

I'm shocked no one recommended it before me. 我很震惊没有人在我面前推荐它。 It is an open source library, capable of converting just any media file you throw at it. 它是一个开源库,只能转换你抛出的任何媒体文件。

Check out BASS: http://www.un4seen.com/ 查看BASS: http//www.un4seen.com/

It can do the bulk of what you are wanting to do. 它可以完成您想要做的大部分工作。 I think the only thing it doesn't do is getting metadata. 我认为唯一不做的就是获取元数据。

您是否听说过或关注过Audiere或OpenAL?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM