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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -