android - Playing short sounds in separate thread -


in android game, there 36 falling balls. when ball touches ground sound played. sound small, 0.3 sec. using soundpool class play it. may happen in game 36 balls fall in quick succession. playing sound many times may block ui thread. advisable play sound on separate thread ?

yes! should play sound on a separate thread. check solution provided similar question here


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -