summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossmixer.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-08-23 13:53:17 +0000
committerAndy Wingo <wingo@pobox.com>2005-08-23 13:53:17 +0000
commitb976e88c29914b3d35b3e02612b22741998934d8 (patch)
tree8fc8e4e1241cfaf3631be3f9b5cc7fdbf787b633 /sys/oss/gstossmixer.c
parent007a0868a3d0e174a518fadbfd613bd233c8ae71 (diff)
sys/oss/gstossmixerelement.*: Added mixer element like alsamixer.
Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstossmixerelement.h: * sys/oss/gstossmixerelement.c: Added mixer element like alsamixer. * sys/oss/Makefile.am: * sys/oss/gstossaudio.c: Register the ossmixer element.
Diffstat (limited to 'sys/oss/gstossmixer.c')
-rw-r--r--sys/oss/gstossmixer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/oss/gstossmixer.c b/sys/oss/gstossmixer.c
index 1e972568..e199414d 100644
--- a/sys/oss/gstossmixer.c
+++ b/sys/oss/gstossmixer.c
@@ -143,6 +143,7 @@ gst_ossmixer_new (const char *device, GstOssMixerDirection dir)
ret->device = g_strdup (device);
ret->dir = dir;
+ ret->mixer_fd = -1;
if (!gst_ossmixer_open (ret))
goto error;