From 3ecf433432289b9c1990165f65bdd51aaad2eaa7 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Dec 2005 19:44:58 +0000 Subject: expand tabs Original commit message from CVS: expand tabs --- sys/oss/gstosssrc.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'sys/oss/gstosssrc.c') 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 , " "Wim Taymans "); -#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 -- cgit