Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to play music from c/c++ NDK

How to play music from c/c++ NDK

All your problems with Audio, Video and Images.

How to play music from c/c++ NDK

Postby Mr Qwak » Tue Aug 28, 2012 3:59 pm

Hello,

I'm using the Android NDK, and have some MP3 files I'ld like to play (my App, is an OpenGL, I'm porting from iOS; iOS version here: http://www.mrqwak.com/games/retroracing/).

What's the best (least CPU intensive) way to play music on Android? Should I use MP3 or convert my music files to OGG or WAV?

Also, i'm using OpenAl to play SFX. Is that a bad option? I was also looking at OpenSL, but that seems to be Android version 9+ only (won't work on Froyo).

Thanks,
Mr Qwak
Freshman
Freshman
 
Posts: 2
Joined: Tue Aug 28, 2012 3:44 pm
Location: UK

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 4 guests