Struct alto::ContextAttrs [] [src]

pub struct ContextAttrs {
    pub frequency: Option<ALCint>,
    pub refresh: Option<ALCint>,
    pub mono_sources: Option<ALCint>,
    pub stereo_sources: Option<ALCint>,
    pub soft_hrtf: Option<bool>,
    pub soft_hrtf_id: Option<ALCint>,
}

Attributes that may be supplied during context creation.

Fields

Output sampling rate of the audio.

Refresh rate of the internal mixer, in Hz.

Hint for number of mono sources that will be created.

Hint for number of stereo sources that will be created.

Whether HRTF is desired.

The ID of the HRTF specifier to be used. This should be the index of a specifier as retrieved from enumerate_soft_hrtfs.