Trait pix_engine::audio::AudioDeviceDriver
source · [−]pub trait AudioDeviceDriver {
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
fn status(&self) -> AudioStatus
fn status(&self) -> AudioStatus
Return the status of this audio callback device.