android - Libgdx audio wav file not playing soundpool not ready? -


i trying add sound libgdx game using wav file. supposed play in background of main menu , loop reason not play. have insight way may be. notice in logcat soundpool not ready. have added following code constructor of screen , file located in assets folder. thanks.

sound wavsound = gdx.audio.newsound(gdx.files.internal("sound.wav"));     wavsound.play(); 


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -