Displaying 7 results from an estimated 7 matches for "giochannel".
Did you mean:
qiochannel
2006 Jun 12
1
Ruuid had non-zero exit status (PR#8965)
...lude/glib-2.0/glib/ghook.h:32: error: parse error before
"G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/ghook.h:36: error: syntax error before
"typedef"
In file included from /usr/local/include/glib-2.0/glib/gmain.h:23,
from /usr/local/include/glib-2.0/glib/giochannel.h:31,
from /usr/local/include/glib-2.0/glib.h:45,
from uuidP.h:33,
from Ruuid.h:5,
from Rinit.c:1:
/usr/local/include/glib-2.0/glib/gslist.h:32: error: parse error before
"G_BEGIN_DECLS"
/usr/local/include/glib-2.0/g...
2007 Jul 16
0
configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_playback_oss.c
...int fragsize; /* Audio fragment size */
+ GSource * source; /* source for writing data */
+ guint offset; /* offset into sound */
+} Stream;
+
+/* Size of one of our audio samples, in bytes */
+#define SAMPLESIZE 2
+#define CHANNELS 2
+
+/*** STREAMS ***/
+
+static gboolean
+handle_stream (GIOChannel *source, GIOCondition cond, gpointer data)
+{
+ Stream *stream = data;
+ char *frag = malloc(stream->fragsize);
+
+ if (frag == NULL) {
+ g_printerr ("Failed to allocate fragment of size %d\n",
+ stream->fragsize);
+ return FALSE;
+ }
+
+ while (TRUE) {
+ int ret;
+...
2007 Jan 29
0
3 commits - autogen.sh configure.ac player/.gitignore player/Makefile.am player/swfdec_playback_alsa.c player/swfdec_playback.c player/swfdec_playback_none.c
...t; stream->n_sources; i++) {
- if (stream->sources[i]) {
- g_source_destroy (stream->sources[i]);
- g_source_unref (stream->sources[i]);
- stream->sources[i] = NULL;
- }
- }
-}
-
-static void swfdec_stream_start (Stream *stream);
-static gboolean
-handle_stream (GIOChannel *source, GIOCondition cond, gpointer data)
-{
- Stream *stream = data;
- snd_pcm_state_t state;
-
- state = snd_pcm_state (stream->pcm);
- if (state != SND_PCM_STATE_RUNNING) {
- swfdec_stream_start (stream);
- } else {
- try_write (stream);
- }
- return TRUE;
-}
-
-static void
-swf...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...t; stream->n_sources; i++) {
- if (stream->sources[i]) {
- g_source_destroy (stream->sources[i]);
- g_source_unref (stream->sources[i]);
- stream->sources[i] = NULL;
- }
- }
-}
-
-static void swfdec_stream_start (Stream *stream);
-static gboolean
-handle_stream (GIOChannel *source, GIOCondition cond, gpointer data)
-{
- Stream *stream = data;
- snd_pcm_state_t state;
-
- state = snd_pcm_state (stream->pcm);
- if (state != SND_PCM_STATE_RUNNING) {
- swfdec_stream_start (stream);
- } else {
- try_write (stream);
- }
- return TRUE;
-}
-
-static void
-swf...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...].step / 8, 0, avail * 4);
+ swfdec_audio_render (stream->audio, (gint16 *) ((guint8 *) dst[0].addr + offset * dst[0].step / 8),
stream->offset, avail);
//g_print ("rendering %u %u\n", stream->offset, (guint) avail);
return avail;
@@ -150,6 +150,8 @@ handle_stream (GIOChannel *source, GIOCo
static void
swfdec_stream_install_handlers (Stream *stream)
{
+ GIOChannel *channel;
+
if (stream->n_sources > 0) {
struct pollfd polls[stream->n_sources];
guint i, count;
@@ -159,7 +161,7 @@ swfdec_stream_install_handlers (Stream *
for (i = 0; i < c...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...t; stream->n_sources; i++) {
+ if (stream->sources[i]) {
+ g_source_destroy (stream->sources[i]);
+ g_source_unref (stream->sources[i]);
+ stream->sources[i] = NULL;
+ }
+ }
+}
+
+static void swfdec_stream_start (Stream *stream);
+static gboolean
+handle_stream (GIOChannel *source, GIOCondition cond, gpointer data)
+{
+ Stream *stream = data;
+ snd_pcm_state_t state;
+
+ state = snd_pcm_state (stream->pcm);
+ if (state != SND_PCM_STATE_RUNNING) {
+ swfdec_stream_start (stream);
+ } else {
+ try_write (stream);
+ }
+ return TRUE;
+}
+
+static void
+swf...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...eam)
+swfdec_playback_stream_remove_handlers (Stream *stream)
{
guint i;
@@ -131,7 +131,7 @@ swfdec_stream_remove_handlers (Stream *stream)
}
}
-static void swfdec_stream_start (Stream *stream);
+static void swfdec_playback_stream_start (Stream *stream);
static gboolean
handle_stream (GIOChannel *source, GIOCondition cond, gpointer data)
{
@@ -140,7 +140,7 @@ handle_stream (GIOChannel *source, GIOCondition cond, gpointer data)
state = snd_pcm_state (stream->pcm);
if (state != SND_PCM_STATE_RUNNING) {
- swfdec_stream_start (stream);
+ swfdec_playback_stream_start (stream);...