Android, load audio in background of splash screen -
i'm having problems when playing .ogg
files. taking 5 seconds load after splash screen moving main program, horrid black screen while it's doing it.
i have 15 different sounds 14 of 1-2 seconds @ most, , 1 @ 25 seconds.
i'm reading sounds raw folder , implementing them in class like... soundpool = new soundpool(10,audiomanager.stream_music,0); soundid = soundpool.load(context, r.raw.sound1, 1); // x15
if utilize .wav
files loads much faster without black screen fails play sounds, sometimes.
is there way load sounds while splash screen active? or doing right, should loading files straight raw folder soundpool class?
i've looked days hope beingness if have sounds muted on loop , un-mute them when want played. reply bit vague , no helpful links included.
you help much appreciated.
android audio wav soundpool ogg
No comments:
Post a Comment