- 03-28-2012, 08:10 AM
Thread Author #1
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,
Dan9900, PB64 - 03-28-2012, 09:58 AM #2
SHN decoding would be great as well!
- 03-28-2012, 06:07 PM #3
Can't think of any reason it wouldn't be possible, but a better place to ask is:
Native SDK for BlackBerry Tablet OS - BlackBerry Support Community ForumsFiles & Folders for PlayBook and BB10: a powerful unified file, folder & cloud manager and media streamer with integrated SkyDrive, Google Docs, Google Drive, SugarSync, Dropbox, Box, thumbnails and more - Free 3-day trial! - Voted Best New BlackBerry App - 03-29-2012, 07:28 AM
Thread Author #4
Thats my next step
Thanks,
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.
Thanks,
Dan9900, PB64 - 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. - 04-03-2012, 09:33 AM
Thread Author #7
9900, PB64 - 04-03-2012, 05:33 PM #8
Actually i just took the decoder files and put them in a momentics project. figured out the right stuff to define and managed to get it. worked fine.
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. - 04-04-2012, 07:09 AM
Thread Author #9
Excellent Idea
Thank you, That would be great. My daughter works in the software development field as well, and is designing and building the UI. My plan is to start simple, one or two codecs, and work my way up to something that would support all major audio formats. Then add video support.
I Looked at VLC, but feel that fresh start would make for a smaller build overall, one specifically designed for the Playbook.
Dan9900, PB64 - 05-02-2012, 09:28 PM #11
>> https://github.com/asimonov-rim/flac
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.
Developer of PPSSPP, ReQognise, Dingleberry, PB Connect, Sachup + Sachibar and other Qt apps. Porter of many opensource Qt apps.
If you like my free and opensource projects, donate to me here. - 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-08-2012, 10:05 PM #13
Looks like its finally approved - FLAC Player - basic, but it works -- good first effort. Looking forward to some tag support + also better folder/file view management. Thanks Tomas! - 05-09-2012, 05:52 PM #14
- 05-09-2012, 09:41 PM #16
Currently USB Host is disabled.
Developer of PPSSPP, ReQognise, Dingleberry, PB Connect, Sachup + Sachibar and other Qt apps. Porter of many opensource Qt apps.
If you like my free and opensource projects, donate to me here.

Reply
. 













