Audio decoding development?
Has anyone else looked into this? The reason I ask, is that I want to look into developing a native sdk audio player that can decode flac and other codecs. Does anyone know if anything in QNX/Playbook would prevent me from embedding a trimmed down version of libFLAC within the app to decode the stream?
Thanks in advance,
- CrackBerry Master
03-28-2012, 06:07 PM #3
- 1,184 Posts
Thats my next step
I will be posting on their forums as well. I asked here first because I noticed that RIM rarely answers on the dev forum.
I will also try a few simple embeded file decodes, and see if I can get it to work. If it does work, I may need some help in throwing together a UI for the player.
- 04-02-2012, 11:43 PM #6
Cross compiling the libFLAC decoder is actually really easy, I was able to get a FLAC file playing with a couple days of experimenting.
Unfortunately I don't have the time to go further. Only 2 weeks and I graduate from school so maybe I can put something better together soon.
- 9900, PB64
- 04-03-2012, 05:33 PM #8
i did it without ogg support though, will need to fix that at some point.
i can put the project up on github later if you like.
I Looked at VLC, but feel that fresh start would make for a smaller build overall, one specifically designed for the Playbook.
- CrackBerry Genius
05-02-2012, 09:28 PM #11
- 2,058 Posts
libflac already supports QNX and has done so for a long time. So the port (done by RIM) above only involves adding a build script (build_for_playbook.sh)
libflac, ogg, vorbis, libcdio, libtiff, libmad, libass, bzip2, libmodplug, libmpeg2 and heaps of other stuff has already been officially ported by RIM. Everything you need, is on github: https://github.com/asimonov-rim/
As for the UI, again these exist. Just pick any random opensource Qt-based music player and it'll work.
Last edited by xsacha; 05-02-2012 at 09:50 PM.
- 05-03-2012, 04:38 AM #12
Actually I have already submitted a simple Flac player program to Appworld 3 weeks ago and have been "Waiting for test house" ever since.. It doesn't seem like they are very interested in it though. I wasn't expecting them to approve it right away, but I thought that I would have at least gotten some feedback by now..
I ported libFlac myself - if I had known that they have already done it, it would have probably made things a little bit easier..
- 05-09-2012, 05:52 PM #14