Yes this is exactly my problem... SoundPool either cuts off the sample
after about 5 seconds, or complains that it's too big.

I'll try your suggestion, though I can't have delays so I may have to
stick with lots of MP objects.

Thanks.

On Mar 11, 7:08 am, Nightwolf <mikh...@gmail.com> wrote:
> Another way is to use single MediaPlayer and call reset(),
> setDataSource(), prepare() and start().
> There could be some delays though, at least for the first time.
>
> BTW the last time I tried SoundPool it was impossible to have more
> than 1 MB of sounds. SoundPool uses uncompressed audio and I didn't
> find a way to control bitrate and other stuff. I wanted five 17-18 sec
> samples and that was impossible with SoundPool.
>
> On 11 ÍÁÒ, 02:50, Neilz <neilhorn...@googlemail.com> wrote:
>
> > Anyone? I'm sure this must be a common problem...
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to