set_driver


Description:

public bool set_driver (string driver) throws Error

Sets the libcanberra driver to driver, for example "pulse", "alsa" or "null".

You normally do not need to set this yourself.

Note that this function may return true even if the specified driver is not available: see the libcanberra documentation for details.

Parameters:

this

A Context

driver

libcanberra driver to use

Returns:

true if the libcanberra driver was set successfully