openbsd-ports/devel/gstreamer-plugins/patches/patch-sys_oss_gstosselement_c
marcm 026110581f 0.8.6 -> 0.8.8. Seemingly minor update, but major port rewrite to
handle plugins a little better.  (re)Added speex support too.
2005-05-24 21:33:33 +00:00

22 lines
771 B
Plaintext

$OpenBSD: patch-sys_oss_gstosselement_c,v 1.2 2005/05/24 21:33:33 marcm Exp $
--- sys/oss/gstosselement.c.orig Tue Feb 22 07:23:05 2005
+++ sys/oss/gstosselement.c Mon Apr 11 15:06:16 2005
@@ -263,7 +263,7 @@ gst_osselement_class_probe_devices (GstO
if (!init && !check) {
#define MIXER 0
#define DSP 1
- gchar *dev_base[][2] = { {"/dev/mixer", "/dev/dsp"}
+ gchar *dev_base[][2] = { {"/dev/mixer", "/dev/sound"}
,
{"/dev/sound/mixer", "/dev/sound/dsp"}
,
@@ -424,7 +424,7 @@ gst_ossprobe_interface_init (GstProperty
static void
gst_osselement_init (GstOssElement * oss)
{
- oss->device = g_strdup ("/dev/dsp");
+ oss->device = g_strdup ("/dev/sound");
oss->mixer_dev = g_strdup ("/dev/mixer");
oss->fd = -1;
oss->mixer_fd = -1;