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
Posts: 26
Registered: ‎04-11-2012
My Device: BlackBerry Play book
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

New Contributor
Posts: 9
Registered: ‎06-14-2012
My Device: Alpha device
My Carrier: B.

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

We definitly need more samples :smileyhappy:
Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
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

Developer
Posts: 90
Registered: ‎05-31-2012
My Device: BlackBerry Playbook
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

Contributor
Posts: 18
Registered: ‎01-23-2011
My Device: Not Specified

Re: OpenAl and Ogg Vorbis sample for blackberry playbook

Contributor
Posts: 34
Registered: ‎10-28-2012
My Device: Dev Alpha B
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!*
Developer
Posts: 113
Registered: ‎03-23-2011
My Device: Playbook, Z10
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