• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>osxaudiosink: GStreamer Good Plugins 1.0 Plugins Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Good Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9<link rel="prev" href="gst-plugins-good-plugins-osssrc.html" title="osssrc">
10<link rel="next" href="gst-plugins-good-plugins-osxaudiosrc.html" title="osxaudiosrc">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
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="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-plugins-good-plugins-osxaudiosink.description" class="shortcut">Description</a></span><span id="nav_properties">  <span class="dim">|</span19                  <a href="#gst-plugins-good-plugins-osxaudiosink.properties" class="shortcut">Properties</a></span>
20</td>
21<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23<td><a accesskey="p" href="gst-plugins-good-plugins-osssrc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24<td><a accesskey="n" href="gst-plugins-good-plugins-osxaudiosrc.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25</tr></table>
26<div class="refentry">
27<a name="gst-plugins-good-plugins-osxaudiosink"></a><div class="titlepage"></div>
28<div class="refnamediv"><table width="100%"><tr>
29<td valign="top">
30<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-osxaudiosink.top_of_page"></a>osxaudiosink</span></h2>
31<p>osxaudiosink</p>
32</td>
33<td class="gallery_image" valign="top" align="right"></td>
34</tr></table></div>
35<div class="refsect1">
36<a name="gst-plugins-good-plugins-osxaudiosink.properties"></a><h2>Properties</h2>
37<div class="informaltable"><table class="informaltable" border="0">
38<colgroup>
39<col width="150px" class="properties_type">
40<col width="300px" class="properties_name">
41<col width="200px" class="properties_flags">
42</colgroup>
43<tbody><tr>
44<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
45<td class="property_name"><a class="link" href="gst-plugins-good-plugins-osxaudiosink.html#GstOsxAudioSink--device" title="The “device” property">device</a></td>
46<td class="property_flags">Read / Write</td>
47</tr></tbody>
48</table></div>
49</div>
50<div class="refsect1">
51<a name="gst-plugins-good-plugins-osxaudiosink.other"></a><h2>Types and Values</h2>
52<div class="informaltable"><table class="informaltable" width="100%" border="0">
53<colgroup>
54<col width="150px" class="name">
55<col class="description">
56</colgroup>
57<tbody><tr>
58<td class="datatype_keyword">struct</td>
59<td class="function_name"><a class="link" href="gst-plugins-good-plugins-osxaudiosink.html#GstOsxAudioSink" title="struct GstOsxAudioSink">GstOsxAudioSink</a></td>
60</tr></tbody>
61</table></div>
62</div>
63<div class="refsect1">
64<a name="gst-plugins-good-plugins-osxaudiosink.description"></a><h2>Description</h2>
65<p>This element renders raw audio samples using the CoreAudio api.</p>
66<div class="refsect2">
67<a name="id-1.2.110.5.3"></a><h3>Example pipelines</h3>
68<div class="informalexample">
69  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
70    <tbody>
71      <tr>
72        <td class="listing_lines" align="right"><pre>1</pre></td>
73        <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> filesrc location<span class="gtkdoc opt">=</span>sine<span class="gtkdoc opt">.</span>ogg <span class="gtkdoc opt">!</span> oggdemux <span class="gtkdoc opt">!</span> vorbisdec <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> audioresample <span class="gtkdoc opt">!</span> osxaudiosink</pre></td>
74      </tr>
75    </tbody>
76  </table>
77</div>
78 Play an Ogg/Vorbis file.
79</div>
80<div class="refsynopsisdiv">
81<h2>Synopsis</h2>
82<div class="refsect2">
83<a name="id-1.2.110.5.4.1"></a><h3>Element Information</h3>
84<div class="variablelist"><table border="0" class="variablelist">
85<colgroup>
86<col align="left" valign="top">
87<col>
88</colgroup>
89<tbody>
90<tr>
91<td><p><span class="term">plugin</span></p></td>
92<td>
93            <a class="link" href="gst-plugins-good-plugins-plugin-osxaudio.html#plugin-osxaudio">osxaudio</a>
94          </td>
95</tr>
96<tr>
97<td><p><span class="term">author</span></p></td>
98<td>Zaheer Abbas Merali &lt;zaheerabbas at merali dot org&gt;</td>
99</tr>
100<tr>
101<td><p><span class="term">class</span></p></td>
102<td>Sink/Audio</td>
103</tr>
104</tbody>
105</table></div>
106</div>
107<hr>
108<div class="refsect2">
109<a name="id-1.2.110.5.4.2"></a><h3>Element Pads</h3>
110</div>
111</div>
112</div>
113<div class="refsect1">
114<a name="gst-plugins-good-plugins-osxaudiosink.functions_details"></a><h2>Functions</h2>
115<p></p>
116</div>
117<div class="refsect1">
118<a name="gst-plugins-good-plugins-osxaudiosink.other_details"></a><h2>Types and Values</h2>
119<div class="refsect2">
120<a name="GstOsxAudioSink"></a><h3>struct GstOsxAudioSink</h3>
121<pre class="programlisting">struct GstOsxAudioSink {
122  GstAudioBaseSink sink;
123
124  AudioDeviceID device_id;
125
126  AudioUnit audiounit;
127  double volume;
128
129  guint channels;
130};
131</pre>
132</div>
133</div>
134<div class="refsect1">
135<a name="gst-plugins-good-plugins-osxaudiosink.property-details"></a><h2>Property Details</h2>
136<div class="refsect2">
137<a name="GstOsxAudioSink--device"></a><h3>The <code class="literal">“device”</code> property</h3>
138<pre class="programlisting">  “device”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
139<p>Device ID of output device.</p>
140<p>Flags: Read / Write</p>
141<p>Allowed values: &gt;= 0</p>
142<p>Default value: 0</p>
143</div>
144</div>
145</div>
146<div class="footer">
147<hr>Generated by GTK-Doc V1.28</div>
148</body>
149</html>