Android Utililty Methods Sound Attribute Add

List of utility methods to do Sound Attribute Add

Description

The list of methods to do Sound Attribute Add are organized into topic(s).

Method

voidaddSoundFile(Context context, int resId, SoundAttributes attributes)
add audio files specified by resource ids to pool
init();
if (!resourceToSound.containsKey(resId))
    resourceToSound.put(resId, soundPool.load(context, resId, 1));
resourceToAttributes.put(resId, attributes);