diff options
Diffstat (limited to 'src/conversation/gnunet_gst_test.c')
-rw-r--r-- | src/conversation/gnunet_gst_test.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/conversation/gnunet_gst_test.c b/src/conversation/gnunet_gst_test.c index 884b0fe83..98054797c 100644 --- a/src/conversation/gnunet_gst_test.c +++ b/src/conversation/gnunet_gst_test.c | |||
@@ -34,7 +34,6 @@ main (int argc, char *argv[]) | |||
34 | GstElement *gnunetsrc, *gnunetsink, *source, *sink, *encoder, *decoder; | 34 | GstElement *gnunetsrc, *gnunetsink, *source, *sink, *encoder, *decoder; |
35 | 35 | ||
36 | 36 | ||
37 | |||
38 | // audio_message = GNUNET_malloc (UINT16_MAX); | 37 | // audio_message = GNUNET_malloc (UINT16_MAX); |
39 | // audio_message->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_AUDIO); | 38 | // audio_message->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_AUDIO); |
40 | 39 | ||
@@ -51,9 +50,7 @@ main (int argc, char *argv[]) | |||
51 | gst->audiobackend = JACK; | 50 | gst->audiobackend = JACK; |
52 | gst->dropsilence = TRUE; | 51 | gst->dropsilence = TRUE; |
53 | gst->usertp = FALSE; | 52 | gst->usertp = FALSE; |
54 | */ | 53 | *//* Initialize GStreamer */gst_init (&argc, &argv); |
55 | /* Initialize GStreamer */ | ||
56 | gst_init (&argc, &argv); | ||
57 | 54 | ||
58 | gst->pipeline = GST_PIPELINE (gst_pipeline_new ("gnunet-media-helper")); | 55 | gst->pipeline = GST_PIPELINE (gst_pipeline_new ("gnunet-media-helper")); |
59 | 56 | ||
@@ -118,8 +115,7 @@ main (int argc, char *argv[]) | |||
118 | GstFlowReturn flow; | 115 | GstFlowReturn flow; |
119 | flow = on_appsink_new_sample (gst->appsink, gst); | 116 | flow = on_appsink_new_sample (gst->appsink, gst); |
120 | } | 117 | } |
121 | */ | 118 | */} |
122 | } | ||
123 | if (type == SPEAKER) | 119 | if (type == SPEAKER) |
124 | { | 120 | { |
125 | while (1) | 121 | while (1) |