2015-10-16 00:33:37 +00:00
<!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" / >
2018-02-10 23:37:42 +00:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2017-09-20 02:35:05 +00:00
< title > Shaka Packager SDK: shaka::media::AudioStreamInfo Class Reference< / title >
2015-10-16 00:33:37 +00:00
< 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" / >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../search/searchdata.js" > < / script >
2015-10-16 00:33:37 +00:00
< 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;" >
2018-02-10 23:37:42 +00:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2017-09-20 02:35:05 +00:00
< div id = "projectname" > Shaka Packager SDK
2015-10-16 00:33:37 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2018-02-10 23:37:42 +00:00
<!-- Generated by Doxygen 1.8.13 -->
2015-10-16 00:33:37 +00:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
< / script >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../menudata.js" > < / script >
< script type = "text/javascript" src = "../../menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
2015-10-16 00:33:37 +00:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2018-02-10 23:37:42 +00:00
< / div >
2015-10-16 00:33:37 +00:00
<!-- 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 >
2016-05-24 23:43:16 +00:00
< 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 >
2015-10-16 00:33:37 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-static-methods" > Static Public Member Functions< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html" > List of all members< / a > < / div >
2015-10-16 00:33:37 +00:00
< div class = "headertitle" >
2016-05-24 23:43:16 +00:00
< div class = "title" > shaka::media::AudioStreamInfo Class Reference< / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- header -->
< div class = "contents" >
< p > Holds audio stream information.
2016-05-24 23:43:16 +00:00
< a href = "../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#details" > More...< / a > < / p >
2015-10-16 00:33:37 +00:00
< p > < code > #include < < a class = "el" href = "../../df/d32/audio__stream__info_8h_source.html" > audio_stream_info.h< / a > > < / code > < / p >
< div class = "dynheader" >
2016-05-24 23:43:16 +00:00
Inheritance diagram for shaka::media::AudioStreamInfo:< / div >
2015-10-16 00:33:37 +00:00
< div class = "dyncontent" >
< div class = "center" >
2016-05-24 23:43:16 +00:00
< 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" >
2017-01-26 03:38:47 +00:00
< area href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" title = "Abstract class holds stream information. " alt = "shaka::media::StreamInfo" shape = "rect" coords = "0,0,183,24" / >
2015-10-16 00:33:37 +00:00
< / 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 >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a1333ea7b15790da37addb60ba49131b4" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a1333ea7b15790da37addb60ba49131b4" > < / a >
2016-08-18 21:18:15 +00:00
  < / 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 & 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 & language, bool is_encrypted)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:a1333ea7b15790da37addb60ba49131b4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Construct an initialized audio stream info object. < br / > < / td > < / tr >
