shaka-packager/docs/da/d4e/classshaka_1_1media_1_1Audi...

322 lines
25 KiB
HTML

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>DASH Media Packaging SDK: shaka::media::AudioStreamInfo 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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">DASH Media Packaging SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</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>
<li><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="../../classes.html"><span>Class&#160;Index</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>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></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="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html">AudioStreamInfo</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="../../da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::AudioStreamInfo Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Holds audio stream information.
<a href="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="../../df/d32/audio__stream__info_8h_source.html">audio_stream_info.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for shaka::media::AudioStreamInfo:</div>
<div class="dyncontent">
<div class="center">
<img src="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.png" usemap="#shaka::media::AudioStreamInfo_map" alt=""/>
<map id="shaka::media::AudioStreamInfo_map" name="shaka::media::AudioStreamInfo_map">
<area href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" title="Abstract class holds stream information. " alt="shaka::media::StreamInfo" shape="rect" coords="0,56,261,80"/>
</map>
</div></div>
<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:a1333ea7b15790da37addb60ba49131b4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1333ea7b15790da37addb60ba49131b4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a1333ea7b15790da37addb60ba49131b4">AudioStreamInfo</a> (int track_id, uint32_t time_scale, uint64_t duration, Codec codec, const std::string &amp;codec_string, const uint8_t *codec_config, size_t codec_config_size, uint8_t sample_bits, uint8_t num_channels, uint32_t sampling_frequency, uint64_t seek_preroll_ns, uint64_t codec_delay_ns, uint32_t max_bitrate, uint32_t avg_bitrate, const std::string &amp;language, bool is_encrypted)</td></tr>
<tr class="memdesc:a1333ea7b15790da37addb60ba49131b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an initialized audio stream info object. <br/></td></tr>
<tr class="separator:a1333ea7b15790da37addb60ba49131b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd6675cd06a86ac6b5df697a63c0c8de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd6675cd06a86ac6b5df697a63c0c8de"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>sample_bits</b> () const </td></tr>
<tr class="separator:afd6675cd06a86ac6b5df697a63c0c8de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9197a78f5ff5ddb8c1d79079b9e4fcbc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9197a78f5ff5ddb8c1d79079b9e4fcbc"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>sample_bytes</b> () const </td></tr>
<tr class="separator:a9197a78f5ff5ddb8c1d79079b9e4fcbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02641de819d494a14e2cc0e61c3d7bd8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02641de819d494a14e2cc0e61c3d7bd8"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>num_channels</b> () const </td></tr>
<tr class="separator:a02641de819d494a14e2cc0e61c3d7bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18765f68e5082f0e130021014a4229a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18765f68e5082f0e130021014a4229a6"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>sampling_frequency</b> () const </td></tr>
<tr class="separator:a18765f68e5082f0e130021014a4229a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca5746cc12bb3d24c4911671b2e01ca1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca5746cc12bb3d24c4911671b2e01ca1"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>bytes_per_frame</b> () const </td></tr>
<tr class="separator:aca5746cc12bb3d24c4911671b2e01ca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f1a3181278403103c675c60a0a3f69"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3f1a3181278403103c675c60a0a3f69"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>seek_preroll_ns</b> () const </td></tr>
<tr class="separator:ac3f1a3181278403103c675c60a0a3f69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b635fc68449bcd8cbbc97f41368142f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b635fc68449bcd8cbbc97f41368142f"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>codec_delay_ns</b> () const </td></tr>
<tr class="separator:a7b635fc68449bcd8cbbc97f41368142f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26c06edfd92a263986a11cd8a712fa19"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26c06edfd92a263986a11cd8a712fa19"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>max_bitrate</b> () const </td></tr>
<tr class="separator:a26c06edfd92a263986a11cd8a712fa19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5a4c52c82eb9a2b3f262918c1037886"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5a4c52c82eb9a2b3f262918c1037886"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>avg_bitrate</b> () const </td></tr>
<tr class="separator:aa5a4c52c82eb9a2b3f262918c1037886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08d50ed089301a0bd96ea3e3ed1228f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08d50ed089301a0bd96ea3e3ed1228f5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_sampling_frequency</b> (const uint32_t sampling_frequency)</td></tr>
<tr class="separator:a08d50ed089301a0bd96ea3e3ed1228f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">StreamInfo implementation overrides.</div></td></tr>
<tr class="memitem:a3c50d026e8deadac46741143d4b5ddb9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a3c50d026e8deadac46741143d4b5ddb9">IsValidConfig</a> () const override</td></tr>
<tr class="separator:a3c50d026e8deadac46741143d4b5ddb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f94e51abcf522ff70e2456a8c8595df"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df">ToString</a> () const override</td></tr>
<tr class="separator:a7f94e51abcf522ff70e2456a8c8595df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1media_1_1StreamInfo"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1media_1_1StreamInfo')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">shaka::media::StreamInfo</a></td></tr>
<tr class="memitem:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dd520edf7452a27afccd578a53c246f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>StreamInfo</b> (StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, Codec codec, const std::string &amp;codec_string, const uint8_t *codec_config, size_t codec_config_size, const std::string &amp;language, bool is_encrypted)</td></tr>
<tr class="separator:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28665578e17162b3d3cd9ef44ed05ef3 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28665578e17162b3d3cd9ef44ed05ef3"></a>
StreamType&#160;</td><td class="memItemRight" valign="bottom"><b>stream_type</b> () const </td></tr>
<tr class="separator:a28665578e17162b3d3cd9ef44ed05ef3 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63546b6cfc21d363662d6f18fb8b5b0c inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63546b6cfc21d363662d6f18fb8b5b0c"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>track_id</b> () const </td></tr>
<tr class="separator:a63546b6cfc21d363662d6f18fb8b5b0c inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62b43e5c92f00a4a77fea10b8e1cf56d inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62b43e5c92f00a4a77fea10b8e1cf56d"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>time_scale</b> () const </td></tr>
<tr class="separator:a62b43e5c92f00a4a77fea10b8e1cf56d inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba86f24d96ed36a78d1d08deb61b5e2a inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba86f24d96ed36a78d1d08deb61b5e2a"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>duration</b> () const </td></tr>
<tr class="separator:aba86f24d96ed36a78d1d08deb61b5e2a inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95fc96e6353049269a8a8871cdcd4e8b inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95fc96e6353049269a8a8871cdcd4e8b"></a>
Codec&#160;</td><td class="memItemRight" valign="bottom"><b>codec</b> () const </td></tr>
<tr class="separator:a95fc96e6353049269a8a8871cdcd4e8b inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f27c7e372ece6d4014153fcb51f59c7 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f27c7e372ece6d4014153fcb51f59c7"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>codec_string</b> () const </td></tr>
<tr class="separator:a2f27c7e372ece6d4014153fcb51f59c7 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50772fb5c00a449a084b29b70dcf5135 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50772fb5c00a449a084b29b70dcf5135"></a>
const std::vector&lt; uint8_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>codec_config</b> () const </td></tr>
<tr class="separator:a50772fb5c00a449a084b29b70dcf5135 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae0ea39ecc8d911b2f5d38a8ae2261f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ae0ea39ecc8d911b2f5d38a8ae2261f"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>language</b> () const </td></tr>
<tr class="separator:a0ae0ea39ecc8d911b2f5d38a8ae2261f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95aa5740795c72c1e41afc54a4e3dcc8 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95aa5740795c72c1e41afc54a4e3dcc8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_encrypted</b> () const </td></tr>
<tr class="separator:a95aa5740795c72c1e41afc54a4e3dcc8 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b5158ebe44f59b8e43b02ce71df46a inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3b5158ebe44f59b8e43b02ce71df46a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_duration</b> (int duration)</td></tr>
<tr class="separator:ad3b5158ebe44f59b8e43b02ce71df46a inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0744a0e813c8ad8c5df649a130794fb6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_codec</b> (Codec codec)</td></tr>
<tr class="separator:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa54bb3e89db461517aec46d994bf972f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_codec_config</b> (const std::vector&lt; uint8_t &gt; &amp;data)</td></tr>
<tr class="separator:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a253c9f1d0cd2d58cd041a2b5fcd2eb93"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_codec_string</b> (const std::string &amp;codec_string)</td></tr>
<tr class="separator:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa939a8328421d629d778f8b149146911"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_language</b> (const std::string &amp;language)</td></tr>
<tr class="separator:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aee79e7aa61b741bb96f451c6de1c9d42"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#aee79e7aa61b741bb96f451c6de1c9d42">GetCodecString</a> (Codec codec, uint8_t audio_object_type)</td></tr>
<tr class="separator:aee79e7aa61b741bb96f451c6de1c9d42"><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>Holds audio stream information. </p>
<p>Definition at line <a class="el" href="../../df/d32/audio__stream__info_8h_source.html#l00018">18</a> of file <a class="el" href="../../df/d32/audio__stream__info_8h_source.html">audio_stream_info.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aee79e7aa61b741bb96f451c6de1c9d42"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string shaka::media::AudioStreamInfo::GetCodecString </td>
<td>(</td>
<td class="paramtype">Codec&#160;</td>
<td class="paramname"><em>codec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>audio_object_type</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">audio_object_type</td><td>is only used by AAC Codec, ignored otherwise. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The codec string. </dd></dl>
<p>Definition at line <a class="el" href="../../da/d04/audio__stream__info_8cc_source.html#l00095">95</a> of file <a class="el" href="../../da/d04/audio__stream__info_8cc_source.html">audio_stream_info.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a3c50d026e8deadac46741143d4b5ddb9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool shaka::media::AudioStreamInfo::IsValidConfig </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if this object has appropriate configuration values, false otherwise. </dd></dl>
<p>Implements <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#a6e5c5ade77b7bcf0b7822de568695dc8">shaka::media::StreamInfo</a>.</p>
<p>Definition at line <a class="el" href="../../da/d04/audio__stream__info_8cc_source.html#l00071">71</a> of file <a class="el" href="../../da/d04/audio__stream__info_8cc_source.html">audio_stream_info.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a7f94e51abcf522ff70e2456a8c8595df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string shaka::media::AudioStreamInfo::ToString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>A human-readable string describing the stream info. </dd></dl>
<p>Reimplemented from <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d">shaka::media::StreamInfo</a>.</p>
<p>Definition at line <a class="el" href="../../da/d04/audio__stream__info_8cc_source.html#l00078">78</a> of file <a class="el" href="../../da/d04/audio__stream__info_8cc_source.html">audio_stream_info.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>media/base/<a class="el" href="../../df/d32/audio__stream__info_8h_source.html">audio_stream_info.h</a></li>
<li>media/base/<a class="el" href="../../da/d04/audio__stream__info_8cc_source.html">audio_stream_info.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Dec 19 2016 21:28:43 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>