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 - Reduce latency with OpenAL

Reduce latency with OpenAL

Put problems with the Android NDK in this forum.

Reduce latency with OpenAL

Postby Kcm » Wed Jan 19, 2011 3:05 pm

Hello,

I use OpenAL in my android game for playing sound.
It works well on HTC Legend and HTC Desire HD.

But not with Samsung Galaxy S and Motorola Droid !
on this devices, I have a 0.4 sec shift after alSourcePlay call.

Anyone know how to reduce latency with OpenAL ?
Do you know a difference in device about that ?

Thanks for your help.
Kcm
Junior Developer
Junior Developer
 
Posts: 11
Joined: Fri Oct 15, 2010 9:43 am

Top

Re: Reduce latency with OpenAL

Postby Kcm » Thu Jan 20, 2011 4:35 pm

I have a little more info about my bug.

In openAL, it use JNI to call "android/media/AudioTrack" in STREAM_MODE.
It make an audioTrack.write( soundbuffer, ... ) at each sound.

There is a latency bug with this command => about 400ms with Samsung devices !

Do you know if there is a static_mode audioTrack openAL support?
Kcm
Junior Developer
Junior Developer
 
Posts: 11
Joined: Fri Oct 15, 2010 9:43 am

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 3 guests