1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Good Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9 <link rel="prev" href="gst-plugins-good-plugins-oss4sink.html" title="oss4sink">
10 <link rel="next" href="gst-plugins-good-plugins-ossmixer.html" title="ossmixer">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gst-plugins-good-plugins-oss4sink.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Good Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-good-plugins-ossmixer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-oss4src.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-good-plugins-oss4src.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-good-plugins-oss4src.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-good-plugins-oss4src.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32 <a href="#gst-plugins-good-plugins-oss4src.properties" class="shortcut">Properties</a>
35 <div class="refentry">
36 <a name="gst-plugins-good-plugins-oss4src"></a><div class="titlepage"></div>
37 <div class="refnamediv"><table width="100%"><tr>
39 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-oss4src.top_of_page"></a>oss4src</span></h2>
40 <p>oss4src — Capture from a sound card via OSS version 4</p>
42 <td valign="top" align="right"></td>
44 <div class="refsynopsisdiv">
45 <a name="gst-plugins-good-plugins-oss4src.synopsis"></a><h2>Synopsis</h2>
46 <a name="GstOss4Source"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-good-plugins-oss4src.html#GstOss4Source-struct" title="struct GstOss4Source">GstOss4Source</a>;
49 <div class="refsect1">
50 <a name="gst-plugins-good-plugins-oss4src.object-hierarchy"></a><h2>Object Hierarchy</h2>
51 <pre class="synopsis">
52 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
53 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
54 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
55 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSrc.html">GstBaseSrc</a>
56 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstPushSrc.html">GstPushSrc</a>
57 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstbaseaudiosrc.html#GstBaseAudioSrc">GstBaseAudioSrc</a>
58 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstaudiosrc.html#GstAudioSrc">GstAudioSrc</a>
62 <div class="refsect1">
63 <a name="gst-plugins-good-plugins-oss4src.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
65 GstOss4Source implements
66 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstImplementsInterface.html">GstImplementsInterface</a>, <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstmixer.html#GstMixer">GstMixer</a> and <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstpropertyprobe.html#GstPropertyProbe">GstPropertyProbe</a>.</p>
68 <div class="refsect1">
69 <a name="gst-plugins-good-plugins-oss4src.properties"></a><h2>Properties</h2>
70 <pre class="synopsis">
71 "<a class="link" href="gst-plugins-good-plugins-oss4src.html#GstOss4Source--device" title='The "device" property'>device</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
72 "<a class="link" href="gst-plugins-good-plugins-oss4src.html#GstOss4Source--device-name" title='The "device-name" property'>device-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
75 <div class="refsect1">
76 <a name="gst-plugins-good-plugins-oss4src.description"></a><h2>Description</h2>
77 <div class="refsynopsisdiv">
79 <div class="refsect2">
80 <a name="idp16299136"></a><h3>Element Information</h3>
81 <div class="variablelist"><table border="0">
82 <col align="left" valign="top">
85 <td><p><span class="term">plugin</span></p></td>
87 <a class="link" href="gst-plugins-good-plugins-plugin-oss4.html#plugin-oss4">oss4</a>
91 <td><p><span class="term">author</span></p></td>
92 <td>Tim-Philipp Müller <tim centricular net></td>
95 <td><p><span class="term">class</span></p></td>
102 <div class="refsect2">
103 <a name="idp11332064"></a><h3>Element Pads</h3>
104 <div class="variablelist"><table border="0">
105 <col align="left" valign="top">
108 <td><p><span class="term">name</span></p></td>
112 <td><p><span class="term">direction</span></p></td>
116 <td><p><span class="term">presence</span></p></td>
120 <td><p><span class="term">details</span></p></td>
121 <td>audio/x-alaw, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
124 <td><p><span class="term"></span></p></td>
125 <td> audio/x-mulaw, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
128 <td><p><span class="term"></span></p></td>
129 <td> audio/x-raw-int, width=(int)32, depth=(int)32, signed=(boolean)true, endianness=(int)1234, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
132 <td><p><span class="term"></span></p></td>
133 <td> audio/x-raw-int, width=(int)32, depth=(int){ 32, 24 }, signed=(boolean)true, endianness=(int)4321, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
136 <td><p><span class="term"></span></p></td>
137 <td> audio/x-raw-int, width=(int){ 32, 24 }, depth=(int)24, signed=(boolean)true, endianness=(int)1234, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
140 <td><p><span class="term"></span></p></td>
141 <td> audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean){ false, true }, endianness=(int){ 1234, 4321 }, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
144 <td><p><span class="term"></span></p></td>
145 <td> audio/x-raw-int, width=(int)8, depth=(int)8, signed=(boolean){ true, false }, rate=(int)[ 1, 192000 ], channels=(int)[ 1, 4096 ]</td>
154 <div class="refsect1">
155 <a name="gst-plugins-good-plugins-oss4src.details"></a><h2>Details</h2>
156 <div class="refsect2">
157 <a name="GstOss4Source-struct"></a><h3>struct GstOss4Source</h3>
158 <pre class="programlisting">struct GstOss4Source;</pre>
163 <div class="refsect1">
164 <a name="gst-plugins-good-plugins-oss4src.property-details"></a><h2>Property Details</h2>
165 <div class="refsect2">
166 <a name="GstOss4Source--device"></a><h3>The <code class="literal">"device"</code> property</h3>
167 <pre class="programlisting"> "device" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
168 <p>OSS4 device (e.g. /dev/oss/hdaudio0/pcm0 or /dev/dspN) (NULL = use first available device).</p>
169 <p>Default value: NULL</p>
172 <div class="refsect2">
173 <a name="GstOss4Source--device-name"></a><h3>The <code class="literal">"device-name"</code> property</h3>
174 <pre class="programlisting"> "device-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
175 <p>Human-readable name of the sound device.</p>
176 <p>Default value: NULL</p>
182 Generated by GTK-Doc V1.18</div>