Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
ahsan_iqbal
Posts: 26
Registered: ‎04-11-2012
My Carrier: BlackBerry
Accepted Solution

OpenAl and Ogg Vorbis sample for blackberry playbook

Hi All

 

Can anyone give me a sample code to play ogg files in playbook ndk using Ogg Vorbis and openAl

 

Regards

Ahsan

Please use plain text.
New Contributor
lilin
Posts: 9
Registered: ‎06-14-2012
My Carrier: B.

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

We definitly need more samples :smileyhappy:
Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Carrier: N/A

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

Hi there,

 

As for OpenAI, I have not experimented with this myself; another user on these forums, "step_jac", has successfully experimented with ogg/vorbis in the past I believe. It could be a good idea to contact him.

 

See Thread:

http://supportforums.blackberry.com/t5/Native-Development/Having-trouble-with-undefined-reference-to...

 

Martin

Please use plain text.
Developer
step_jac
Posts: 89
Registered: ‎05-31-2012
My Carrier: Bell

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

Hi Ahsan,

 

The following link should provide you with a good starting point: http://jogamp.org/joal-demos/www/devmaster/lesson8.html .

 

Kind regards,

 

Stephane

Please use plain text.
Contributor
flynnman
Posts: 18
Registered: ‎01-23-2011

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

Please use plain text.
Contributor
velkin
Posts: 34
Registered: ‎10-28-2012
My Carrier: Rogers

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

Since i haven't seen this posted anywhere in the threads related to OggVorbis, note that there is a good community sample (not mine) extending the cowbell example available here:

 

https://github.com/blackberry/Cascades-Community-Samples/tree/master/HelloOggVorbis

*Like or mark as solution!*
Please use plain text.
Developer
cycletronic
Posts: 113
Registered: ‎03-23-2011
My Carrier: Platinumtel

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

Part of the cocos2d-x engine is an audio library called CocosDenshion.  It will load and play ogg files.  It's open source, and actually fairly easy to read too.  I have used cocos2d-x with the NDK and have loaded and played ogg files both for background music and sound effects.  Super easy to use, but fairly basic.

----------------
WIP game: Melodaeum
My graphically bland but very useful Morse Code trainer: Speed CW
My graphically attractive but boring game: The Rainstorm
Please use plain text.