sys/oss/gstossmixer.*: Refactored to be more like alsamixer.
authorAndy Wingo <wingo@pobox.com>
Tue, 23 Aug 2005 13:26:21 +0000 (13:26 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 23 Aug 2005 13:26:21 +0000 (13:26 +0000)
commitd1d21600f86907f1dbd1fe4204be443eeda6cafc
tree52725fea0103ecd999811dd30868043a768640d8
parentffaaa7528a2348853c1a89963646012f2edba310
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.
15 files changed:
sys/oss/Makefile.am
sys/oss/gstossaudio.c
sys/oss/gstossdmabuffer.h
sys/oss/gstosselement.c [deleted file]
sys/oss/gstosselement.h [deleted file]
sys/oss/gstosshelper.c
sys/oss/gstosshelper.h
sys/oss/gstossmixer.c
sys/oss/gstossmixer.h
sys/oss/gstossmixertrack.c [new file with mode: 0644]
sys/oss/gstossmixertrack.h [new file with mode: 0644]
sys/oss/gstosssink.c
sys/oss/gstosssink.h
sys/oss/gstosssrc.c
sys/oss/gstosssrc.h