Trait oc2_hlapi::device::SoundInterface
source · pub trait SoundInterface: RpcDevice {
// Required methods
fn find_sound(&self, name: &str) -> Result<Box<[String]>>;
fn play_sound(&self, name: &str, volume: f64, pitch: f64) -> Result<()>;
}Expand description
An interface between sound-making devices and the HALPI
Required Methods§
Object Safety§
This trait is not object safe.