Commit graph

19 commits

Author SHA1 Message Date
Tim-Philipp Müller
d5b344ba74 oss: simplify probed caps before returning them
Exposes all formats in the first structure if the
rest is the same for all of them.
2014-06-13 09:52:03 +01:00
Tim-Philipp Müller
ffcb884551 oss: make sure 16-bit formats are before 8-bit formats in probed caps
Probe supported formats in order of desirability rather than in
what order they may happen to be in the formats bitmask. Fixes
accidentally exposure of 8-bit formats in caps before 16-bit formats
(in case where U16 was not supported S8 might be listed before S16).

https://bugzilla.gnome.org/show_bug.cgi?id=706884
2014-06-13 09:49:38 +01:00
Justin Joy
c6d0f122c9 osshelper: Don't leak fd when getting card name
https://bugzilla.gnome.org/show_bug.cgi?id=722163
2014-01-14 11:28:31 +01:00
Tim-Philipp Müller
230cf41cc9 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Mark Nauwelaerts
c4c3736e1a oss: port to 0.11 2012-04-20 18:18:54 +02:00
Wim Taymans
77ad0a1363 port more elements to new audio caps and API 2011-08-19 14:01:45 +02:00
Stefan Kost
b62d781516 oss: add fixme comment 2010-04-04 22:29:13 +03:00
Tim-Philipp Müller
0525a5d213 sys/oss/: More logging when probing (see #518474), some comments in _reset().
Original commit message from CVS:
* sys/oss/gstosshelper.c: (gst_oss_helper_rate_check_rate):
* sys/oss/gstosssink.c: (gst_oss_sink_reset):
* sys/oss/gstosssrc.c: (gst_oss_src_reset):
More logging when probing (see #518474), some comments in _reset().
2008-04-08 19:49:34 +00:00
Jan Schmidt
fed0fc44d4 sys/oss/gstosshelper.c: Verify that the format returned after the ioctl is the one we requested. It is valid for the ...
Original commit message from CVS:
* sys/oss/gstosshelper.c:
Verify that the format returned after the ioctl is the one
we requested. It is valid for the ioctl to succeed while
substituting an alternate 'supported' sample format.
2007-12-08 16:47:33 +00:00
Stefan Kost
dedf80a378 sys/oss/gstosshelper.c: Use GST_WARNING instead of a g_critical. This situation is not caused by the application.
Original commit message from CVS:
* sys/oss/gstosshelper.c:
Use GST_WARNING instead of a g_critical. This situation is not caused
by the application.
2007-09-23 18:57:14 +00:00
Tim-Philipp Müller
fc270aab79 configure.ac: Update comment in OSS includes check.
Original commit message from CVS:
* configure.ac:
Update comment in OSS includes check.
* sys/oss/gstossdmabuffer.c:
* sys/oss/gstosshelper.c:
* sys/oss/gstossmixer.c:
* sys/oss/gstossmixertrack.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
* sys/oss/oss_probe.c:
Don't assume the OSS soundcard.h include is always in
the sys/ directory. Instead, use the existing defines
from config.h to include the right file. Fixes
compilation on OpenBSD 3.8 (#323718).
2005-12-10 14:57:48 +00:00
Tim-Philipp Müller
6b9cda6ee9 sys/oss/: Actually use the 'oss' debug category we register.
Original commit message from CVS:
* sys/oss/gstossaudio.c:
* sys/oss/gstossdmabuffer.c:
* sys/oss/gstosshelper.c:
* sys/oss/gstossmixer.c:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstossmixertrack.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
Actually use the 'oss' debug category we register.
2005-10-26 11:12:34 +00:00
Andy Wingo
d1d21600f8 sys/oss/gstossmixer.*: Refactored to be more like alsamixer.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstossmixer.h:
* sys/oss/gstossmixer.c: Refactored to be more like alsamixer.

* sys/oss/gstossmixertrack.h:
* sys/oss/gstossmixertrack.c: Split out from gstossmixer.[ch],
like gstalsamixer.

* sys/oss/gstosssrc.c:
* sys/oss/gstosssink.c: Where before we used a gstosselement
object as a helper library, now just call functions from
gstosshelper.

* sys/oss/gstosshelper.h:
* sys/oss/gstosshelper.c: Made a real library. Removed
propertyprobe for now, should add it back later.

* sys/oss/gstosselement.h:
* sys/oss/gstosselement.c: Removed, we don't have a shared base
class.

* sys/oss/gstosshelper.c (gst_oss_helper_probe_caps): Search
higher-to-lower, makes 16 bit appear earlier in the caps, which
makes it preferred.
2005-08-23 13:26:21 +00:00
Andy Wingo
81dae26a23 add missing filez
Original commit message from CVS:
add missing filez
2005-07-08 13:19:16 +00:00
Ronald S. Bultje
c7177d2392 it's broken and it failed to load during the last few months. If anyone wants to revive it, have fun finding it back ...
Original commit message from CVS:
Remove ossgst... It's a crude hack (beyond ugly), it's broken and it failed to load during the last few months. If anyone wants to revive it, have fun finding it back in the CVS history
2003-12-14 22:48:18 +00:00
Andy Wingo
7a81331d6d don't compile the oss helper by default
Original commit message from CVS:
don't compile the oss helper by default
2002-05-20 22:44:14 +00:00
Andy Wingo
7758f308f3 get rid of evil gstosshelper (intended for use with LD_PRELOAD)
Original commit message from CVS:
get rid of evil gstosshelper (intended for use with LD_PRELOAD)
2002-05-20 22:21:35 +00:00
Andy Wingo
d6258153e0 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:05 +00:00
Thomas Vander Stichele
f0bb7eef82 first batch
Original commit message from CVS:
first batch
2001-12-17 19:03:13 +00:00