Android Question Is there a life guard on duty? I am drowning in the soundpool!

Discussion in 'Android Questions' started by azclay, Feb 1, 2019.

Tags:
  1. azclay

    azclay Member Licensed User

    I have been trying to get some basic sound effects into my app. not trying to do anything fancy just some feedback sounds for the UI. I have used it once previously and had no issues at all.This time though i am getting
    using essentially the same code as i did last time but with different sound files. I have tried switching the wav files out for ogg with no improvement. basically I'd like to know if this is an issue with the device i am developing on or if it can be resolved by re-encoding the files to another bit rate or sample size.I can post my code if needed. I would also like to say thank you to all those in this community who browse this forum looking to help people like me that are new to this. Your time and patience are greatly appreciated.
     
  2. stevel05

    stevel05 Expert Licensed User

    The error message implies that there may be a mismatch between the file configuration and the hardware capability, although I would expect all devices to support 44100Hz files.

    Can you check the sample rate of the files you are playing?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice