Struct alto::Alto [] [src]

pub struct Alto { /* fields omitted */ }

This struct is the entry point of the API. Instantiating it will load an OpenAL implementation. From here, available devices can be queried and opened.

Methods

impl Alto
[src]

Load the default OpenAL implementation for the platform. This will prefer OpenAL-Soft if it is present, otherwise it will search for a generic implementation.

Load the default OpenAL implementation for the platform. This will prefer OpenAL-Soft if it is present, and will pass along the specified hints in a temporary configuration file that will be read by OpenAL-Soft. NOTE: This involves setting the value of the ALSOFT_CONF environment variable. If it is already set, then the provided hints will be discarded.

Loads a specific OpenAL implementation from a specififed path.

Loads a specific OpenAL implementation from a specififed path. If that implementation is OpenAL-Soft, the specified hints will be passed along in a temporary configuration file. NOTE: This involves setting the value of the ALSOFT_CONF environment variable. If it is already set, then the provided hints will be discarded.

Raw entry points of the OpenAL API.

alcGetString(ALC_DEFAULT_DEVICE_SPECIFIER)

alcGetString(ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER)

alcGetString(ALC_DEVICE_SPECIFIER)

alcGetString(ALC_CAPTURE_DEVICE_SPECIFIER)

alcOpenDevice()

alcLoopbackOpenDeviceSOFT() Requires ALC_SOFT_loopback

alcCaptureOpenDevice()