2016-08-18 21:18:15 +00:00
< tr class = "separator:a1333ea7b15790da37addb60ba49131b4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:aa46cd8a6717892d160cf2761b55a8fef" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa46cd8a6717892d160cf2761b55a8fef" > < / a >
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sample_bits< / b > () const< / td > < / tr >
< tr class = "separator:aa46cd8a6717892d160cf2761b55a8fef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abec1dee6a7ec5ad0506473927129c3ae" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "abec1dee6a7ec5ad0506473927129c3ae" > < / a >
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sample_bytes< / b > () const< / td > < / tr >
< tr class = "separator:abec1dee6a7ec5ad0506473927129c3ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afec7bea426edba51134fd52c701140fc" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "afec7bea426edba51134fd52c701140fc" > < / a >
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > num_channels< / b > () const< / td > < / tr >
< tr class = "separator:afec7bea426edba51134fd52c701140fc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abe690299c8166d1a5f57205fb7841a4e" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "abe690299c8166d1a5f57205fb7841a4e" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > sampling_frequency< / b > () const< / td > < / tr >
< tr class = "separator:abe690299c8166d1a5f57205fb7841a4e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a23e1642ec7e6d5a379a0670d028bee43" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a23e1642ec7e6d5a379a0670d028bee43" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > bytes_per_frame< / b > () const< / td > < / tr >
< tr class = "separator:a23e1642ec7e6d5a379a0670d028bee43" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a68e4d6e474c1812c135ea4a79ff39fb4" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a68e4d6e474c1812c135ea4a79ff39fb4" > < / a >
uint64_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > seek_preroll_ns< / b > () const< / td > < / tr >
< tr class = "separator:a68e4d6e474c1812c135ea4a79ff39fb4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae3bf2d7957d1b9f6ce548addb59cf18f" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ae3bf2d7957d1b9f6ce548addb59cf18f" > < / a >
uint64_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > codec_delay_ns< / b > () const< / td > < / tr >
< tr class = "separator:ae3bf2d7957d1b9f6ce548addb59cf18f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a205b73998ba608e1c0fe48dafa12de29" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a205b73998ba608e1c0fe48dafa12de29" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > max_bitrate< / b > () const< / td > < / tr >
< tr class = "separator:a205b73998ba608e1c0fe48dafa12de29" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa8e772c6dbb1d2dae019de8d650b0a28" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa8e772c6dbb1d2dae019de8d650b0a28" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > avg_bitrate< / b > () const< / td > < / tr >
< tr class = "separator:aa8e772c6dbb1d2dae019de8d650b0a28" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a08d50ed089301a0bd96ea3e3ed1228f5" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a08d50ed089301a0bd96ea3e3ed1228f5" > < / a >
2015-10-16 00:33:37 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_sampling_frequency< / b > (const uint32_t sampling_frequency)< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a08d50ed089301a0bd96ea3e3ed1228f5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-16 00:33:37 +00:00
< tr > < td colspan = "2" > < div class = "groupHeader" > StreamInfo implementation overrides.< / div > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:a3c50d026e8deadac46741143d4b5ddb9" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / 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" >   < / td > < / tr >
< tr class = "memitem:a7f94e51abcf522ff70e2456a8c8595df" > < td class = "memItemLeft" align = "right" valign = "top" > std::string  < / 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" >   < / td > < / tr >
2017-09-20 02:35:05 +00:00
< tr class = "memitem:a306c5ebb4a42eced7d1a3deaad23c17b" > < td class = "memItemLeft" align = "right" valign = "top" > std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a306c5ebb4a42eced7d1a3deaad23c17b" > Clone< / a > () const override< / td > < / tr >
< tr class = "separator:a306c5ebb4a42eced7d1a3deaad23c17b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-05-24 23:43:16 +00:00
< 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 = "-" / >   Public Member Functions inherited from < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > shaka::media::StreamInfo< / a > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a4dd520edf7452a27afccd578a53c246f" > < / a >
2016-08-18 21:18:15 +00:00
  < / 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 & codec_string, const uint8_t *codec_config, size_t codec_config_size, const std::string & language, bool is_encrypted)< / td > < / tr >
