osxaudio: Document GstOsxAudioElement interface
authorNirbheek Chauhan <nirbheek@centricular.com>
Sat, 29 Jan 2022 22:26:14 +0000 (03:56 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Sat, 29 Jan 2022 22:28:42 +0000 (03:58 +0530)
This is listed as a public interface implemented by osxaudio, so we
need to mark it as a plugin API so that it's listed in the
documentation correctly.

This is an ancient symbol, so add it to the symbol index too.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1601>

subprojects/gst-docs/symbols/symbol_index.json
subprojects/gst-plugins-good/docs/gst_plugins_cache.json
subprojects/gst-plugins-good/sys/osxaudio/gstosxaudioelement.c

index 076e86cd413f287cb9d0974643cba2c63941f6ad..f078efb0f075530b335814394cf64fef0f471b0b 100644 (file)
   "GstOssSrc!src",
   "GstOssSrc:device",
   "GstOssSrc:device-name",
+  "GstOsxAudioElement",
   "GstOsxAudioSink!sink",
   "GstOsxAudioSrc!src",
   "GstOSXVideoSink!sink",
index 1afe15e9e91efdd09264410d777a1b3b75b5c58d..e64ec9bd60298903e0dd1babc4228ff61896d56a 100644 (file)
         },
         "filename": "gstosxaudio",
         "license": "LGPL",
-        "other-types": {},
+        "other-types": {
+            "GstOsxAudioElement": {
+                "hierarchy": [
+                    "GstOsxAudioElement",
+                    "GInterface"
+                ],
+                "kind": "interface"
+            }
+        },
         "package": "GStreamer Good Plug-ins",
         "source": "gst-plugins-good",
         "tracers": {},
index bec24d14926b674fd015d293310c32fe15c14184..5fa94d5400ff92da8d1c30be8a3bddb69b114730 100644 (file)
@@ -85,6 +85,7 @@ gst_osx_audio_element_interface_init (GstOsxAudioElementInterface * iface)
 
   if (!initialized) {
     initialized = TRUE;
+    gst_type_mark_as_plugin_api (GST_OSX_AUDIO_ELEMENT_TYPE, 0);
   }
 
   /* default virtual functions */