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 - sound playback is delaying

sound playback is delaying

All your problems with Audio, Video and Images.

sound playback is delaying

Postby jakob » Mon Feb 23, 2009 2:27 am

I've got a simple application where certain screen taps will result in the playing of an audio file. The problem i'm facing right now is the sound is not playing immediately with the screen press....
jakob
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Feb 23, 2009 2:25 am
Location: concord, nc

Top

Postby Haibane » Wed Feb 25, 2009 9:39 am

I suppose you use the simple mediaplayer class to play the audio file which requires to prepare the file each time before playing. This causes the delay. I hope it will be somehow fixed in the future. Till that time use the soundpool class, it does not need to be prepared, much faster. If you browse the forum here you will find a sample implementation.
User avatar
Haibane
Junior Developer
Junior Developer
 
Posts: 17
Joined: Fri Feb 13, 2009 10:05 am
Location: Klagenfurt, Austria

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 11 guests