Big bug playing ogg files in Android 2.3 (a.k.a Stop the Android Audio Madness!)

by k7k0 » Sat, 12 Mar 2011 05:18:50 GMT

Sponsored Links
 I'm having a big problem with Android 2.3, the MediaPlayer API seems broken 
with most .ogg files.

If you grab a mono or non-44khz ogg file, after loading it into the 
MediaPlayer it reports ridiculous lengths using the getDuration() API. Is 
not just bad information, you can't use the seekTo API!. Try to download 
this file to your sdcard and play it using the Music Player app in a 2.3 
emulator, the file is 18 seconds length, it reports only 8 seconds!.

I've filed a bug here 
If you are an audio-related app developer please star it.

We switched to ogg to avoid the gaps of the mp3 files. *This worked since 
android 1.1*, I don't know what's happening to android audio API's, I 
thought they couldn't make it even worse!


Other Threads

1. Activity not visible when used Theme.Translucent

hi guys,

this is the expected result

NotificationManager --> Activity A --> Activity B (theam on top of
Activity A)

first time when notified it works fine

this is how i start the Activity A from Notification Manager

Intent sms = new Intent(context, SaveReceivedSMS.class);
PendingIntent startIntent = PendingIntent.getActivity(context,
                                                0, sms, 

so once the Activity Starts after 5 seconds blur Activity will start
on top of Activity B

so when i received another notification Activity A will start but will
not display??
any idea???

even there's a bug report on this



2. G1 Touch screen not working properly

Hi, everybody I have G1 Mobile. Today I realized that my mobiles touch
screen not working properly , is this hardware problem? what should I
do? Please help me.

Thanks and Regards
Pramod Deore


3. Recovery di desire

4. ExpandableListView with certain top-level elements expandable and others selectable

5. application's persistent not work

6. yang mau ikut mirink di green cafe bandung daftar disini

7. Device Admin Question