Struct ao::Driver [] [src]

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

An output driver.

This is an opaque handle.

Methods

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

Get the DriverInfo corresponding to this Driver.

Open a live output device.

Returns NotLive if the specified driver is not a live output driver. In this case, open the device as a file output instead.

Open a file output device.

path specifies the file to write to, and overwrite will automatically replace any existing file if true.

Returns NotFile if the requested driver is not a file output driver.