Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9019981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:53:55+00:00 2026-06-16T04:53:55+00:00

I’m just asking this question, because I can’t find any info on the internet

  • 0

I’m just asking this question, because I can’t find any info on the internet about it, probably because it’s a rare case.

Problem is that I have a piano app that uses multiple MediaPlayers to play mp3 samples. It’s the only way to get fast response and not having to load them all to memory like in a soundpool, or resorting to a native code synth.

It works great, and I don’t have any problems on normal android devices. However, on the Amazon Kindle Fire (first edition) I get strange noises after I play several keys. It looks like the MediaPlayer native implementation somehow has some bugs. I don’t get real errors, but sounds are cut-off or make garbled strange rendering noises. This ofcourse makes my users unhappy, and leaves me with a low rated app.

I tried switching rendering engines by using .ogg samples. These work great, no strange noises anymore, but they too are cut-off, making it not a very good replacement.

The only lead I found was some error message, I do sometimes get, about invalid data. I’ll try to see if I can fix that one, but I am afraid it has nothing to do with it.

Anyone encountered similar issues on the Kindle Fire (or maybe other platforms)?

Update
It seems that the strange errors that sometimes popped up about incorrect data are indeed causing this. I am using AssetFileDescriptors to load raw resource files. This is exact the same stuff that MediaPlayer.create(R.raw.mp3file) does. I just tested with the samples on the sdcard, and now I don’t get any strange audio issues. So, I think I’ll actually can solve this. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:53:56+00:00Added an answer on June 16, 2026 at 4:53 am

    Well, the solution is a very simple one. And I also understand now why it is not encountered much.

    I found out that I did not copy the MediaPlayer.create(R.raw.resid) source completely. I forgot to close the AssetFileDescriptor after each use, and did just reuse them. Somehow that is not a good practice, and switching to closing them fixed it!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I don't have much knowledge about the IPv6 protocol, so sorry if the question
Does anyone know how can I replace this 2 symbol below from the string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.