| Spice-GTK Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#include <spice-audio.h> struct SpiceAudio; struct SpiceAudioClass; SpiceAudio * spice_audio_new (SpiceSession *session,GMainContext *context,const char *name);
A class that handles the playback and record channels for your application, and connect them to the default sound system.
SpiceAudio * spice_audio_new (SpiceSession *session,GMainContext *context,const char *name);
Once instantiated, SpiceAudio will handle the playback and record channels to stream to your local audio system.
|
the SpiceSession to connect to |
|
a GMainContext to attach to (or NULL for default). |
|
a name for the audio channels (or NULL for default). |
Returns : |
a new SpiceAudio instance or NULL if no backend or failed. |