shaka-packager/docs/db/d1f/classshaka_1_1media_1_1Text...

122 lines
7.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Shaka Packager SDK: shaka::media::TextSample Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>media</b></li><li class="navelem"><a class="el" href="../../db/d1f/classshaka_1_1media_1_1TextSample.html">TextSample</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d8/d4f/classshaka_1_1media_1_1TextSample-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::TextSample Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abfb85519480a090e9337c62983994ff0"><td class="memItemLeft" align="right" valign="top"><a id="abfb85519480a090e9337c62983994ff0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TextSample</b> (const std::string &amp;id, int64_t start_time, int64_t end_time, const <a class="el" href="../../dd/d5e/structshaka_1_1media_1_1TextSettings.html">TextSettings</a> &amp;settings, const <a class="el" href="../../d3/d54/structshaka_1_1media_1_1TextFragment.html">TextFragment</a> &amp;body)</td></tr>
<tr class="separator:abfb85519480a090e9337c62983994ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4be2c2cf2b9271b32b2bc1ea4c42faae"><td class="memItemLeft" align="right" valign="top"><a id="a4be2c2cf2b9271b32b2bc1ea4c42faae"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>id</b> () const</td></tr>
<tr class="separator:a4be2c2cf2b9271b32b2bc1ea4c42faae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac04b78ccbbb07cd4a38063c64e16c5be"><td class="memItemLeft" align="right" valign="top"><a id="ac04b78ccbbb07cd4a38063c64e16c5be"></a>
int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>start_time</b> () const</td></tr>
<tr class="separator:ac04b78ccbbb07cd4a38063c64e16c5be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74d7fd42ddde64f5c0a11771a3f2cd82"><td class="memItemLeft" align="right" valign="top"><a id="a74d7fd42ddde64f5c0a11771a3f2cd82"></a>
int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>duration</b> () const</td></tr>
<tr class="separator:a74d7fd42ddde64f5c0a11771a3f2cd82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a503d68a90afa59994ed2a5cdeb9c0ba8"><td class="memItemLeft" align="right" valign="top"><a id="a503d68a90afa59994ed2a5cdeb9c0ba8"></a>
const <a class="el" href="../../dd/d5e/structshaka_1_1media_1_1TextSettings.html">TextSettings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>settings</b> () const</td></tr>
<tr class="separator:a503d68a90afa59994ed2a5cdeb9c0ba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1280401f38ab5077b566be38cfd208f1"><td class="memItemLeft" align="right" valign="top"><a id="a1280401f38ab5077b566be38cfd208f1"></a>
const <a class="el" href="../../d3/d54/structshaka_1_1media_1_1TextFragment.html">TextFragment</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>body</b> () const</td></tr>
<tr class="separator:a1280401f38ab5077b566be38cfd208f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e6d04f5e4b5511224fdfd464604d885"><td class="memItemLeft" align="right" valign="top"><a id="a6e6d04f5e4b5511224fdfd464604d885"></a>
int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>EndTime</b> () const</td></tr>
<tr class="separator:a6e6d04f5e4b5511224fdfd464604d885"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada8cacb0fb464ad095ecc1faf1023dde"><td class="memItemLeft" align="right" valign="top"><a id="ada8cacb0fb464ad095ecc1faf1023dde"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><b>sub_stream_index</b> () const</td></tr>
<tr class="separator:ada8cacb0fb464ad095ecc1faf1023dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3712bbc7dbf2944789dda0198e409fa8"><td class="memItemLeft" align="right" valign="top"><a id="a3712bbc7dbf2944789dda0198e409fa8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_sub_stream_index</b> (int32_t idx)</td></tr>
<tr class="separator:a3712bbc7dbf2944789dda0198e409fa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="../../d0/d1a/text__sample_8h_source.html#l00115">115</a> of file <a class="el" href="../../d0/d1a/text__sample_8h_source.html">text_sample.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>packager/media/base/<a class="el" href="../../d0/d1a/text__sample_8h_source.html">text_sample.h</a></li>
<li>packager/media/base/<a class="el" href="../../d4/d87/text__sample_8cc_source.html">text_sample.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 22 2021 00:16:06 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>