summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssrc.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
commit3ecf433432289b9c1990165f65bdd51aaad2eaa7 (patch)
treedc7bd5c5b4eb37d49b1a37ca1f33c9d9ed2a8374 /sys/oss/gstosssrc.c
parentf2085bd7ef2a4e685b8a58ae0848c43aab0d8747 (diff)
expand tabs
Original commit message from CVS: expand tabs
Diffstat (limited to 'sys/oss/gstosssrc.c')
-rw-r--r--sys/oss/gstosssrc.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c
index 37f26938..b0db3279 100644
--- a/sys/oss/gstosssrc.c
+++ b/sys/oss/gstosssrc.c
@@ -41,8 +41,8 @@ GST_ELEMENT_DETAILS ("Audio Source (OSS)",
"Capture from a sound card via OSS",
"Erik Walthinsen <omega@cse.ogi.edu>, " "Wim Taymans <wim@fluendo.com>");
-#define DEFAULT_DEVICE "/dev/dsp"
-#define DEFAULT_DEVICE_NAME ""
+#define DEFAULT_DEVICE "/dev/dsp"
+#define DEFAULT_DEVICE_NAME ""
enum
{
@@ -234,29 +234,29 @@ ilog2 (gint x)
return (x & 0x0000003f) - 1;
}
-#define SET_PARAM(_oss, _name, _val) \
-G_STMT_START { \
- int _tmp = _val; \
- if (ioctl(_oss->fd, _name, &_tmp) == -1) { \
+#define SET_PARAM(_oss, _name, _val) \
+G_STMT_START { \
+ int _tmp = _val; \
+ if (ioctl(_oss->fd, _name, &_tmp) == -1) { \
GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_READ, \
- ("Unable to set param "G_STRINGIFY (_name)": %s", \
- g_strerror (errno)), \
- (NULL)); \
- return FALSE; \
- } \
- GST_DEBUG_OBJECT (_oss, G_STRINGIFY (_name)" %d", _tmp); \
+ ("Unable to set param "G_STRINGIFY (_name)": %s", \
+ g_strerror (errno)), \
+ (NULL)); \
+ return FALSE; \
+ } \
+ GST_DEBUG_OBJECT (_oss, G_STRINGIFY (_name)" %d", _tmp); \
} G_STMT_END
-#define GET_PARAM(_oss, _name, _val) \
-G_STMT_START { \
- if (ioctl(oss->fd, _name, _val) == -1) { \
+#define GET_PARAM(_oss, _name, _val) \
+G_STMT_START { \
+ if (ioctl(oss->fd, _name, _val) == -1) { \
GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_READ, \
- ("Unable to get param "G_STRINGIFY (_name)": %s", \
- g_strerror (errno)), \
- (NULL)); \
- return FALSE; \
- } \
- GST_DEBUG_OBJECT (_oss, G_STRINGIFY (_name)" %d", _val); \
+ ("Unable to get param "G_STRINGIFY (_name)": %s", \
+ g_strerror (errno)), \
+ (NULL)); \
+ return FALSE; \
+ } \
+ GST_DEBUG_OBJECT (_oss, G_STRINGIFY (_name)" %d", _val); \
} G_STMT_END
static gint