View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#76
It's missing an osso_initialize (), hence the crashes after 2 mins.

Do something like:
#include <config.h>
#include <libosso.h>

osso_context_t *osso_ctx = osso_initialize (PACKAGE, VERSION, FALSE, NULL);
g_assert (osso_ctx != NULL);

*after the program has ran*

osso_deinitialize (osso_ctx);
 

The Following 4 Users Say Thank You to qwerty12 For This Useful Post: