app :: App :: load_music_from_res
load_music
but load the sound from the res/raw
folder
# Same as `load_music` but load the sound from the `res/raw` folder
fun load_music_from_res(music: String): Music do
return default_mediaplayer.load_sound(resource_manager.raw_id(music), native_activity)
end
lib/android/audio.nit:698,2--701,4