diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-12-06 19:44:58 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-12-06 19:44:58 +0000 |
commit | 3ecf433432289b9c1990165f65bdd51aaad2eaa7 (patch) | |
tree | dc7bd5c5b4eb37d49b1a37ca1f33c9d9ed2a8374 /sys/oss/gstosssink.c | |
parent | f2085bd7ef2a4e685b8a58ae0848c43aab0d8747 (diff) |
expand tabs
Original commit message from CVS:
expand tabs
Diffstat (limited to 'sys/oss/gstosssink.c')
-rw-r--r-- | sys/oss/gstosssink.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index b0d4a987..206de4c0 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -72,7 +72,7 @@ enum LAST_SIGNAL }; -#define DEFAULT_DEVICE "/dev/dsp" +#define DEFAULT_DEVICE "/dev/dsp" enum { PROP_0, @@ -275,28 +275,28 @@ ilog2 (gint x) return (x & 0x0000003f) - 1; } -#define SET_PARAM(_oss, _name, _val, _detail) \ -G_STMT_START { \ - int _tmp = _val; \ - if (ioctl(_oss->fd, _name, &_tmp) == -1) { \ +#define SET_PARAM(_oss, _name, _val, _detail) \ +G_STMT_START { \ + int _tmp = _val; \ + if (ioctl(_oss->fd, _name, &_tmp) == -1) { \ GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_WRITE, \ ("Unable to set param " _detail ": %s", \ g_strerror (errno)), \ (NULL)); \ - return FALSE; \ - } \ - GST_DEBUG(_detail " %d", _tmp); \ + return FALSE; \ + } \ + GST_DEBUG(_detail " %d", _tmp); \ } G_STMT_END -#define GET_PARAM(_oss, _name, _val, _detail) \ -G_STMT_START { \ - if (ioctl(oss->fd, _name, _val) == -1) { \ +#define GET_PARAM(_oss, _name, _val, _detail) \ +G_STMT_START { \ + if (ioctl(oss->fd, _name, _val) == -1) { \ GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_WRITE, \ ("Unable to get param " _detail ": %s", \ g_strerror (errno)), \ (NULL)); \ - return FALSE; \ - } \ + return FALSE; \ + } \ } G_STMT_END static gint |