推荐的Android音乐格式-mp3,ogg或其他格式? [英] Recommended Android music format - mp3, ogg or other?

查看:108
本文介绍了推荐的Android音乐格式-mp3,ogg或其他格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人问我,我的项目需要哪种格式的音乐,在查阅文档时,似乎Android平台是一个不错的选择.

I've been asked which format I need the music for my project in and, looking through the documentation, it seems that the Android platform offers a good choice.

音频当然不是我的强项,所以我想知道是否存在最适合Android播放的特定格式?想到的主要因素是解压缩和播放的大小和CPU开销. (音乐是在游戏的背景下播放的,但这并不是CPU占用过多的游戏.)

Audio is certainly not my forte so I'm wondering if there's a specific format that is best suited for Android playback? The main factors that come to mind are size and CPU overhead for decompression and playback. (The music is to be played in the background of a game, but it's not a particularly CPU intensive game).

任何建议都将受到欢迎.

Any advice would be very welcome.

推荐答案

Ogg当然是免费"的选择,并且您正在使用Android. ;)

Ogg is the "free" choice, of course, and you are using Android. ;)

我不知道解码Ogg和Mp3等效音频的性能有什么显着差异.

I'm not aware of any really significant differences in performance for decoding Ogg and Mp3 equivalent audio.

MP3可能是更好的选择.该实现可能比Ogg更一致.

Mp3 might be the better choice if you intend to use your software on several platforms. The implementation would probably be more consistent than Ogg.

这篇关于推荐的Android音乐格式-mp3,ogg或其他格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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