Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > f493f9a612b4ddc437422c0df71f6b6a > files > 362

lib64gstreamermm-devel-0.10.7-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gstreamermm: Gst::CddaBaseSrc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGst.html">Gst</a>::<a class="el" href="classGst_1_1CddaBaseSrc.html">CddaBaseSrc</a>
  </div>
</div>
<div class="contents">
<h1>Gst::CddaBaseSrc Class Reference<br/>
<small>
[<a class="el" href="group__GstBaseClasses.html">gstreamermm Base Classes</a>]</small>
</h1><!-- doxytag: class="Gst::CddaBaseSrc" --><!-- doxytag: inherits="Gst::PushSrc" -->
<p>A base class for CD digital audio (CDDA) sources. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGst_1_1PushSrc.html">Gst::PushSrc</a>.</p>
<div class="dynheader">
Collaboration diagram for Gst::CddaBaseSrc:</div>
<div class="dynsection">
<div class="center"><img src="classGst_1_1CddaBaseSrc__coll__graph.png" border="0" usemap="#Gst_1_1CddaBaseSrc_coll__map" alt="Collaboration graph"/></div>
<map name="Gst_1_1CddaBaseSrc_coll__map" id="Gst_1_1CddaBaseSrc_coll__map">
<area shape="rect" id="node2" href="classGst_1_1PushSrc.html" title="A base class for push based source elements." alt="" coords="21,486,120,517"/><area shape="rect" id="node4" href="classGst_1_1BaseSrc.html" title="A base class for getrange based source elements." alt="" coords="20,406,121,437"/><area shape="rect" id="node6" href="classGst_1_1Element.html" title="The abstract base class for all pipeline elements." alt="" coords="21,326,120,357"/><area shape="rect" id="node8" href="classGst_1_1Object.html" title="A base class for the GStreamer object hierarchy." alt="" coords="27,246,115,277"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="25,166,116,197"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="11,86,131,117"/><area shape="rect" id="node14" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="17,6,124,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGst_1_1CddaBaseSrc-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a04cd697cf9848ea69a9b3ba59930aa20">~CddaBaseSrc</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GstCddaBaseSrc*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a016b646a6b321552a1599d04bf25d97f">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a016b646a6b321552a1599d04bf25d97f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GstCddaBaseSrc*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a862f7594dae7e1a14355d42b3f726789">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a862f7594dae7e1a14355d42b3f726789"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GstCddaBaseSrc*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#ae77a14c12341b6c4161416601a648981">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#ae77a14c12341b6c4161416601a648981"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a912169844a9f4a00268229a9a7536922">add_track</a> (guint <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01162.html#ga6db6cc04519b1949c86ed3b2b60ef033">num</a>, guint <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01165.html#ga1bd4227a2c4a6cc74342b797384fbab2">start</a>, guint end, bool is_audio=true, const <a class="el" href="classGst_1_1TagList.html">Gst::TagList</a>&amp; tags=<a class="el" href="classGst_1_1TagList.html">Gst::TagList</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">CDDA sources use this function from their start vfunc to announce the available data and audio tracks to the base source class. <a href="#a912169844a9f4a00268229a9a7536922"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#af237c941e35d0cfac288cda3fc04aeea">property_device</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">CD device location. <a href="#af237c941e35d0cfac288cda3fc04aeea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#afb068127b3de54411ed7abbc426ec72d">property_device</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">CD device location. <a href="#afb068127b3de54411ed7abbc426ec72d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="el" href="group__gstreamermmEnums.html#ga29634afe986b9c03ad3659b2ea095228">CddaBaseSrcMode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a3f4e01ec9fbecd7ddd2d4c26fe8131bf">property_mode</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mode. <a href="#a3f4e01ec9fbecd7ddd2d4c26fe8131bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="group__gstreamermmEnums.html#ga29634afe986b9c03ad3659b2ea095228">CddaBaseSrcMode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#ad521a647baaa8cc988002981b90c8089">property_mode</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mode. <a href="#ad521a647baaa8cc988002981b90c8089"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; guint &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a9c16bb15a60e38f188d51901555dbd48">property_track</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Track. <a href="#a9c16bb15a60e38f188d51901555dbd48"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; guint &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#ab8b94e33d6962ab4d27892eb1c1a8570">property_track</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Track. <a href="#ab8b94e33d6962ab4d27892eb1c1a8570"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a9d23b7bff68a79fdb71e6ab6ec6082f8">open_vfunc</a> (<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; device)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual function to open a CD device. <a href="#a9d23b7bff68a79fdb71e6ab6ec6082f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#aa902f54e3fdbfa39eefa0ab4e6726e86">close_vfunc</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual function to close the device. <a href="#aa902f54e3fdbfa39eefa0ab4e6726e86"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a3ef312358bccef0a01e91cbe0b4936a8">read_sector_vfunc</a> (gint sector)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual function to read one sector (LBA). <a href="#a3ef312358bccef0a01e91cbe0b4936a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a16d60d2102a5a388cd5dc25e78b2bd21">get_default_device_vfunc</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual function to get default device. <a href="#a16d60d2102a5a388cd5dc25e78b2bd21"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a><br class="typebreak"/>
&lt; <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a385a987377c06106c29caa64ca538f1a">probe_devices_vfunc</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual function to return array of CD devices. <a href="#a385a987377c06106c29caa64ca538f1a"></a><br/></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1CddaBaseSrc.html">Gst::CddaBaseSrc</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1CddaBaseSrc.html#a437e879de2e3de06db0f1a5faef1258c">wrap</a> (GstCddaBaseSrc* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a437e879de2e3de06db0f1a5faef1258c"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A base class for CD digital audio (CDDA) sources. </p>
<p>Provides a base class for CDDA sources, which handles things like seeking, querying, discid calculation, tags, and buffer timestamping.</p>
<p><a class="el" href="classGst_1_1CddaBaseSrc.html" title="A base class for CD digital audio (CDDA) sources.">Gst::CddaBaseSrc</a> registers two Gst::Formats of its own, namely the "track" format and the "sector" format. Applications will usually only find the "track" format interesting. You can retrieve that <a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Gst::Format</a> for use in seek events or queries with <a class="el" href="namespaceGst.html#a4243efcbc4bf17b82d0ad5d76d265531" title="Returns the format registered with the given nick.">Gst::get_format</a>("track").</p>
<p>In order to query the number of tracks, for example, an application would set the CDDA source element to READY or PAUSED state and then query the the number of tracks via <a class="el" href="classGst_1_1Element.html#ad0205b1277495cbdebc5be966af33caa" title="Queries an element for the total stream duration.">Gst::Element::query_duration()</a> using the track format acquired above. Applications can query the currently playing track in the same way.</p>
<p>Alternatively, applications may retrieve the currently playing track and the total number of tracks from the taglist that will be posted on the bus whenever the CD is opened or the currently playing track changes. The taglist will contain <a class="el" href="namespaceGst.html#ad14290dfbf163092d7a5c64b1cd76aeea98faf15eb00b3b5ff4b50c09cd033edd" title="The track number inside a collection (unsigned integer).">Gst::TAG_TRACK_NUMBER</a> and <a class="el" href="namespaceGst.html#ad14290dfbf163092d7a5c64b1cd76aeea0784233458b4fc23a95e1fe919d872f6" title="The count of tracks inside collection this track belongs to (unsigned integer).">Gst::TAG_TRACK_COUNT</a> tags.</p>
<p>Applications playing back CD audio using playbin and cdda://n URIs should issue a seek command in track format to change between tracks, rather than setting a new cdda://n+1 URI on playbin (as setting a new URI on playbin involves closing and re-opening the CD device, which is much much slower).</p>
<p>CDDA sources will automatically emit a number of tags, details about which can be found in the libgsttag documentation. Those tags are: Gst::TAG_CDDA_CDDB_DISCID, Gst::TAG_CDDA_CDDB_DISCID_FULL, Gst::TAG_CDDA_MUSICBRAINZ_DISCID, Gst::TAG_CDDA_MUSICBRAINZ_DISCID_FULL, among others. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a04cd697cf9848ea69a9b3ba59930aa20"></a><!-- doxytag: member="Gst::CddaBaseSrc::~CddaBaseSrc" ref="a04cd697cf9848ea69a9b3ba59930aa20" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gst::CddaBaseSrc::~CddaBaseSrc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a912169844a9f4a00268229a9a7536922"></a><!-- doxytag: member="Gst::CddaBaseSrc::add_track" ref="a912169844a9f4a00268229a9a7536922" args="(guint num, guint start, guint end, bool is_audio=true, const Gst::TagList &amp;tags=Gst::TagList())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::CddaBaseSrc::add_track </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>is_audio</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGst_1_1TagList.html">Gst::TagList</a>&amp;&#160;</td>
          <td class="paramname"> <em>tags</em> = <code><a class="el" href="classGst_1_1TagList.html">Gst::TagList</a>()</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>CDDA sources use this function from their start vfunc to announce the available data and audio tracks to the base source class. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>num</em>&#160;</td><td>Track number in TOC (usually starts from 1, but not always). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>start</em>&#160;</td><td>The first sector of the track (LBA). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>end</em>&#160;</td><td>The last sector of the track (LBA). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>is_audio</em>&#160;</td><td>Whether this is an audio track. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tags</em>&#160;</td><td>Track-specific tags (e.g. from cd-text information). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false on error, otherwise true. </dd></dl>