< tr class = "separator:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a9835c6ef38897c5d44b510c65548ce05 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a9835c6ef38897c5d44b510c65548ce05" > < / a >
StreamType  < / td > < td class = "memItemRight" valign = "bottom" > < b > stream_type< / b > () const< / td > < / tr >
< tr class = "separator:a9835c6ef38897c5d44b510c65548ce05 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7816dc6944476f469b9fc754b942d9c1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a7816dc6944476f469b9fc754b942d9c1" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > track_id< / b > () const< / td > < / tr >
< tr class = "separator:a7816dc6944476f469b9fc754b942d9c1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae85f78a0c703e022d11c00b7b72d6a07 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ae85f78a0c703e022d11c00b7b72d6a07" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > time_scale< / b > () const< / td > < / tr >
< tr class = "separator:ae85f78a0c703e022d11c00b7b72d6a07 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad104a3ded73699b2603186e82d0f6a58 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad104a3ded73699b2603186e82d0f6a58" > < / a >
uint64_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > duration< / b > () const< / td > < / tr >
< tr class = "separator:ad104a3ded73699b2603186e82d0f6a58 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0e59776f40d93a3fbf5d68a090243a9f inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0e59776f40d93a3fbf5d68a090243a9f" > < / a >
Codec  < / td > < td class = "memItemRight" valign = "bottom" > < b > codec< / b > () const< / td > < / tr >
< tr class = "separator:a0e59776f40d93a3fbf5d68a090243a9f inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af969cb3d31979d3468b84d1a0ba5e2f6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "af969cb3d31979d3468b84d1a0ba5e2f6" > < / a >
const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < b > codec_string< / b > () const< / td > < / tr >
< tr class = "separator:af969cb3d31979d3468b84d1a0ba5e2f6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a493a98b67db7efa91df80e08466d850e inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a493a98b67db7efa91df80e08466d850e" > < / a >
const std::vector< uint8_t > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > codec_config< / b > () const< / td > < / tr >
< tr class = "separator:a493a98b67db7efa91df80e08466d850e inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac6e17af7698c28d9d3f8cba398d9c3c4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ac6e17af7698c28d9d3f8cba398d9c3c4" > < / a >
const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < b > language< / b > () const< / td > < / tr >
< tr class = "separator:ac6e17af7698c28d9d3f8cba398d9c3c4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a77602180c6ea6cd20deeb2947a184fb1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a77602180c6ea6cd20deeb2947a184fb1" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > is_encrypted< / b > () const< / td > < / tr >
< tr class = "separator:a77602180c6ea6cd20deeb2947a184fb1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af80fd9e3f318adb43dc11e08a8498dff inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "af80fd9e3f318adb43dc11e08a8498dff" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > has_clear_lead< / b > () const< / td > < / tr >
< tr class = "separator:af80fd9e3f318adb43dc11e08a8498dff inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afc3e97f59b7f8006f1513a8c56c51395 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "afc3e97f59b7f8006f1513a8c56c51395" > < / a >
const < a class = "el" href = "../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html" > EncryptionConfig< / a > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > encryption_config< / b > () const< / td > < / tr >
< tr class = "separator:afc3e97f59b7f8006f1513a8c56c51395 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad7848cffb0b01bb4ff8f998a5eb732f4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad7848cffb0b01bb4ff8f998a5eb732f4" > < / a >
2017-03-23 16:44:15 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_duration< / b > (uint64_t duration)< / td > < / tr >
< tr class = "separator:ad7848cffb0b01bb4ff8f998a5eb732f4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0744a0e813c8ad8c5df649a130794fb6" > < / a >
2016-08-18 21:18:15 +00:00
void  < / 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" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa54bb3e89db461517aec46d994bf972f" > < / a >
2016-06-27 23:03:28 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_codec_config< / b > (const std::vector< uint8_t > & data)< / td > < / tr >
< tr class = "separator:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a253c9f1d0cd2d58cd041a2b5fcd2eb93" > < / a >
2015-10-16 00:33:37 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_codec_string< / b > (const std::string & codec_string)< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa939a8328421d629d778f8b149146911" > < / a >
2015-10-16 00:33:37 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_language< / b > (const std::string & language)< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a6b43537963de8997b570932f84ba08d0 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6b43537963de8997b570932f84ba08d0" > < / a >
2017-02-11 01:23:57 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_is_encrypted< / b > (bool is_encrypted)< / td > < / tr >
< tr class = "separator:a6b43537963de8997b570932f84ba08d0 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ac1642886c381844d411740414dfde36c inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ac1642886c381844d411740414dfde36c" > < / a >
2017-05-15 22:39:30 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_has_clear_lead< / b > (bool has_clear_lead)< / td > < / tr >
< tr class = "separator:ac1642886c381844d411740414dfde36c inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a0e302302c13350278e4dda8c4964e483 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0e302302c13350278e4dda8c4964e483" > < / a >
2017-03-22 00:49:05 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_encryption_config< / b > (const < a class = "el" href = "../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html" > EncryptionConfig< / a > & encryption_config)< / td > < / tr >
< tr class = "separator:a0e302302c13350278e4dda8c4964e483 inherit pub_methods_classshaka_1_1media_1_1StreamInfo" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / 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 >
2016-08-18 21:18:15 +00:00
< tr class = "memitem:aee79e7aa61b741bb96f451c6de1c9d42" > < td class = "memItemLeft" align = "right" valign = "top" > static std::string  < / 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" >   < / td > < / tr >
2015-10-16 00:33:37 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Holds audio stream information. < / p >
2018-02-10 23:37:42 +00:00
< p class = "definition" > 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 >
2015-10-16 00:33:37 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-02-10 23:37:42 +00:00
< a id = "a306c5ebb4a42eced7d1a3deaad23c17b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a306c5ebb4a42eced7d1a3deaad23c17b" > ◆ < / a > < / span > Clone()< / h2 >
2017-09-20 02:35:05 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > > shaka::media::AudioStreamInfo::Clone < / 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 new copy of this stream info. The copy will be of the same type as the original. This should be used when a copy is needed without explicitly knowing the stream info type. < / dd > < / dl >
< p > Implements < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#afdd9b2df8ae1c11bb033c44eaba5e38d" > shaka::media::StreamInfo< / a > .< / p >
2018-05-23 23:12:00 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html#l00097" > 97< / a > of file < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html" > audio_stream_info.cc< / a > .< / p >
2017-09-20 02:35:05 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "aee79e7aa61b741bb96f451c6de1c9d42" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aee79e7aa61b741bb96f451c6de1c9d42" > ◆ < / a > < / span > GetCodecString()< / h2 >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > std::string shaka::media::AudioStreamInfo::GetCodecString < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
2016-08-18 21:18:15 +00:00
< td class = "paramtype" > Codec  < / td >
2015-10-16 00:33:37 +00:00
< td class = "paramname" > < em > codec< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > audio_object_type< / em >   < / 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 >
2018-05-23 23:12:00 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html#l00101" > 101< / a > of file < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html" > audio_stream_info.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "a3c50d026e8deadac46741143d4b5ddb9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3c50d026e8deadac46741143d4b5ddb9" > ◆ < / a > < / span > IsValidConfig()< / h2 >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > bool shaka::media::AudioStreamInfo::IsValidConfig < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / 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 >
2016-05-24 23:43:16 +00:00
< p > Implements < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#a6e5c5ade77b7bcf0b7822de568695dc8" > shaka::media::StreamInfo< / a > .< / p >
2015-10-16 00:33:37 +00:00
2018-05-23 23:12:00 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html#l00073" > 73< / a > of file < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html" > audio_stream_info.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
2018-02-10 23:37:42 +00:00
< a id = "a7f94e51abcf522ff70e2456a8c8595df" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7f94e51abcf522ff70e2456a8c8595df" > ◆ < / a > < / span > ToString()< / h2 >
2015-10-16 00:33:37 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2016-05-24 23:43:16 +00:00
< td class = "memname" > std::string shaka::media::AudioStreamInfo::ToString < / td >
2015-10-16 00:33:37 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-10-19 17:27:30 +00:00
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2015-10-16 00:33:37 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > A human-readable string describing the stream info. < / dd > < / dl >
2018-02-10 23:37:42 +00:00
< p > Reimplemented from < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#ab3628e7fdcfccd0dc530df4b0f6e83b8" > shaka::media::StreamInfo< / a > .< / p >
2015-10-16 00:33:37 +00:00
2018-05-23 23:12:00 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html#l00080" > 80< / a > of file < a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html" > audio_stream_info.cc< / a > .< / p >
2015-10-16 00:33:37 +00:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2017-09-20 02:35:05 +00:00
< li > packager/media/base/< a class = "el" href = "../../df/d32/audio__stream__info_8h_source.html" > audio_stream_info.h< / a > < / li >
< li > packager/media/base/< a class = "el" href = "../../da/d04/audio__stream__info_8cc_source.html" > audio_stream_info.cc< / a > < / li >
2015-10-16 00:33:37 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2018-08-20 17:47:59 +00:00
Generated on Mon Aug 20 2018 10:46:55 for Shaka Packager SDK by   < a href = "http://www.doxygen.org/index.html" >
2015-10-16 00:33:37 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
2018-02-10 23:37:42 +00:00
< / a > 1.8.13
2015-10-16 00:33:37 +00:00
< / small > < / address >
< / body >
< / html >