summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-07-16 16:08:14 +0000
committerAndy Wingo <wingo@pobox.com>2003-07-16 16:08:14 +0000
commit6f06c87c1255c45d0fd020ff30a41b9a7e83a7d9 (patch)
treedecbc26bb22fa79998cee2d5fa15642c250397ae /sys/oss/gstossaudio.c
parent4418ea96599cdac151f62689269f88055b3d7edf (diff)
actually recurse into sndfile if we are able big ladspa cleanups, mainly to comply with the buffer-frames caps proper...
Original commit message from CVS: * actually recurse into sndfile if we are able * big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general cleanups - the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins) you need to use a filtered connection, just like with buffer-frames * big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit simpler * make the ossclock general, add it to gstaudio, and use it in sndfile as well i need to update mimetypes, but that's coming soon. there are some other plugins that don't support buffer-frames, i guess i need to get around to fixing them as well.
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index dbb13875..e1d54c3a 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -27,6 +27,9 @@ plugin_init (GModule *module, GstPlugin *plugin)
{
gboolean ret;
+ if (!gst_library_load ("gstaudio"))
+ return FALSE;
+
ret = gst_osssink_factory_init (plugin);
g_return_val_if_fail (ret == TRUE, FALSE);