</div>
</div>
<a class="anchor" id="aa902f54e3fdbfa39eefa0ab4e6726e86"></a><!-- doxytag: member="Gst::CddaBaseSrc::close_vfunc" ref="aa902f54e3fdbfa39eefa0ab4e6726e86" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gst::CddaBaseSrc::close_vfunc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtual function to close the device. </p>

</div>
</div>
<a class="anchor" id="a16d60d2102a5a388cd5dc25e78b2bd21"></a><!-- doxytag: member="Gst::CddaBaseSrc::get_default_device_vfunc" ref="a16d60d2102a5a388cd5dc25e78b2bd21" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gst::CddaBaseSrc::get_default_device_vfunc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtual function to get default device. </p>
<p>It is optional and may return an empty string. </p>

</div>
</div>
<a class="anchor" id="a862f7594dae7e1a14355d42b3f726789"></a><!-- doxytag: member="Gst::CddaBaseSrc::gobj" ref="a862f7594dae7e1a14355d42b3f726789" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GstCddaBaseSrc* Gst::CddaBaseSrc::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="el" href="classGst_1_1PushSrc.html#a0607baeaef9801440d2d509b10b79dee">Gst::PushSrc</a>.</p>

</div>
</div>
<a class="anchor" id="a016b646a6b321552a1599d04bf25d97f"></a><!-- doxytag: member="Gst::CddaBaseSrc::gobj" ref="a016b646a6b321552a1599d04bf25d97f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstCddaBaseSrc* Gst::CddaBaseSrc::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="el" href="classGst_1_1PushSrc.html#a2eae78656179eef671949290111fdf61">Gst::PushSrc</a>.</p>

