summaryrefslogtreecommitdiffstats
path: root/ext/audiofile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/audiofile')
-rw-r--r--ext/audiofile/gstafparse.h14
-rw-r--r--ext/audiofile/gstafsink.c2
-rw-r--r--ext/audiofile/gstafsink.h16
-rw-r--r--ext/audiofile/gstafsrc.c2
-rw-r--r--ext/audiofile/gstafsrc.h14
5 files changed, 24 insertions, 24 deletions
diff --git a/ext/audiofile/gstafparse.h b/ext/audiofile/gstafparse.h
index 43f64f4f..08539f1e 100644
--- a/ext/audiofile/gstafparse.h
+++ b/ext/audiofile/gstafparse.h
@@ -27,7 +27,7 @@
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
-#include <audiofile.h> /* what else are we to do */
+#include <audiofile.h> /* what else are we to do */
#include <af_vfs.h>
@@ -56,7 +56,7 @@ typedef struct _GstAFParseClass GstAFParseClass;
typedef enum {
GST_AFPARSE_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
- GST_AFPARSE_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
+ GST_AFPARSE_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstAFParseFlags;
struct _GstAFParse {
@@ -71,9 +71,9 @@ struct _GstAFParse {
int width;
unsigned int rate;
gboolean is_signed;
- int type; /* type of output, compare to audiofile.h
- * RAW, AIFF, AIFFC, NEXTSND, WAVE
- */
+ int type; /* type of output, compare to audiofile.h
+ * RAW, AIFF, AIFFC, NEXTSND, WAVE
+ */
/* blocking */
gulong curoffset;
gulong bytes_per_read;
@@ -82,7 +82,7 @@ struct _GstAFParse {
gulong seq;
gint64 timestamp;
/* FIXME : endianness is a little cryptic at this point */
- int endianness_data; /* 4321 or 1234 */
+ int endianness_data; /* 4321 or 1234 */
int endianness_wanted; /* same thing, but what the output format wants */
int endianness_output; /* what the output endianness will be */
};
@@ -94,7 +94,7 @@ struct _GstAFParseClass {
void (*handoff) (GstElement *element,GstPad *pad);
};
-gboolean gst_afparse_plugin_init (GstPlugin *plugin);
+gboolean gst_afparse_plugin_init (GstPlugin *plugin);
#ifdef __cplusplus
}
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index b513a198..ace3c388 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -399,7 +399,7 @@ gst_afsink_chain (GstPad * pad, GstData * _data)
if (bytes_written < GST_BUFFER_SIZE (buf))
{
printf ("afsink : Warning : %d bytes should be written, only %d bytes written\n",
- GST_BUFFER_SIZE (buf), bytes_written);
+ GST_BUFFER_SIZE (buf), bytes_written);
}
}
*/
diff --git a/ext/audiofile/gstafsink.h b/ext/audiofile/gstafsink.h
index 9b0d0e4e..6e5379a9 100644
--- a/ext/audiofile/gstafsink.h
+++ b/ext/audiofile/gstafsink.h
@@ -26,7 +26,7 @@
#include <gst/gst.h>
-#include <audiofile.h> /* what else are we to do */
+#include <audiofile.h> /* what else are we to do */
#ifdef __cplusplus
@@ -54,7 +54,7 @@ typedef struct _GstAFSinkClass GstAFSinkClass;
typedef enum {
GST_AFSINK_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
- GST_AFSINK_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
+ GST_AFSINK_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstAFSinkFlags;
struct _GstAFSink {
@@ -71,11 +71,11 @@ struct _GstAFSink {
int width;
unsigned int rate;
gboolean is_signed;
- int type; /* type of output, compare to audiofile.h
- * RAW, AIFF, AIFFC, NEXTSND, WAVE
- */
+ int type; /* type of output, compare to audiofile.h
+ * RAW, AIFF, AIFFC, NEXTSND, WAVE
+ */
/* FIXME : endianness is a little cryptic at this point */
- int endianness_data; /* 4321 or 1234 */
+ int endianness_data; /* 4321 or 1234 */
int endianness_wanted; /* same thing, but what the output format wants */
int endianness_output; /* what the output endianness will be */
};
@@ -87,8 +87,8 @@ struct _GstAFSinkClass {
void (*handoff) (GstElement *element,GstPad *pad);
};
-GType gst_afsink_get_type (void);
-gboolean gst_afsink_plugin_init (GstPlugin *plugin);
+GType gst_afsink_get_type (void);
+gboolean gst_afsink_plugin_init (GstPlugin *plugin);
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index b17a8770..e864cf8f 100644
--- a/ext/audiofile/gstafsrc.c
+++ b/ext/audiofile/gstafsrc.c
@@ -364,7 +364,7 @@ gst_afsrc_close_file (GstAFSrc * src)
/* g_print ("DEBUG: closing srcfile...\n"); */
g_return_if_fail (GST_OBJECT_FLAG_IS_SET (src, GST_AFSRC_OPEN));
/* g_print ("DEBUG: past flag test\n"); */
-/* if (fclose (src->file) != 0) */
+/* if (fclose (src->file) != 0) */
if (afCloseFile (src->file) != 0) {
GST_ELEMENT_ERROR (src, RESOURCE, CLOSE,
(_("Error closing file \"%s\"."), src->filename), GST_ERROR_SYSTEM);
diff --git a/ext/audiofile/gstafsrc.h b/ext/audiofile/gstafsrc.h
index b5dcfba3..ae55bb8d 100644
--- a/ext/audiofile/gstafsrc.h
+++ b/ext/audiofile/gstafsrc.h
@@ -26,7 +26,7 @@
#include <gst/gst.h>
-#include <audiofile.h> /* what else are we to do */
+#include <audiofile.h> /* what else are we to do */
#ifdef __cplusplus
@@ -54,7 +54,7 @@ typedef struct _GstAFSrcClass GstAFSrcClass;
typedef enum {
GST_AFSRC_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
- GST_AFSRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
+ GST_AFSRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstAFSrcFlags;
struct _GstAFSrc {
@@ -71,9 +71,9 @@ struct _GstAFSrc {
int width;
unsigned int rate;
gboolean is_signed;
- int type; /* type of output, compare to audiofile.h
- * RAW, AIFF, AIFFC, NEXTSND, WAVE
- */
+ int type; /* type of output, compare to audiofile.h
+ * RAW, AIFF, AIFFC, NEXTSND, WAVE
+ */
/* blocking */
gulong curoffset;
gulong bytes_per_read;
@@ -81,7 +81,7 @@ struct _GstAFSrc {
gulong seq;
guint64 framestamp;
/* FIXME : endianness is a little cryptic at this point */
- int endianness_data; /* 4321 or 1234 */
+ int endianness_data; /* 4321 or 1234 */
int endianness_wanted; /* same thing, but what the output format wants */
int endianness_output; /* what the output endianness will be */
};
@@ -93,7 +93,7 @@ struct _GstAFSrcClass {
void (*handoff) (GstElement *element,GstPad *pad);
};
-GType gst_afsrc_get_type (void);
+GType gst_afsrc_get_type (void);
gboolean gst_afsrc_plugin_init (GstPlugin *plugin);