From: Nirbheek Chauhan Date: Sat, 29 Jan 2022 22:26:14 +0000 (+0530) Subject: osxaudio: Document GstOsxAudioElement interface X-Git-Tag: 1.20.0~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc5cbc86d89d440168cd20857f3e094f16e22edc;p=platform%2Fupstream%2Fgstreamer.git osxaudio: Document GstOsxAudioElement interface 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: --- diff --git a/subprojects/gst-docs/symbols/symbol_index.json b/subprojects/gst-docs/symbols/symbol_index.json index 076e86cd41..f078efb0f0 100644 --- a/subprojects/gst-docs/symbols/symbol_index.json +++ b/subprojects/gst-docs/symbols/symbol_index.json @@ -12399,6 +12399,7 @@ "GstOssSrc!src", "GstOssSrc:device", "GstOssSrc:device-name", + "GstOsxAudioElement", "GstOsxAudioSink!sink", "GstOsxAudioSrc!src", "GstOSXVideoSink!sink", diff --git a/subprojects/gst-plugins-good/docs/gst_plugins_cache.json b/subprojects/gst-plugins-good/docs/gst_plugins_cache.json index 1afe15e9e9..e64ec9bd60 100644 --- a/subprojects/gst-plugins-good/docs/gst_plugins_cache.json +++ b/subprojects/gst-plugins-good/docs/gst_plugins_cache.json @@ -10854,7 +10854,15 @@ }, "filename": "gstosxaudio", "license": "LGPL", - "other-types": {}, + "other-types": { + "GstOsxAudioElement": { + "hierarchy": [ + "GstOsxAudioElement", + "GInterface" + ], + "kind": "interface" + } + }, "package": "GStreamer Good Plug-ins", "source": "gst-plugins-good", "tracers": {}, diff --git a/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudioelement.c b/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudioelement.c index bec24d1492..5fa94d5400 100644 --- a/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudioelement.c +++ b/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudioelement.c @@ -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 */