</div>
</div>
<a class="anchor" id="ae77a14c12341b6c4161416601a648981"></a><!-- doxytag: member="Gst::CddaBaseSrc::gobj_copy" ref="ae77a14c12341b6c4161416601a648981" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstCddaBaseSrc* Gst::CddaBaseSrc::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

<p>Reimplemented from <a class="el" href="classGst_1_1PushSrc.html#aecda0cd25ebf684308473e299d210d64">Gst::PushSrc</a>.</p>

</div>
</div>
<a class="anchor" id="a9d23b7bff68a79fdb71e6ab6ec6082f8"></a><!-- doxytag: member="Gst::CddaBaseSrc::open_vfunc" ref="a9d23b7bff68a79fdb71e6ab6ec6082f8" args="(std::string &amp;device)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Gst::CddaBaseSrc::open_vfunc </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>device</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtual function to open a CD device. </p>

</div>
</div>
<a class="anchor" id="a385a987377c06106c29caa64ca538f1a"></a><!-- doxytag: member="Gst::CddaBaseSrc::probe_devices_vfunc" ref="a385a987377c06106c29caa64ca538f1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&gt; Gst::CddaBaseSrc::probe_devices_vfunc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtual function to return array of CD devices. </p>
<p>It is optional and may return an empty array. </p>

</div>
</div>
<a class="anchor" id="afb068127b3de54411ed7abbc426ec72d"></a><!-- doxytag: member="Gst::CddaBaseSrc::property_device" ref="afb068127b3de54411ed7abbc426ec72d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&gt; Gst::CddaBaseSrc::property_device </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>CD device location. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="af237c941e35d0cfac288cda3fc04aeea"></a><!-- doxytag: member="Gst::CddaBaseSrc::property_device" ref="af237c941e35d0cfac288cda3fc04aeea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01127.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&gt; Gst::CddaBaseSrc::property_device </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>CD device location. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad521a647baaa8cc988002981b90c8089"></a><!-- doxytag: member="Gst::CddaBaseSrc::property_mode" ref="ad521a647baaa8cc988002981b90c8089" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="group__gstreamermmEnums.html#ga29634afe986b9c03ad3659b2ea095228">CddaBaseSrcMode</a>&gt; Gst::CddaBaseSrc::property_mode </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mode. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3f4e01ec9fbecd7ddd2d4c26fe8131bf"></a><!-- doxytag: member="Gst::CddaBaseSrc::property_mode" ref="a3f4e01ec9fbecd7ddd2d4c26fe8131bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="group__gstreamermmEnums.html#ga29634afe986b9c03ad3659b2ea095228">CddaBaseSrcMode</a>&gt; Gst::CddaBaseSrc::property_mode </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mode. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ab8b94e33d6962ab4d27892eb1c1a8570"></a><!-- doxytag: member="Gst::CddaBaseSrc::property_track" ref="ab8b94e33d6962ab4d27892eb1c1a8570" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;guint&gt; Gst::CddaBaseSrc::property_track </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Track. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a9c16bb15a60e38f188d51901555dbd48"></a><!-- doxytag: member="Gst::CddaBaseSrc::property_track" ref="a9c16bb15a60e38f188d51901555dbd48" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;guint&gt; Gst::CddaBaseSrc::property_track </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Track. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3ef312358bccef0a01e91cbe0b4936a8"></a><!-- doxytag: member="Gst::CddaBaseSrc::read_sector_vfunc" ref="a3ef312358bccef0a01e91cbe0b4936a8" args="(gint sector)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::CddaBaseSrc::read_sector_vfunc </td>
          <td>(</td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"> <em>sector</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtual function to read one sector (LBA). </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a437e879de2e3de06db0f1a5faef1258c"></a><!-- doxytag: member="Gst::CddaBaseSrc::wrap" ref="a437e879de2e3de06db0f1a5faef1258c" args="(GstCddaBaseSrc *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1CddaBaseSrc.html">Gst::CddaBaseSrc</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GstCddaBaseSrc *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gstreamermm/cddabasesrc.h</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Apr 12 20:33:50 2010 for gstreamermm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>