FS#9825 - gstreamer0.10-good libgstossaudio.so OSS4 Support Patch

Attached to Project: Arch Linux
Opened by Anonymous Submitter - Thursday, 13 March 2008, 02:22 GMT
Last edited by Jan de Groot (JGC) - Thursday, 10 April 2008, 21:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The volume control in GNOME does not work when OSS4 is installed. This patch fixes it.

HOMEPAGE: http://4front-tech.com/forum/viewtopic.php?t=2357&highlight=

OSS4 has been opensourced and it's a lot better than ALSA.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 10 April 2008, 21:18 GMT
Reason for closing:  Won't implement
Comment by Jan de Groot (JGC) - Friday, 14 March 2008, 17:43 GMT
I won't implement this patch, check the first part of the patch:

+#if 0
#ifdef HAVE_OSS_INCLUDE_IN_SYS
# include <sys/soundcard.h>
#else
@@ -44,6 +47,9 @@
# endif /* HAVE_OSS_INCLUDE_IN_MACHINE */
# endif /* HAVE_OSS_INCLUDE_IN_ROOT */
#endif /* HAVE_OSS_INCLUDE_IN_SYS */
+#else
+#include "/usr/lib/oss/include/sys/soundcard.h"
+#endif

It disables the standard kernel OSS system includes and exchanges it to a hardcoded path which happens to be a library dir with include files in it. If you want OSSv4 support, you can apply the patch yourself, but I won't.
Comment by Anonymous Submitter - Friday, 14 March 2008, 18:10 GMT
I respect your decision. It's a stop-gap measure until gstreamer officially supports it. Thinking about it, it make sense not support this patch in it's current form.

Don't close the bug. I'll give an update if he addresses your concern.
Comment by Anonymous Submitter - Saturday, 15 March 2008, 21:14 GMT
Developer quote: "As for your first point I agree it is dirty but until oss4 is accepted into the kernel and with it <sys> I see no alternative but to refer to oss4's soundcard.h by name as the soundcard.h included within the original oss is not oss4 aware so would not be suitable for compiling libgstossaudio.
If you have a better solution I would be pleased to read it."
Comment by Roman Kyrylych (Romashka) - Saturday, 15 March 2008, 21:35 GMT
my estimation: OSS will be completely removed from kernel by 2.6.30,
OSSv4 won't be included ever.
Comment by Jan de Groot (JGC) - Thursday, 10 April 2008, 21:17 GMT
OSSv4 support will get included in the next official release of gst-plugins-bade, We'll package it whenever that version comes out.

Loading...