Fix some compiler warnings.

Original commit message from CVS:
* ext/wavpack/gstwavpackstreamreader.c:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Fix some compiler warnings.
This commit is contained in:
Jan Schmidt 2008-05-16 17:50:20 +00:00
parent 1c32c1b133
commit e9370329dd
5 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2008-05-16 Jan Schmidt <jan.schmidt@sun.com>
* ext/wavpack/gstwavpackstreamreader.c:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Fix some compiler warnings.
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process):

2
common

@ -1 +1 @@
Subproject commit 0823ac6b46b7332109bbc5f1ef40e24e648fae51
Subproject commit 3b3631082d04b426f450810e8836de94e9c5d60a

View file

@ -43,7 +43,7 @@ gst_wavpack_stream_reader_read_bytes (void *id, void *data, int32_t bcount)
rid->position += to_read;
return to_read;
} else {
GST_WARNING ("Couldn't read %d bytes");
GST_WARNING ("Couldn't read %d bytes", bcount);
return 0;
}
}

View file

@ -28,7 +28,9 @@
#include <gst/gst.h>
#include <gtk/gtk.h>
#ifndef DEFAULT_AUDIOSINK
#define DEFAULT_AUDIOSINK "autoaudiosink"
#endif
static GtkWidget *drawingarea = NULL;
static guint spect_height = 64;

View file

@ -27,7 +27,10 @@
#include <gst/gst.h>
#include <gtk/gtk.h>
#ifndef DEFAULT_AUDIOSRC
#define DEFAULT_AUDIOSRC "alsasrc"
#endif
static guint spect_height = 64;
static guint spect_bands = 256;
static gfloat height_scale = 1.0;