MCPcopy Create free account
hub / github.com/PerroEngine/Perro / play

Method play

perro_source/api_modules/perro_resource_api/src/sub_apis/audio.rs:391–393  ·  view source on GitHub ↗
(&self, bus_id: AudioBusID, audio: Audio<'_>)

Source from the content-addressed store, hash-verified

389}
390
391impl<'a, R: AudioAPI + ?Sized> AudioPlayConfig<R> for AudioClip<'a> {
392 #[inline]
393 fn play_with(self, api: &R, bus_id: Option<AudioBusID>) -> bool {
394 api.play_audio_clip(bus_id, self.clip, self.volume, self.pan)
395 }
396}

Callers 12

apply_rumbleMethod · 0.45
animation_playMethod · 0.45
newMethod · 0.45
play_sourceMethod · 0.45
play_clipMethod · 0.45
resume_busMethod · 0.45
activate_midi_sinkMethod · 0.45
start_streamFunction · 0.45
__wbg_get_importsFunction · 0.45
__wbg_get_importsFunction · 0.45

Calls 3

play_audioMethod · 0.45
play_audio_2dMethod · 0.45
play_audio_3dMethod · 0.45

Tested by

no test coverage detected