mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
aiff: add aiff elements to docs
This commit is contained in:
parent
57cce4754c
commit
decd2acece
6 changed files with 71 additions and 9 deletions
|
@ -122,6 +122,8 @@ EXTRA_HFILES = \
|
||||||
$(top_srcdir)/ext/timidity/gstwildmidi.h \
|
$(top_srcdir)/ext/timidity/gstwildmidi.h \
|
||||||
$(top_srcdir)/ext/zbar/gstzbar.h \
|
$(top_srcdir)/ext/zbar/gstzbar.h \
|
||||||
$(top_srcdir)/gst/aacparse/gstaacparse.h \
|
$(top_srcdir)/gst/aacparse/gstaacparse.h \
|
||||||
|
$(top_srcdir)/gst/aiff/aiffparse.h \
|
||||||
|
$(top_srcdir)/gst/aiff/aiffmux.h \
|
||||||
$(top_srcdir)/gst/amrparse/gstamrparse.h \
|
$(top_srcdir)/gst/amrparse/gstamrparse.h \
|
||||||
$(top_srcdir)/gst/autoconvert/gstautoconvert.h \
|
$(top_srcdir)/gst/autoconvert/gstautoconvert.h \
|
||||||
$(top_srcdir)/gst/camerabin/gstcamerabin.h \
|
$(top_srcdir)/gst/camerabin/gstcamerabin.h \
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
<chapter>
|
<chapter>
|
||||||
<title>gst-plugins-bad Elements</title>
|
<title>gst-plugins-bad Elements</title>
|
||||||
<xi:include href="xml/element-aacparse.xml" />
|
<xi:include href="xml/element-aacparse.xml" />
|
||||||
|
<xi:include href="xml/element-aiffparse.xml" />
|
||||||
|
<xi:include href="xml/element-aiffmux.xml" />
|
||||||
<xi:include href="xml/element-amrparse.xml" />
|
<xi:include href="xml/element-amrparse.xml" />
|
||||||
<xi:include href="xml/element-amrwbenc.xml" />
|
<xi:include href="xml/element-amrwbenc.xml" />
|
||||||
<xi:include href="xml/element-autoconvert.xml" />
|
<xi:include href="xml/element-autoconvert.xml" />
|
||||||
|
@ -90,6 +92,7 @@
|
||||||
<chapter>
|
<chapter>
|
||||||
<title>gst-plugins-bad Plugins</title>
|
<title>gst-plugins-bad Plugins</title>
|
||||||
<xi:include href="xml/plugin-aacparse.xml" />
|
<xi:include href="xml/plugin-aacparse.xml" />
|
||||||
|
<xi:include href="xml/plugin-aiff.xml" />
|
||||||
<xi:include href="xml/plugin-amrparse.xml" />
|
<xi:include href="xml/plugin-amrparse.xml" />
|
||||||
<xi:include href="xml/plugin-autoconvert.xml" />
|
<xi:include href="xml/plugin-autoconvert.xml" />
|
||||||
<xi:include href="xml/plugin-legacyresample.xml" />
|
<xi:include href="xml/plugin-legacyresample.xml" />
|
||||||
|
|
|
@ -12,6 +12,35 @@ GST_TYPE_AACPARSE
|
||||||
gst_aacparse_get_type
|
gst_aacparse_get_type
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>element-aiffmux</FILE>
|
||||||
|
<TITLE>aiffmux</TITLE>
|
||||||
|
GstAiffMux
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
GST_AIFF_MUX
|
||||||
|
GST_AIFF_MUX_CLASS
|
||||||
|
GST_IS_AIFF_MUX
|
||||||
|
GST_IS_AIFF_MUX_CLASS
|
||||||
|
GST_TYPE_AIFF_MUX
|
||||||
|
GstAiffMuxClass
|
||||||
|
gst_aiff_mux_get_type
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>element-aiffparse</FILE>
|
||||||
|
<TITLE>aiffparse</TITLE>
|
||||||
|
GstAiffParse
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
GST_AIFF_PARSE
|
||||||
|
GST_AIFF_PARSE_CLASS
|
||||||
|
GST_IS_AIFF_PARSE
|
||||||
|
GST_IS_AIFF_PARSE_CLASS
|
||||||
|
GST_TYPE_AIFF_PARSE
|
||||||
|
GstAiffParseClass
|
||||||
|
GstAiffParseState
|
||||||
|
gst_aiff_parse_get_type
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>element-amrparse</FILE>
|
<FILE>element-amrparse</FILE>
|
||||||
<TITLE>amrparse</TITLE>
|
<TITLE>amrparse</TITLE>
|
||||||
|
|
|
@ -1,14 +1,35 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<name>aiff</name>
|
<name>aiff</name>
|
||||||
<description>Parse an .aiff file into raw audio</description>
|
<description>Create and parse Audio Interchange File Format (AIFF) files</description>
|
||||||
<filename>../../gst/aiffparse/.libs/libgstaiff.so</filename>
|
<filename>../../gst/aiff/.libs/libgstaiff.so</filename>
|
||||||
<basename>libgstaiff.so</basename>
|
<basename>libgstaiff.so</basename>
|
||||||
<version>0.10.16</version>
|
<version>0.10.16.1</version>
|
||||||
<license>LGPL</license>
|
<license>LGPL</license>
|
||||||
<source>gst-plugins-bad</source>
|
<source>gst-plugins-bad</source>
|
||||||
<package>GStreamer Bad Plug-ins prerelease</package>
|
<package>GStreamer Bad Plug-ins prerelease</package>
|
||||||
<origin>Unknown package origin</origin>
|
<origin>Unknown package origin</origin>
|
||||||
<elements>
|
<elements>
|
||||||
|
<element>
|
||||||
|
<name>aiffmux</name>
|
||||||
|
<longname>AIFF audio muxer</longname>
|
||||||
|
<class>Muxer/Audio</class>
|
||||||
|
<description>Multiplex raw audio into AIFF</description>
|
||||||
|
<author>Robert Swain <robert.swain@gmail.com></author>
|
||||||
|
<pads>
|
||||||
|
<caps>
|
||||||
|
<name>sink</name>
|
||||||
|
<direction>sink</direction>
|
||||||
|
<presence>always</presence>
|
||||||
|
<details>audio/x-raw-int, width=(int)8, depth=(int)[ 1, 8 ], signed=(boolean)true, endianness=(int)4321, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]; audio/x-raw-int, width=(int)16, depth=(int)[ 9, 16 ], signed=(boolean)true, endianness=(int)4321, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]; audio/x-raw-int, width=(int)24, depth=(int)[ 17, 24 ], signed=(boolean)true, endianness=(int)4321, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]; audio/x-raw-int, width=(int)32, depth=(int)[ 25, 32 ], signed=(boolean)true, endianness=(int)4321, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]</details>
|
||||||
|
</caps>
|
||||||
|
<caps>
|
||||||
|
<name>src</name>
|
||||||
|
<direction>source</direction>
|
||||||
|
<presence>always</presence>
|
||||||
|
<details>audio/x-aiff</details>
|
||||||
|
</caps>
|
||||||
|
</pads>
|
||||||
|
</element>
|
||||||
<element>
|
<element>
|
||||||
<name>aiffparse</name>
|
<name>aiffparse</name>
|
||||||
<longname>AIFF audio demuxer</longname>
|
<longname>AIFF audio demuxer</longname>
|
||||||
|
@ -31,4 +52,4 @@
|
||||||
</pads>
|
</pads>
|
||||||
</element>
|
</element>
|
||||||
</elements>
|
</elements>
|
||||||
</plugin>
|
</plugin>
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/* GStreamer AIFF muxer
|
||||||
* GStreamer
|
|
||||||
* Copyright (C) 2009 Robert Swain <robert.swain@gmail.com>
|
* Copyright (C) 2009 Robert Swain <robert.swain@gmail.com>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
@ -47,7 +46,7 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
/* #defines don't like whitespacey bits */
|
|
||||||
#define GST_TYPE_AIFF_MUX \
|
#define GST_TYPE_AIFF_MUX \
|
||||||
(gst_aiff_mux_get_type())
|
(gst_aiff_mux_get_type())
|
||||||
#define GST_AIFF_MUX(obj) \
|
#define GST_AIFF_MUX(obj) \
|
||||||
|
@ -58,13 +57,20 @@ G_BEGIN_DECLS
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AIFF_MUX))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AIFF_MUX))
|
||||||
#define GST_IS_AIFF_MUX_CLASS(klass) \
|
#define GST_IS_AIFF_MUX_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AIFF_MUX))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AIFF_MUX))
|
||||||
|
|
||||||
typedef struct _GstAiffMux GstAiffMux;
|
typedef struct _GstAiffMux GstAiffMux;
|
||||||
typedef struct _GstAiffMuxClass GstAiffMuxClass;
|
typedef struct _GstAiffMuxClass GstAiffMuxClass;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstAiffMux:
|
||||||
|
*
|
||||||
|
* Opaque data structure.
|
||||||
|
*/
|
||||||
struct _GstAiffMux
|
struct _GstAiffMux
|
||||||
{
|
{
|
||||||
GstElement element;
|
GstElement element;
|
||||||
|
|
||||||
|
/*< private >*/
|
||||||
GstPad *sinkpad;
|
GstPad *sinkpad;
|
||||||
GstPad *srcpad;
|
GstPad *srcpad;
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,9 @@ typedef struct _GstAiffParseClass GstAiffParseClass;
|
||||||
struct _GstAiffParse {
|
struct _GstAiffParse {
|
||||||
GstElement parent;
|
GstElement parent;
|
||||||
|
|
||||||
/* pads */
|
/*< private >*/
|
||||||
GstPad *sinkpad,*srcpad;
|
GstPad *sinkpad;
|
||||||
|
GstPad *srcpad;
|
||||||
|
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstEvent *close_segment;
|
GstEvent *close_segment;
|
||||||
|
|
Loading…
Reference in a new issue