diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-10-01 14:17:46 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2010-11-23 17:10:25 +0100 |
commit | e1029c3e50cd2a3bea33d958898d758e2792003a (patch) | |
tree | eaed461f3eb48cc7d5524c0fda7497f8bd0a522f /gtk/spice-audio.c | |
parent | 8a09745b8c73a1bc292ebe56b0f1baba5afda5a8 (diff) |
add audio init wrapper, move pulse bits into gtk lib.
Diffstat (limited to 'gtk/spice-audio.c')
-rw-r--r-- | gtk/spice-audio.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/spice-audio.c b/gtk/spice-audio.c new file mode 100644 index 0000000..a818199 --- /dev/null +++ b/gtk/spice-audio.c @@ -0,0 +1,18 @@ +/* + * simple audio init dispatcher + */ + +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-audio.h" +#include "spice-pulse.h" + +GObject *spice_audio_new(SpiceSession *session, GMainLoop *mainloop, + const char *name) +{ + GObject *audio = NULL; + + audio = G_OBJECT(spice_pulse_new(session, mainloop, name)); + return audio; +} |