Trait pix_engine::audio::AudioDeviceDriver
source · pub trait AudioDeviceDriver {
// Required methods
fn status(&self) -> AudioStatus;
fn driver(&self) -> &'static str;
fn spec(&self) -> AudioSpec;
fn resume(&self);
fn pause(&self);
}
Expand description
Provides access to audio device driver properties and controlling playback.
Required Methods§
sourcefn status(&self) -> AudioStatus
fn status(&self) -> AudioStatus
Return the status of this audio callback device.