android :: SoundPool :: load_name_rid
# Returns only the id corresponding to the soundpool where the sound is loaded.
private fun load_name_rid(resource_manager: ResourcesManager, context: NativeActivity, sound: String): Int do
var id = resource_manager.raw_id(sound)
return nsoundpool.load_id(context, id, priority)
end
lib/android/audio.nit:322,2--326,4