Struct openal::Listener [] [src]

pub struct Listener<'a> { /* fields omitted */ }

Represents the listener.

Only one Listener may be open at a time.

In OpenAL parlance a Listener contains both an OpenAL device and an OpenAL context, and that context is made current on creation. This is because there are some inconsistencies between implementations that make having multiple devices or contexts impossible.

Methods

impl<'a> Listener<'a>
[src]

Process the Listener. See OpenAL documentation for alcProcessContext.

Suspend the Listener. See OpenAL documentation for alcSuspendContext.

Create a new Source.

Create a new Buffer and fill it.

Get the vendor name.

Get the OpenAL specification version and the context specific version.

Get the name of the renderer.

Get a list of extensions supported.

Get the doppler factor and velocity.

Set the doppler factor and velocity.

Get the speed of sound.

Set the speed of sound.

Get the listener gain.

Set the listener gain.

Get the listener position.

Set the listener position.

Get the listener velocity.

Set the listener velocity.

Get the listener orientation.

Set the listener orientation.

Trait Implementations

impl<'a> Send for Listener<'a>
[src]

impl<'a> Device for Listener<'a>
[src]

Return a *const pointer for the device.

Return a *mut pointer for the device.

impl<'a> Context for Listener<'a>
[src]

Return a *const pointer for the context.

Return a *mut pointer for the context.

impl<'a> Debug for Listener<'a>
[src]

Formats the value using the given formatter.

impl<'a> Drop for Listener<'a>
[src]

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