Struct sqa_engine::sync::Player [] [src]

pub struct Player {
    pub buf: Consumer<f32>,
    pub sample_rate: u64,
    pub start_time: Arc<AtomicU64>,
    pub position: Arc<AtomicU64>,
    pub active: Arc<AtomicBool>,
    pub alive: Arc<AtomicBool>,
    pub output_patch: Arc<AtomicUsize>,
    pub volume: Arc<AtomicPtr<Parameter<f32>>>,
    pub master_vol: Arc<AtomicPtr<Parameter<f32>>>,
    pub uuid: Uuid,
    pub half_sent: bool,
    pub empty_sent: bool,
}

Holds data about one mono channel of audio, to be played back on the audio thread.

Fields

Trait Implementations

impl Drop for Player
[src]

A method called when the value goes out of scope. Read more