Context
Object Hierarchy:
Description:
[
CCode ( type_id =
"gsound_context_get_type ()" ) ]
public class Context :
Object,
Initable
ca: the wrapped context Wrapper for ca_context.
Content:
Creation methods:
Methods:
- public bool cache (...) throws Error
Requests that a sound be cached on the server.
- public bool cachev (HashTable<string,string> attrs) throws Error
Requests that a sound be cached on the server.
- public bool open () throws Error
Attempts to open a connection to the backend sound driver.
- public async bool play_full (Cancellable? cancellable, ...) throws Error
Asynchronously request a sound to be played.
- public async bool play_fullv (HashTable<string,string> attrs, Cancellable? cancellable) throws Error
Asynchronously request a sound to be played.
- public bool play_simple (Cancellable? cancellable = null, ...) throws Error
The basic "fire-and-forget" play command.
- public bool play_simplev (HashTable<string,string> attrs, Cancellable? cancellable = null) throws Error
The basic "fire-and-forget" play command.
- public bool set_attributes (...) throws Error
Set attributes or change attributes on this
.
- public bool set_attributesv (HashTable<string,string> attrs) throws Error
Set attributes or change attributes on this
.
- public bool set_driver (string driver) throws Error
Sets the libcanberra driver to driver, for example
"pulse", "alsa" or "null".
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Initable