libsaria: Make audio variables static
Everything is in a single file... Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
9122568d8a
commit
e16b70fd81
|
@ -5,8 +5,7 @@
|
|||
#include <sstream>
|
||||
using namespace std;
|
||||
|
||||
GstElement *player = NULL;
|
||||
GstBus *bus = NULL;
|
||||
static GstElement *player = NULL;
|
||||
static GstState cur_state = GST_STATE_READY;
|
||||
|
||||
static void notify_state_change(GstState state)
|
||||
|
@ -183,6 +182,7 @@ namespace libsaria
|
|||
|
||||
void audio::init(int argc, char **argv)
|
||||
{
|
||||
static GstBus *bus;
|
||||
println("Initializing libsaria audio");
|
||||
gst_init(&argc, &argv);
|
||||
|
||||
|
|
Loading…
Reference in New Issue