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
Post a Comment