-
Notifications
You must be signed in to change notification settings - Fork 1
/
base__node_8h_source.html
121 lines (119 loc) · 43.1 KB
/
base__node_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>librespeaker: /home/gitlab-runner/builds/dc7d1974/0/seeedstudio/librespeaker/include/chain_nodes/base_node.h Source File</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">librespeaker
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&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&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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_fef0bd79b8e46d4cecee255b221b8de5.html">chain_nodes</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">base_node.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017 Seeed Technology Co., Ltd.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * @author Jack Shao <[email protected]></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#ifndef __BASE_NODE_H__</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#define __BASE_NODE_H__</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <cstddef></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <cstdint></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <list></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <unordered_map></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <queue></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <utility></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <thread></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <chrono></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <functional></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <atomic></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <mutex></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <condition_variable></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "chain_nodes/chain_shared.h"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "chain_nodes/mic_type_info.h"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//This is used to validate the parameter of function BindToCore().</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#ifndef NUM_CPU_CORE</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#define NUM_CPU_CORE 4</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span><a class="code" href="namespacerespeaker.html">respeaker</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1"> 38</a></span> <span class="keyword">enum</span> <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1">NodeType</a> {</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a16eae27e8e3c4315d7f778e26590f8f7"> 39</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a16eae27e8e3c4315d7f778e26590f8f7">BASE_NODE</a> = 0, </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a46b81d7297f8a501a95051016110aead"> 40</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a46b81d7297f8a501a95051016110aead">PULSE_COLLECTOR_NODE</a> = 10, </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a2fa28f4eed18abae9462855586f0474c"> 41</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a2fa28f4eed18abae9462855586f0474c">ALSA_COLLECTOR_NODE</a> = 11, </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ae82e7813ebab05101038edd57130e20a"> 42</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ae82e7813ebab05101038edd57130e20a">FILE_COLLECTOR_NODE</a> = 12, </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ace2ac12acbe28de5e8acf59b8deb6a81"> 43</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ace2ac12acbe28de5e8acf59b8deb6a81">HYBRID_NODE</a> = 20, </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ae6fbf702e8420e52a1d910e5418ba1ac"> 44</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ae6fbf702e8420e52a1d910e5418ba1ac">SELECTOR_NODE</a> = 21, </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a87e9c897b6c5fdeb02225c21d3a6bc38"> 45</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a87e9c897b6c5fdeb02225c21d3a6bc38">VEP_AEC_BEAMFORMING_NODE</a> = 30, </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a4ac5460b998a91cbe2e5cbc7035f84a1"> 46</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a4ac5460b998a91cbe2e5cbc7035f84a1">SNOWBOY_1B_DOA_KWS_NODE</a> = 40, </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a9ed34d969cd3c9436e3a9bb8867d0500"> 47</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a9ed34d969cd3c9436e3a9bb8867d0500">SNOWBOY_MANUAL_BEAM_KWS_NODE</a> = 41, </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a2f940ce49b644feab6edeba4ddf6d9f1"> 48</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a2f940ce49b644feab6edeba4ddf6d9f1">SNOWBOY_MB_DOA_KWS_NODE</a> = 42, </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a8ae74c431d79ced6d7573de281ce81a5"> 49</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a8ae74c431d79ced6d7573de281ce81a5">SNIPS_1B_DOA_KWS_NODE</a> = 43, </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a014f7769434e46b6bb009f3d093ad87e"> 50</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a014f7769434e46b6bb009f3d093ad87e">SNIPS_MANUAL_BEAM_KWS_NODE</a> = 44, </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a6ccba8f7466d63ad331e22da99ae0019"> 51</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a6ccba8f7466d63ad331e22da99ae0019">ALOOP_OUTPUT_NODE</a> = 50, </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html"> 55</a></span> <span class="keyword">struct </span><a class="code" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> {</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html#a36f265b643401065f457ef8bf48038d5"> 57</a></span>  <a class="code" href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1">NodeType</a> <a class="code" href="structrespeaker_1_1NodeParameter.html#a36f265b643401065f457ef8bf48038d5">node_type</a>; </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html#a24a7b9ce30efd9dce0ddfcf7b2d0dbb7"> 58</a></span>  <a class="code" href="namespacerespeaker.html#a1b7f3a87bb8eda23643d6367f08ebe44">MicType</a> <a class="code" href="structrespeaker_1_1NodeParameter.html#a24a7b9ce30efd9dce0ddfcf7b2d0dbb7">mic_type</a>; </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html#a5393b2d600f97b6366b095d2e9826439"> 59</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structrespeaker_1_1NodeParameter.html#a5393b2d600f97b6366b095d2e9826439">block_len_ms</a>; </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html#ac3a485300de82a460470e26b07107c14"> 60</a></span>  <span class="keywordtype">int</span> <a class="code" href="structrespeaker_1_1NodeParameter.html#ac3a485300de82a460470e26b07107c14">rate</a>; </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html#aeffb59f023a7bacddbf7c4db2fd13c86"> 61</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structrespeaker_1_1NodeParameter.html#aeffb59f023a7bacddbf7c4db2fd13c86">num_channel</a>; </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structrespeaker_1_1NodeParameter.html#acfdf461dfbe3b14d0baa6956ee57cc70"> 62</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structrespeaker_1_1NodeParameter.html#acfdf461dfbe3b14d0baa6956ee57cc70">interleaved</a>; </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> };</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classrespeaker_1_1BaseNode.html"> 65</a></span> <span class="keyword">class </span><a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">virtual</span> ~<a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* <a class="code" href="classrespeaker_1_1BaseNode.html#aa64e2eb930291b7763f6d18a8ef16e49">GetId</a>();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">void</span> <a class="code" href="classrespeaker_1_1BaseNode.html#a786258a66118b4681fe77124dfe87ea4">Uplink</a>(<a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* uplink_node);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> <a class="code" href="classrespeaker_1_1BaseNode.html#aa8b902a4e5fdb9ebdb276bcb9546a53a">RegisterDownlinkNode</a>(<a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* downlink_node);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classrespeaker_1_1BaseNode.html#a54f95dc810c69f48af08e3f0770432de"> 94</a></span>  <a class="code" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a>& <a class="code" href="classrespeaker_1_1BaseNode.html#a54f95dc810c69f48af08e3f0770432de">GetNodeOutputParameter</a>() { <span class="keywordflow">return</span> _output_parameter; }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">bool</span> <a class="code" href="classrespeaker_1_1BaseNode.html#a9a1492da1aba5ad1c28e4824a0fdce2b">RecursivelyStartThread</a>(<a class="code" href="structrespeaker_1_1ChainSharedData.html">ChainSharedData</a>* shared_data);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">bool</span> RecursivelyJoinThread();</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classrespeaker_1_1BaseNode.html#a54a8341faa495ff1f5d0b3cf93ba34e7">OnStartThread</a>() = 0;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classrespeaker_1_1BaseNode.html#a82f301a825f6245864e5df280ffd2e80">FetchBlock</a>(<span class="keywordtype">bool</span>& exit);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classrespeaker_1_1BaseNode.html#a58efcb38cbd0dc75a97060afb911e910">ProcessBlock</a>(std::string block, <span class="keywordtype">bool</span>& exit) = 0;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classrespeaker_1_1BaseNode.html#a70a1aabbbe47c6f686239defb81d2ac5">StoreBlock</a>(std::string block, <span class="keywordtype">bool</span>& exit);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classrespeaker_1_1BaseNode.html#aed14c54e8a1bca55a384c23d13594613">OnJoinThread</a>() = 0;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Pause();</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Resume();</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  std::mutex* GetDownlinkDataQueueMutex(<a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* downlink_node_id = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  std::condition_variable* GetDownlinkDataQueueConditionVar(<a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* downlink_node_id = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  std::queue<std::string>& GetDownlinkDataQueue(<a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* downlink_node_id = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordtype">int</span> <a class="code" href="classrespeaker_1_1BaseNode.html#aeb2d0e40fc228d2d6a7c714837cba496">GetQueueDeepth</a>();</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">bool</span> <a class="code" href="classrespeaker_1_1BaseNode.html#a72e3689fddd7f544d5027a7c7a6869ba">BindToCore</a>(<span class="keywordtype">int</span> core_index);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">bool</span> <a class="code" href="classrespeaker_1_1BaseNode.html#a9a1f5f6f0655912b8eca7f2d285a3dcd">SetThreadPriority</a>(<span class="keywordtype">int</span> priority);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">void</span> _InitBeforeStart();</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> _ThreadProc();</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  std::unique_ptr<std::thread> _thread;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">int</span> _thread_priority;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  std::unordered_map<BaseNode*, std::unique_ptr<std::mutex>> _map_data_queue_mutexes;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  std::unordered_map<BaseNode*, std::unique_ptr<std::condition_variable>> _map_data_queue_cvs;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  std::unordered_map<BaseNode*, std::queue<std::string>> _map_downlink_data_queues;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordtype">bool</span> _paused;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">int</span> _core_index;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">bool</span> _enable_queue_flush;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classrespeaker_1_1BaseNode.html#acbc797af16d1d2b2ee3a4677cbdbfd52"> 188</a></span>  <a class="code" href="classrespeaker_1_1BaseNode.html">BaseNode</a>* <a class="code" href="classrespeaker_1_1BaseNode.html#acbc797af16d1d2b2ee3a4677cbdbfd52">_uplink_node</a> = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classrespeaker_1_1BaseNode.html#ada26f5cc0c9a649f3d98c7b829426c4b"> 191</a></span>  std::list<BaseNode*> <a class="code" href="classrespeaker_1_1BaseNode.html#ada26f5cc0c9a649f3d98c7b829426c4b">_list_downlink_nodes</a>;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a> _input_parameter;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a> _output_parameter;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">int</span> _system_check = 0;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <a class="code" href="structrespeaker_1_1ChainSharedData.html">ChainSharedData</a>* _chain_shared_data = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">bool</span> _is_head = <span class="keyword">false</span>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordtype">bool</span> _is_tail = <span class="keyword">false</span>;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordtype">bool</span> _is_interleaved_after_process = <span class="keyword">false</span>;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordtype">int</span> _num_frames_for_store_block;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">int</span> _channels_for_store_block;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  int16_t* _buffer_for_store_block;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  std::unique_ptr<int16_t* []>_channels_ptr;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">void</span> <a class="code" href="classrespeaker_1_1BaseNode.html#acde77c116f88c3643bc64964b5bf8c9c">EnableQueueFlush</a>(<span class="keywordtype">bool</span> enable);</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">void</span> _Interleave(<span class="keyword">const</span> int16_t* <span class="keyword">const</span>* deinterleaved, <span class="keywordtype">size_t</span> num_frames, <span class="keywordtype">size_t</span> num_channels, int16_t* interleaved);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">void</span> _Deinterleave(<span class="keyword">const</span> int16_t* interleaved, <span class="keywordtype">size_t</span> num_frames, <span class="keywordtype">size_t</span> num_channels, int16_t* <span class="keyword">const</span>* deinterleaved);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordtype">void</span> _Deinterleave(<span class="keyword">const</span> <span class="keywordtype">float</span>* interleaved, <span class="keywordtype">size_t</span> num_frames, <span class="keywordtype">size_t</span> num_channels, <span class="keywordtype">float</span>* <span class="keyword">const</span>* deinterleaved);</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> };</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> } <span class="comment">// namespace respeaker</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="preprocessor">#endif // !__NODE_BASE_H__</span></div><div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1ace2ac12acbe28de5e8acf59b8deb6a81"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ace2ac12acbe28de5e8acf59b8deb6a81">respeaker::HYBRID_NODE</a></div><div class="ttdoc">HybridNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:43</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1ae82e7813ebab05101038edd57130e20a"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ae82e7813ebab05101038edd57130e20a">respeaker::FILE_COLLECTOR_NODE</a></div><div class="ttdoc">FileCollectorNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:42</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html">respeaker::NodeParameter</a></div><div class="ttdef"><b>Definition:</b> base_node.h:55</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1ae6fbf702e8420e52a1d910e5418ba1ac"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1ae6fbf702e8420e52a1d910e5418ba1ac">respeaker::SELECTOR_NODE</a></div><div class="ttdoc">SelectorNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:44</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_aa64e2eb930291b7763f6d18a8ef16e49"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#aa64e2eb930291b7763f6d18a8ef16e49">respeaker::BaseNode::GetId</a></div><div class="ttdeci">BaseNode * GetId()</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a70a1aabbbe47c6f686239defb81d2ac5"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a70a1aabbbe47c6f686239defb81d2ac5">respeaker::BaseNode::StoreBlock</a></div><div class="ttdeci">virtual void StoreBlock(std::string block, bool &exit)</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html_a36f265b643401065f457ef8bf48038d5"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html#a36f265b643401065f457ef8bf48038d5">respeaker::NodeParameter::node_type</a></div><div class="ttdeci">NodeType node_type</div><div class="ttdoc">The type of a node. </div><div class="ttdef"><b>Definition:</b> base_node.h:57</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a16eae27e8e3c4315d7f778e26590f8f7"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a16eae27e8e3c4315d7f778e26590f8f7">respeaker::BASE_NODE</a></div><div class="ttdoc">BaseNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:39</div></div>
<div class="ttc" id="structrespeaker_1_1ChainSharedData_html"><div class="ttname"><a href="structrespeaker_1_1ChainSharedData.html">respeaker::ChainSharedData</a></div><div class="ttdef"><b>Definition:</b> chain_shared.h:26</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a2f940ce49b644feab6edeba4ddf6d9f1"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a2f940ce49b644feab6edeba4ddf6d9f1">respeaker::SNOWBOY_MB_DOA_KWS_NODE</a></div><div class="ttdoc">SnowboyMbDoaKwsNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:48</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a4ac5460b998a91cbe2e5cbc7035f84a1"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a4ac5460b998a91cbe2e5cbc7035f84a1">respeaker::SNOWBOY_1B_DOA_KWS_NODE</a></div><div class="ttdoc">Snowboy1bDoaKwsNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:46</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a014f7769434e46b6bb009f3d093ad87e"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a014f7769434e46b6bb009f3d093ad87e">respeaker::SNIPS_MANUAL_BEAM_KWS_NODE</a></div><div class="ttdoc">SnipsManBeamKwsNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:50</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a87e9c897b6c5fdeb02225c21d3a6bc38"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a87e9c897b6c5fdeb02225c21d3a6bc38">respeaker::VEP_AEC_BEAMFORMING_NODE</a></div><div class="ttdoc">VepAecBeamformingNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:45</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_aa8b902a4e5fdb9ebdb276bcb9546a53a"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#aa8b902a4e5fdb9ebdb276bcb9546a53a">respeaker::BaseNode::RegisterDownlinkNode</a></div><div class="ttdeci">void RegisterDownlinkNode(BaseNode *downlink_node)</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a9a1f5f6f0655912b8eca7f2d285a3dcd"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a9a1f5f6f0655912b8eca7f2d285a3dcd">respeaker::BaseNode::SetThreadPriority</a></div><div class="ttdeci">bool SetThreadPriority(int priority)</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a2fa28f4eed18abae9462855586f0474c"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a2fa28f4eed18abae9462855586f0474c">respeaker::ALSA_COLLECTOR_NODE</a></div><div class="ttdoc">AlsaCollectorNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:41</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_aeb2d0e40fc228d2d6a7c714837cba496"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#aeb2d0e40fc228d2d6a7c714837cba496">respeaker::BaseNode::GetQueueDeepth</a></div><div class="ttdeci">int GetQueueDeepth()</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a786258a66118b4681fe77124dfe87ea4"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a786258a66118b4681fe77124dfe87ea4">respeaker::BaseNode::Uplink</a></div><div class="ttdeci">void Uplink(BaseNode *uplink_node)</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a9ed34d969cd3c9436e3a9bb8867d0500"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a9ed34d969cd3c9436e3a9bb8867d0500">respeaker::SNOWBOY_MANUAL_BEAM_KWS_NODE</a></div><div class="ttdoc">SnowboyManKwsNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:47</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a82f301a825f6245864e5df280ffd2e80"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a82f301a825f6245864e5df280ffd2e80">respeaker::BaseNode::FetchBlock</a></div><div class="ttdeci">virtual std::string FetchBlock(bool &exit)</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html_a24a7b9ce30efd9dce0ddfcf7b2d0dbb7"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html#a24a7b9ce30efd9dce0ddfcf7b2d0dbb7">respeaker::NodeParameter::mic_type</a></div><div class="ttdeci">MicType mic_type</div><div class="ttdoc">The microphone array type. </div><div class="ttdef"><b>Definition:</b> base_node.h:58</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a54a8341faa495ff1f5d0b3cf93ba34e7"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a54a8341faa495ff1f5d0b3cf93ba34e7">respeaker::BaseNode::OnStartThread</a></div><div class="ttdeci">virtual bool OnStartThread()=0</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a9a1492da1aba5ad1c28e4824a0fdce2b"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a9a1492da1aba5ad1c28e4824a0fdce2b">respeaker::BaseNode::RecursivelyStartThread</a></div><div class="ttdeci">bool RecursivelyStartThread(ChainSharedData *shared_data)</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a6ccba8f7466d63ad331e22da99ae0019"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a6ccba8f7466d63ad331e22da99ae0019">respeaker::ALOOP_OUTPUT_NODE</a></div><div class="ttdoc">AloopOutputNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:51</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1">respeaker::NodeType</a></div><div class="ttdeci">NodeType</div><div class="ttdef"><b>Definition:</b> base_node.h:38</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a46b81d7297f8a501a95051016110aead"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a46b81d7297f8a501a95051016110aead">respeaker::PULSE_COLLECTOR_NODE</a></div><div class="ttdoc">PulseCollectorNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:40</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html_ac3a485300de82a460470e26b07107c14"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html#ac3a485300de82a460470e26b07107c14">respeaker::NodeParameter::rate</a></div><div class="ttdeci">int rate</div><div class="ttdoc">The sample rate. </div><div class="ttdef"><b>Definition:</b> base_node.h:60</div></div>
<div class="ttc" id="namespacerespeaker_html_a1b7f3a87bb8eda23643d6367f08ebe44"><div class="ttname"><a href="namespacerespeaker.html#a1b7f3a87bb8eda23643d6367f08ebe44">respeaker::MicType</a></div><div class="ttdeci">MicType</div><div class="ttdef"><b>Definition:</b> mic_type_info.h:18</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html">respeaker::BaseNode</a></div><div class="ttdef"><b>Definition:</b> base_node.h:65</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_acbc797af16d1d2b2ee3a4677cbdbfd52"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#acbc797af16d1d2b2ee3a4677cbdbfd52">respeaker::BaseNode::_uplink_node</a></div><div class="ttdeci">BaseNode * _uplink_node</div><div class="ttdef"><b>Definition:</b> base_node.h:188</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a58efcb38cbd0dc75a97060afb911e910"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a58efcb38cbd0dc75a97060afb911e910">respeaker::BaseNode::ProcessBlock</a></div><div class="ttdeci">virtual std::string ProcessBlock(std::string block, bool &exit)=0</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html_aeffb59f023a7bacddbf7c4db2fd13c86"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html#aeffb59f023a7bacddbf7c4db2fd13c86">respeaker::NodeParameter::num_channel</a></div><div class="ttdeci">size_t num_channel</div><div class="ttdoc">The number of channels. </div><div class="ttdef"><b>Definition:</b> base_node.h:61</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_ada26f5cc0c9a649f3d98c7b829426c4b"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#ada26f5cc0c9a649f3d98c7b829426c4b">respeaker::BaseNode::_list_downlink_nodes</a></div><div class="ttdeci">std::list< BaseNode * > _list_downlink_nodes</div><div class="ttdef"><b>Definition:</b> base_node.h:191</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html_acfdf461dfbe3b14d0baa6956ee57cc70"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html#acfdf461dfbe3b14d0baa6956ee57cc70">respeaker::NodeParameter::interleaved</a></div><div class="ttdeci">bool interleaved</div><div class="ttdoc">If or not the audio data is interleaved. </div><div class="ttdef"><b>Definition:</b> base_node.h:62</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a54f95dc810c69f48af08e3f0770432de"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a54f95dc810c69f48af08e3f0770432de">respeaker::BaseNode::GetNodeOutputParameter</a></div><div class="ttdeci">NodeParameter & GetNodeOutputParameter()</div><div class="ttdef"><b>Definition:</b> base_node.h:94</div></div>
<div class="ttc" id="namespacerespeaker_html"><div class="ttname"><a href="namespacerespeaker.html">respeaker</a></div><div class="ttdef"><b>Definition:</b> aloop_output_node.h:14</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_acde77c116f88c3643bc64964b5bf8c9c"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#acde77c116f88c3643bc64964b5bf8c9c">respeaker::BaseNode::EnableQueueFlush</a></div><div class="ttdeci">void EnableQueueFlush(bool enable)</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_aed14c54e8a1bca55a384c23d13594613"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#aed14c54e8a1bca55a384c23d13594613">respeaker::BaseNode::OnJoinThread</a></div><div class="ttdeci">virtual bool OnJoinThread()=0</div></div>
<div class="ttc" id="namespacerespeaker_html_a1f207751fb0d84d3e943e8634c33b7d1a8ae74c431d79ced6d7573de281ce81a5"><div class="ttname"><a href="namespacerespeaker.html#a1f207751fb0d84d3e943e8634c33b7d1a8ae74c431d79ced6d7573de281ce81a5">respeaker::SNIPS_1B_DOA_KWS_NODE</a></div><div class="ttdoc">Snips1bDoaKwsNode. </div><div class="ttdef"><b>Definition:</b> base_node.h:49</div></div>
<div class="ttc" id="structrespeaker_1_1NodeParameter_html_a5393b2d600f97b6366b095d2e9826439"><div class="ttname"><a href="structrespeaker_1_1NodeParameter.html#a5393b2d600f97b6366b095d2e9826439">respeaker::NodeParameter::block_len_ms</a></div><div class="ttdeci">size_t block_len_ms</div><div class="ttdoc">The time length of the block, in milliseconds. </div><div class="ttdef"><b>Definition:</b> base_node.h:59</div></div>
<div class="ttc" id="classrespeaker_1_1BaseNode_html_a72e3689fddd7f544d5027a7c7a6869ba"><div class="ttname"><a href="classrespeaker_1_1BaseNode.html#a72e3689fddd7f544d5027a7c7a6869ba">respeaker::BaseNode::BindToCore</a></div><div class="ttdeci">bool BindToCore(int core_index)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>