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

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 - SoundPool - load(String) and load(FileDescriptor)

SoundPool - load(String) and load(FileDescriptor)

All your problems with Audio, Video and Images.

SoundPool - load(String) and load(FileDescriptor)

Postby dagaspodin » Fri Jul 17, 2009 11:53 am

I'm using SoundPool to play sound effects in my program from the resources. Now I've decided that I want to load the files from external files, packaged in the apk package.

Are SoundPool.load(String path, int priority) and SoundPool.load(FileDescriptor fd, long offset, long length, int priority) supposed to work? Because I only get FileNotFound exceptions when trying to load pretty much anything, for example: sfx_01.wav, which I've checked and double checked is in the APK root dir (by unzipping it). I've also tried placing the wave files inside a subdirectory and then packaging that with the same result. I'm using Android 1.5
dagaspodin
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jul 17, 2009 10:50 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: MSNbot Media and 3 guests