ap4y / OrigamiEngine

Lightweight audio engine for iOS and OSX with flac, cue, mp3, m4a, m3u support.
http://ap4y.github.com/OrigamiEngine/
MIT License
545 stars 117 forks source link

Opus support? #14

Closed d-a-n closed 11 years ago

d-a-n commented 11 years ago

This library looks very promising. Are there any intensions to support the opus codec?

ap4y commented 11 years ago

To be honest I'm not particularly familiar with opus, I always thought that it's used primarily in voip industry. While Origami is a general purpose library, it's currently focused on decoding only. It's possible to add encoding too, but this can be time consuming process. Do you think it worth implementing just opus decoding? Do you have any usage ideas that you can share?

d-a-n commented 11 years ago

Hi Arthur,

thanks for your reply. Opus is a great codec for low bitrate / low latency audio. A lot of podcasts and audio streams offering opus for mobile devices. Unfortunately there are not many available iOS apps that support opus. If we would have an easy to use library like your OrigamiEngine, support for that codec could be implemented easily. I think decoding only would be great for a start.

ap4y commented 11 years ago

Sounds really interesting, I didn't know about podcasts. I will spent some time with opus. I can't do ETA for this enhancement, it depends on the opus library docs/examples, but I'm pretty much sure it will be possible to add opus support. Thanks!

d-a-n commented 11 years ago

Great, looking forward to it.

ap4y commented 11 years ago

Opus support added in version 1.09. It uses separate cocoapods subspec since libopusfile has some heavyweight dependencies.