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
frequency: Option<ALCint>
Output sampling rate of the audio.
refresh: Option<ALCint>
Refresh rate of the internal mixer, in Hz.
mono_sources: Option<ALCint>
Hint for number of mono sources that will be created.
stereo_sources: Option<ALCint>
Hint for number of stereo sources that will be created.
soft_hrtf: Option<bool>
Whether HRTF is desired.
soft_hrtf_id: Option<ALCint>
The ID of the HRTF specifier to be used.
This should be the index of a specifier as retrieved from enumerate_soft_hrtfs
.