1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
7
<link rel="start" 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-osssink.html" title="osssink">
10
<link rel="next" href="gst-plugins-good-plugins-rtspsrc.html" title="rtspsrc">
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="gst-plugins-good Elements">
14
<link rel="chapter" href="ch02.html" title="gst-plugins-good Plugins">
16
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
19
<td><a accesskey="p" href="gst-plugins-good-plugins-osssink.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
20
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
22
<th width="100%" align="center">GStreamer Good Plugins 0.10 Plugins Reference Manual</th>
23
<td><a accesskey="n" href="gst-plugins-good-plugins-rtspsrc.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
25
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id294188" class="shortcut">Top</a>
27
<a href="#id320277" class="shortcut">Description</a>
29
<a href="#id331288" class="shortcut">Object Hierarchy</a>
31
<a href="#id320208" class="shortcut">Implemented Interfaces</a>
33
<a href="#id320235" class="shortcut">Properties</a></nobr></td></tr>
35
<div class="refentry" lang="en">
36
<a name="gst-plugins-good-plugins-osssrc"></a><div class="titlepage"></div>
37
<div class="refnamediv"><table width="100%"><tr>
40
<a name="id294188"></a><span class="refentrytitle">osssrc</span>
42
<p>osssrc — record sound from your sound card using OSS</p>
44
<td valign="top" align="right"></td>
46
<div class="refsynopsisdiv">
48
<a name="GstOssSrc"></a><pre class="synopsis">
52
<a href="gst-plugins-good-plugins-osssrc.html#GstOssSrc-struct">GstOssSrc</a>;
56
<div class="refsect1" lang="en">
57
<a name="id331288"></a><h2>Object Hierarchy</h2>
58
<pre class="synopsis">
66
href="../gst-plugins-base-libs/gst-plugins-base-libs-gstbaseaudiosrc.html#GstBaseAudioSrc"
69
href="../gst-plugins-base-libs/gst-plugins-base-libs-gstaudiosrc.html#GstAudioSrc"
74
<div class="refsect1" lang="en">
75
<a name="id320208"></a><h2>Implemented Interfaces</h2>
78
GstImplementsInterface and <a
79
href="../gst-plugins-base-libs/gst-plugins-base-libs-gstmixer.html#GstMixer"
82
<div class="refsect1" lang="en">
83
<a name="id320235"></a><h2>Properties</h2>
84
<pre class="synopsis">
86
"<a href="gst-plugins-good-plugins-osssrc.html#GstOssSrc--device">device</a>" gchararray : Read / Write
87
"<a href="gst-plugins-good-plugins-osssrc.html#GstOssSrc--device-name">device-name</a>" gchararray : Read
90
<div class="refsect1" lang="en">
91
<a name="id320277"></a><h2>Description</h2>
94
<div class="refsect2" lang="en">
95
<a name="id331783"></a><p>
96
This element lets you record sound using the Open Sound System (OSS).
98
<h3>Example pipelines</h3>
101
<pre class="programlisting">
102
gst-launch -v osssrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=mymusic.ogg
105
will record sound from your sound card using OSS and encode it to an
106
Ogg/Vorbis file (this will only work if your mixer settings are right
107
and the right inputs enabled etc.)
110
<div class="refsect2" lang="en">
111
<a name="id331807"></a><h3>Element Information</h3>
112
<div class="variablelist">
113
<span class="term">plugin</span>
114
<a href="gst-plugins-good-plugins-plugin-ossaudio.html#plugin-ossaudio">ossaudio</a>
116
<a href="gst-plugins-good-plugins-plugin-ossaudio.html#plugin-ossaudio">ossaudio</a>
117
<a href="gst-plugins-good-plugins-plugin-ossaudio.html#plugin-ossaudio">ossaudio</a><span class="term">author</span>Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com><span class="term">class</span>Source/AudioSource/Audio<table border="0">
118
<col align="left" valign="top">
122
<span class="term">plugin</span></td>
124
<a href="gst-plugins-good-plugins-plugin-ossaudio.html#plugin-ossaudio">ossaudio</a>
129
<span class="term">author</span></td>
130
<td>Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com></td>
134
<span class="term">class</span></td>
135
<td>Source/Audio</td>
145
<div class="refsect1" lang="en">
146
<a name="id331874"></a><h2>Details</h2>
147
<div class="refsect2" lang="en">
148
<a name="id331885"></a><h3>
149
<a name="GstOssSrc-struct"></a>GstOssSrc</h3>
150
<a class="indexterm" name="id331897"></a><pre class="programlisting">typedef struct _GstOssSrc GstOssSrc;</pre>
156
<div class="refsect1" lang="en">
157
<a name="id322136"></a><h2>Property Details</h2>
158
<div class="refsect2" lang="en">
159
<a name="id322147"></a><h3>
160
<a name="GstOssSrc--device"></a>The "<code class="literal">device</code>" property</h3>
161
<a class="indexterm" name="id322161"></a><pre class="programlisting"> "device" gchararray : Read / Write</pre>
162
<p>OSS device (usually /dev/dspN).</p>
163
<p>Default value: "/dev/dsp"</p>
166
<div class="refsect2" lang="en">
167
<a name="id322186"></a><h3>
168
<a name="GstOssSrc--device-name"></a>The "<code class="literal">device-name</code>" property</h3>
169
<a class="indexterm" name="id322200"></a><pre class="programlisting"> "device-name" gchararray : Read</pre>
170
<p>Human-readable name of the sound device.</p>
171
<p>Default value: ""</p>