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 dynamically. 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.

Loads a specific OpenAL implementation from a specififed path.

Get the specifier of the default output device.

Get the specifier of the default capture device.

Enumerate available audio outputs detected by the implementation.

Enumerate available audio inputs detected by the implementation.

Open an audio device from a device specifier, or default if None.

Open a loopback device from a device specifier, or default if None. Requires ALC_SOFT_loopback.

Open a capture device from a device specifier, or default if None.