Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / docs / plugins / html / gst-plugins-good-plugins-directsoundsink.html
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>directsoundsink</title>
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-dicetv.html" title="dicetv">
10 <link rel="next" href="gst-plugins-good-plugins-dv1394src.html" title="dv1394src">
11 <meta name="generator" content="GTK-Doc V1.18 (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="2">
16 <tr valign="middle">
17 <td><a accesskey="p" href="gst-plugins-good-plugins-dicetv.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-dv1394src.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-directsoundsink.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gst-plugins-good-plugins-directsoundsink.description" class="shortcut">Description</a>
27 </td></tr>
28 </table>
29 <div class="refentry">
30 <a name="gst-plugins-good-plugins-directsoundsink"></a><div class="titlepage"></div>
31 <div class="refnamediv"><table width="100%"><tr>
32 <td valign="top">
33 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-directsoundsink.top_of_page"></a>directsoundsink</span></h2>
34 <p>directsoundsink — DirectSound audio sink</p>
35 </td>
36 <td valign="top" align="right"></td>
37 </tr></table></div>
38 <div class="refsynopsisdiv">
39 <a name="gst-plugins-good-plugins-directsoundsink.synopsis"></a><h2>Synopsis</h2>
40 <pre class="synopsis">struct              <a class="link" href="gst-plugins-good-plugins-directsoundsink.html#GstDirectSoundSink" title="struct GstDirectSoundSink">GstDirectSoundSink</a>;
41 </pre>
42 </div>
43 <div class="refsect1">
44 <a name="gst-plugins-good-plugins-directsoundsink.description"></a><h2>Description</h2>
45 <div class="refsynopsisdiv">
46 <h2>Synopsis</h2>
47 <div class="refsect2">
48 <a name="idp10637984"></a><h3>Element Information</h3>
49 <div class="variablelist"><table border="0">
50 <col align="left" valign="top">
51 <tbody>
52 <tr>
53 <td><p><span class="term">plugin</span></p></td>
54 <td>
55             <a class="link" href="gst-plugins-good-plugins-plugin-directsound.html#plugin-directsound">directsound</a>
56           </td>
57 </tr>
58 <tr>
59 <td><p><span class="term">author</span></p></td>
60 <td>Sebastien Moutte &lt;sebastien@moutte.net&gt;</td>
61 </tr>
62 <tr>
63 <td><p><span class="term">class</span></p></td>
64 <td>Sink/Audio</td>
65 </tr>
66 </tbody>
67 </table></div>
68 </div>
69 <hr>
70 <div class="refsect2">
71 <a name="idp12395200"></a><h3>Element Pads</h3>
72 </div>
73 </div>
74 <p>
75 </p>
76 </div>
77 <div class="refsect1">
78 <a name="gst-plugins-good-plugins-directsoundsink.details"></a><h2>Details</h2>
79 <div class="refsect2">
80 <a name="GstDirectSoundSink"></a><h3>struct GstDirectSoundSink</h3>
81 <pre class="programlisting">struct GstDirectSoundSink {
82   GstAudioSink sink;
83
84   /* directsound object interface pointer */
85   LPDIRECTSOUND pDS;
86
87   /* directsound sound object interface pointer */
88   LPDIRECTSOUNDBUFFER pDSBSecondary;
89
90   /* directSound buffer size */
91   guint buffer_size;
92
93   /* offset of the circular buffer where we must write next */
94   guint current_circular_offset;
95
96   guint bytes_per_sample;
97
98   /* current volume setup by mixer interface */
99   glong volume;
100
101   /* tracks list of our mixer interface implementation */
102   GList *tracks;
103
104   GstCaps *cached_caps;
105
106   /* lock used to protect writes and resets */
107   GMutex *dsound_lock;
108
109   gboolean first_buffer_after_reset;
110
111   GstBufferFormat buffer_format;
112 };
113 </pre>
114 <p>
115 </p>
116 </div>
117 </div>
118 </div>
119 <div class="footer">
120 <hr>
121           Generated by GTK-Doc V1.18</div>
122 </body>
123 </html>