-
Notifications
You must be signed in to change notification settings - Fork 1
/
classrespeaker_1_1Snowboy1bDoaKwsNode.html
755 lines (718 loc) · 48 KB
/
classrespeaker_1_1Snowboy1bDoaKwsNode.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
<!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: respeaker::Snowboy1bDoaKwsNode Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">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="namespacerespeaker.html">respeaker</a></li><li class="navelem"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a></li> </ul>
</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> |
<a href="classrespeaker_1_1Snowboy1bDoaKwsNode-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">respeaker::Snowboy1bDoaKwsNode Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="snowboy__1b__doa__kws__node_8h_source.html">snowboy_1b_doa_kws_node.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for respeaker::Snowboy1bDoaKwsNode:</div>
<div class="dyncontent">
<div class="center">
<img src="classrespeaker_1_1Snowboy1bDoaKwsNode.png" usemap="#respeaker::Snowboy1bDoaKwsNode_map" alt=""/>
<map id="respeaker::Snowboy1bDoaKwsNode_map" name="respeaker::Snowboy1bDoaKwsNode_map">
<area href="classrespeaker_1_1BaseNode.html" alt="respeaker::BaseNode" shape="rect" coords="0,0,217,24"/>
<area href="classrespeaker_1_1DirectionManagerNode.html" alt="respeaker::DirectionManagerNode" shape="rect" coords="227,0,444,24"/>
<area href="classrespeaker_1_1HotwordDetectionNode.html" alt="respeaker::HotwordDetectionNode" shape="rect" coords="454,0,671,24"/>
</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:a67fa002e38fd1d639375ec287bb63bed"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a67fa002e38fd1d639375ec287bb63bed">SetTriggerPostConfirmThresholdTime</a> (int ms)=0</td></tr>
<tr class="separator:a67fa002e38fd1d639375ec287bb63bed"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07c93db2d65136306856330ea1fde8af"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a07c93db2d65136306856330ea1fde8af">SetDoAecWhenListen</a> (bool do_aec_when_listen)=0</td></tr>
<tr class="separator:a07c93db2d65136306856330ea1fde8af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ced90ef97ebed77087055bb5b6e74db"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a2ced90ef97ebed77087055bb5b6e74db">DisableAutoStateTransfer</a> ()=0</td></tr>
<tr class="separator:a2ced90ef97ebed77087055bb5b6e74db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a062dd1041e010c6f2655b2810ce858c7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a062dd1041e010c6f2655b2810ce858c7">SetAgcTargetLevelDbfs</a> (int dbfs)=0</td></tr>
<tr class="separator:a062dd1041e010c6f2655b2810ce858c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0b3f141bb3b83ea7ce950acff69a702"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#ab0b3f141bb3b83ea7ce950acff69a702">SetAutoDoaUpdate</a> (bool auto_doa_update)=0</td></tr>
<tr class="separator:ab0b3f141bb3b83ea7ce950acff69a702"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac32710b0e290b62e31d14e4b7948aabb"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#ac32710b0e290b62e31d14e4b7948aabb">OnStartThread</a> ()=0</td></tr>
<tr class="separator:ac32710b0e290b62e31d14e4b7948aabb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01b6f7cd8565c1d2a52e4b63c87443f3"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a01b6f7cd8565c1d2a52e4b63c87443f3">ProcessBlock</a> (std::string block, bool &exit)=0</td></tr>
<tr class="separator:a01b6f7cd8565c1d2a52e4b63c87443f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc1e6a4d72ed1f22c5e8ec7693462c84"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#abc1e6a4d72ed1f22c5e8ec7693462c84">OnJoinThread</a> ()=0</td></tr>
<tr class="separator:abc1e6a4d72ed1f22c5e8ec7693462c84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac11b10bf7127f60c39dd1c3f3d76f845"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#ac11b10bf7127f60c39dd1c3f3d76f845">GetDirection</a> ()=0</td></tr>
<tr class="separator:ac11b10bf7127f60c39dd1c3f3d76f845"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2b1c9352114308aa1460ba1137d2dde"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#ad2b1c9352114308aa1460ba1137d2dde">SetDirection</a> (int dir)=0</td></tr>
<tr class="separator:ad2b1c9352114308aa1460ba1137d2dde"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a813084ee8b6b64709d1ed13346e29f21"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a813084ee8b6b64709d1ed13346e29f21">HotwordDetected</a> ()=0</td></tr>
<tr class="separator:a813084ee8b6b64709d1ed13346e29f21"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classrespeaker_1_1BaseNode"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classrespeaker_1_1BaseNode')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classrespeaker_1_1BaseNode.html">respeaker::BaseNode</a></td></tr>
<tr class="memitem:aa64e2eb930291b7763f6d18a8ef16e49 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#aa64e2eb930291b7763f6d18a8ef16e49">GetId</a> ()</td></tr>
<tr class="separator:aa64e2eb930291b7763f6d18a8ef16e49 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a786258a66118b4681fe77124dfe87ea4 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a786258a66118b4681fe77124dfe87ea4">Uplink</a> (<a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> *uplink_node)</td></tr>
<tr class="separator:a786258a66118b4681fe77124dfe87ea4 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa8b902a4e5fdb9ebdb276bcb9546a53a inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#aa8b902a4e5fdb9ebdb276bcb9546a53a">RegisterDownlinkNode</a> (<a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> *downlink_node)</td></tr>
<tr class="separator:aa8b902a4e5fdb9ebdb276bcb9546a53a inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54f95dc810c69f48af08e3f0770432de inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a54f95dc810c69f48af08e3f0770432de">GetNodeOutputParameter</a> ()</td></tr>
<tr class="separator:a54f95dc810c69f48af08e3f0770432de inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a1492da1aba5ad1c28e4824a0fdce2b inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a9a1492da1aba5ad1c28e4824a0fdce2b">RecursivelyStartThread</a> (<a class="el" href="structrespeaker_1_1ChainSharedData.html">ChainSharedData</a> *shared_data)</td></tr>
<tr class="separator:a9a1492da1aba5ad1c28e4824a0fdce2b inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b6a49ceda9ded7386bad53bff315458 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a3b6a49ceda9ded7386bad53bff315458"></a>
bool </td><td class="memItemRight" valign="bottom"><b>RecursivelyJoinThread</b> ()</td></tr>
<tr class="separator:a3b6a49ceda9ded7386bad53bff315458 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a82f301a825f6245864e5df280ffd2e80 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a82f301a825f6245864e5df280ffd2e80">FetchBlock</a> (bool &exit)</td></tr>
<tr class="separator:a82f301a825f6245864e5df280ffd2e80 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70a1aabbbe47c6f686239defb81d2ac5 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a70a1aabbbe47c6f686239defb81d2ac5">StoreBlock</a> (std::string block, bool &exit)</td></tr>
<tr class="separator:a70a1aabbbe47c6f686239defb81d2ac5 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a79c8cb5ec6126776fe1b85c2864b5b62 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a79c8cb5ec6126776fe1b85c2864b5b62"></a>
virtual void </td><td class="memItemRight" valign="bottom"><b>Pause</b> ()</td></tr>
<tr class="separator:a79c8cb5ec6126776fe1b85c2864b5b62 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6c0b8d6e4583e1995a283f9072a0e01 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="aa6c0b8d6e4583e1995a283f9072a0e01"></a>
virtual void </td><td class="memItemRight" valign="bottom"><b>Resume</b> ()</td></tr>
<tr class="separator:aa6c0b8d6e4583e1995a283f9072a0e01 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a993ac61f2ca80601d6188d957bef7102 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a993ac61f2ca80601d6188d957bef7102"></a>
std::mutex * </td><td class="memItemRight" valign="bottom"><b>GetDownlinkDataQueueMutex</b> (<a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> *downlink_node_id=nullptr)</td></tr>
<tr class="separator:a993ac61f2ca80601d6188d957bef7102 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae332245863119fbd720fd642a3ca0410 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="ae332245863119fbd720fd642a3ca0410"></a>
std::condition_variable * </td><td class="memItemRight" valign="bottom"><b>GetDownlinkDataQueueConditionVar</b> (<a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> *downlink_node_id=nullptr)</td></tr>
<tr class="separator:ae332245863119fbd720fd642a3ca0410 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fbb35dc03773338d05cff433abadb6d inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a4fbb35dc03773338d05cff433abadb6d"></a>
std::queue< std::string > & </td><td class="memItemRight" valign="bottom"><b>GetDownlinkDataQueue</b> (<a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> *downlink_node_id=nullptr)</td></tr>
<tr class="separator:a4fbb35dc03773338d05cff433abadb6d inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb2d0e40fc228d2d6a7c714837cba496 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#aeb2d0e40fc228d2d6a7c714837cba496">GetQueueDeepth</a> ()</td></tr>
<tr class="separator:aeb2d0e40fc228d2d6a7c714837cba496 inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72e3689fddd7f544d5027a7c7a6869ba inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a72e3689fddd7f544d5027a7c7a6869ba">BindToCore</a> (int core_index)</td></tr>
<tr class="separator:a72e3689fddd7f544d5027a7c7a6869ba inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a1f5f6f0655912b8eca7f2d285a3dcd inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#a9a1f5f6f0655912b8eca7f2d285a3dcd">SetThreadPriority</a> (int priority)</td></tr>
<tr class="separator:a9a1f5f6f0655912b8eca7f2d285a3dcd inherit pub_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </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:af3709ed684c8afe46be873843541a63c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#af3709ed684c8afe46be873843541a63c">Create</a> (std::string snowboy_resource_path, std::string snowboy_model_path, std::string snowboy_sensitivity)</td></tr>
<tr class="separator:af3709ed684c8afe46be873843541a63c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36738fd90f58b26fcad791247c826fbf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#a36738fd90f58b26fcad791247c826fbf">Create</a> (std::string snowboy_resource_path, std::string snowboy_model_path, std::string snowboy_sensitivity, int underclocking_count)</td></tr>
<tr class="separator:a36738fd90f58b26fcad791247c826fbf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2f7ba45a73ee0acfe2df4288324746a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html#aa2f7ba45a73ee0acfe2df4288324746a">Create</a> (std::string snowboy_resource_path, std::string snowboy_model_path, std::string snowboy_sensitivity, int underclocking_count, bool enable_agc, bool output_interleaved=false)</td></tr>
<tr class="separator:aa2f7ba45a73ee0acfe2df4288324746a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classrespeaker_1_1BaseNode"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classrespeaker_1_1BaseNode')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classrespeaker_1_1BaseNode.html">respeaker::BaseNode</a></td></tr>
<tr class="memitem:acde77c116f88c3643bc64964b5bf8c9c inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#acde77c116f88c3643bc64964b5bf8c9c">EnableQueueFlush</a> (bool enable)</td></tr>
<tr class="separator:acde77c116f88c3643bc64964b5bf8c9c inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af19fcacd824cf2549e8770ab15a72805 inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="af19fcacd824cf2549e8770ab15a72805"></a>
void </td><td class="memItemRight" valign="bottom"><b>_Interleave</b> (const int16_t *const *deinterleaved, size_t num_frames, size_t num_channels, int16_t *interleaved)</td></tr>
<tr class="separator:af19fcacd824cf2549e8770ab15a72805 inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb276fd97a41540d79bbe7fe5af2eccb inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="abb276fd97a41540d79bbe7fe5af2eccb"></a>
void </td><td class="memItemRight" valign="bottom"><b>_Deinterleave</b> (const int16_t *interleaved, size_t num_frames, size_t num_channels, int16_t *const *deinterleaved)</td></tr>
<tr class="separator:abb276fd97a41540d79bbe7fe5af2eccb inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a868a8ce8342fd762d6f9bd2d66d8039b inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a868a8ce8342fd762d6f9bd2d66d8039b"></a>
void </td><td class="memItemRight" valign="bottom"><b>_Deinterleave</b> (const float *interleaved, size_t num_frames, size_t num_channels, float *const *deinterleaved)</td></tr>
<tr class="separator:a868a8ce8342fd762d6f9bd2d66d8039b inherit pro_methods_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classrespeaker_1_1BaseNode"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classrespeaker_1_1BaseNode')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classrespeaker_1_1BaseNode.html">respeaker::BaseNode</a></td></tr>
<tr class="memitem:acbc797af16d1d2b2ee3a4677cbdbfd52 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#acbc797af16d1d2b2ee3a4677cbdbfd52">_uplink_node</a> = nullptr</td></tr>
<tr class="separator:acbc797af16d1d2b2ee3a4677cbdbfd52 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada26f5cc0c9a649f3d98c7b829426c4b inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top">std::list< <a class="el" href="classrespeaker_1_1BaseNode.html">BaseNode</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classrespeaker_1_1BaseNode.html#ada26f5cc0c9a649f3d98c7b829426c4b">_list_downlink_nodes</a></td></tr>
<tr class="separator:ada26f5cc0c9a649f3d98c7b829426c4b inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ffc3f266b114e71180c1302ebfcf93e inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a8ffc3f266b114e71180c1302ebfcf93e"></a>
<a class="el" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a> </td><td class="memItemRight" valign="bottom"><b>_input_parameter</b></td></tr>
<tr class="separator:a8ffc3f266b114e71180c1302ebfcf93e inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af77eba5ccadaf5700e37d0615160659f inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="af77eba5ccadaf5700e37d0615160659f"></a>
<a class="el" href="structrespeaker_1_1NodeParameter.html">NodeParameter</a> </td><td class="memItemRight" valign="bottom"><b>_output_parameter</b></td></tr>
<tr class="separator:af77eba5ccadaf5700e37d0615160659f inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabaadd03e527db413e5c08bff855fb21 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="aabaadd03e527db413e5c08bff855fb21"></a>
int </td><td class="memItemRight" valign="bottom"><b>_system_check</b> = 0</td></tr>
<tr class="separator:aabaadd03e527db413e5c08bff855fb21 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abfe38c4ea84934d8cdc6b630b0efce70 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="abfe38c4ea84934d8cdc6b630b0efce70"></a>
<a class="el" href="structrespeaker_1_1ChainSharedData.html">ChainSharedData</a> * </td><td class="memItemRight" valign="bottom"><b>_chain_shared_data</b> = nullptr</td></tr>
<tr class="separator:abfe38c4ea84934d8cdc6b630b0efce70 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a873435ae89cd2b1103644bbd6ca949c3 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a873435ae89cd2b1103644bbd6ca949c3"></a>
bool </td><td class="memItemRight" valign="bottom"><b>_is_head</b> = false</td></tr>
<tr class="separator:a873435ae89cd2b1103644bbd6ca949c3 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a610aa4f77aae2dbe3170dadd9088045a inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a610aa4f77aae2dbe3170dadd9088045a"></a>
bool </td><td class="memItemRight" valign="bottom"><b>_is_tail</b> = false</td></tr>
<tr class="separator:a610aa4f77aae2dbe3170dadd9088045a inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9b09f9e45f6f448ecf7ee3f2fafde4d inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="ab9b09f9e45f6f448ecf7ee3f2fafde4d"></a>
bool </td><td class="memItemRight" valign="bottom"><b>_is_interleaved_after_process</b> = false</td></tr>
<tr class="separator:ab9b09f9e45f6f448ecf7ee3f2fafde4d inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1b4451bc2ff6667b489cc9804663719 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="ab1b4451bc2ff6667b489cc9804663719"></a>
int </td><td class="memItemRight" valign="bottom"><b>_num_frames_for_store_block</b></td></tr>
<tr class="separator:ab1b4451bc2ff6667b489cc9804663719 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d61c0cf63208a6a88ae529486cf7b0a inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a7d61c0cf63208a6a88ae529486cf7b0a"></a>
int </td><td class="memItemRight" valign="bottom"><b>_channels_for_store_block</b></td></tr>
<tr class="separator:a7d61c0cf63208a6a88ae529486cf7b0a inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad78650c657fd198def176d39286d57aa inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="ad78650c657fd198def176d39286d57aa"></a>
int16_t * </td><td class="memItemRight" valign="bottom"><b>_buffer_for_store_block</b></td></tr>
<tr class="separator:ad78650c657fd198def176d39286d57aa inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e50f8282e18033cc7f14a529be1b073 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memItemLeft" align="right" valign="top"><a id="a5e50f8282e18033cc7f14a529be1b073"></a>
std::unique_ptr< int16_t *[]> </td><td class="memItemRight" valign="bottom"><b>_channels_ptr</b></td></tr>
<tr class="separator:a5e50f8282e18033cc7f14a529be1b073 inherit pro_attribs_classrespeaker_1_1BaseNode"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Please note that, this node can only uplink to <a class="el" href="classrespeaker_1_1VepAecBeamformingNode.html">VepAecBeamformingNode</a>, and is_single_beam_output should be true. <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a> only accepts 3 channels data, the first channel is a beam channel, the second channel is reference channel, and the third channel is some vep scores. This node also provides VAD(Voice available detection). </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af3709ed684c8afe46be873843541a63c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3709ed684c8afe46be873843541a63c">◆ </a></span>Create() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a>* respeaker::Snowboy1bDoaKwsNode::Create </td>
<td>(</td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_resource_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_model_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_sensitivity</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">
<p>Create a <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a> instance. Do single-beam keyword(hotword triggering) search with Snowboy KWS Engine and DoA (direction of arrival).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">snowboy_resource_path</td><td>- The path of snowboy resource. </td></tr>
<tr><td class="paramname">snowboy_model_path</td><td>- The path of snowboy model. </td></tr>
<tr><td class="paramname">snowboy_sensitivity</td><td>- [0.1, 0.9], but in string format. The higher the sensitivity, the higher the trigger rate. Default to 0.5.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Snowboy1bDoaKwsNode* </dd></dl>
</div>
</div>
<a id="a36738fd90f58b26fcad791247c826fbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36738fd90f58b26fcad791247c826fbf">◆ </a></span>Create() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a>* respeaker::Snowboy1bDoaKwsNode::Create </td>
<td>(</td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_resource_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_model_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_sensitivity</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>underclocking_count</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">snowboy_resource_path</td><td>- The path of snowboy resource. </td></tr>
<tr><td class="paramname">snowboy_model_path</td><td>- The path of snowboy model. </td></tr>
<tr><td class="paramname">snowboy_sensitivity</td><td>- [0.1, 0.9], but in string format. The higher the sensitivity, the higher the trigger rate. Default to 0.5. </td></tr>
<tr><td class="paramname">underclocking_count</td><td>- the count of input block this node will wait before processing and passing down. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa2f7ba45a73ee0acfe2df4288324746a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2f7ba45a73ee0acfe2df4288324746a">◆ </a></span>Create() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classrespeaker_1_1Snowboy1bDoaKwsNode.html">Snowboy1bDoaKwsNode</a>* respeaker::Snowboy1bDoaKwsNode::Create </td>
<td>(</td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_resource_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_model_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>snowboy_sensitivity</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>underclocking_count</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enable_agc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>output_interleaved</em> = <code>false</code> </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">snowboy_resource_path</td><td>- The path of snowboy resource. </td></tr>
<tr><td class="paramname">snowboy_model_path</td><td>- The path of snowboy model. </td></tr>
<tr><td class="paramname">snowboy_sensitivity</td><td>- [0.1, 0.9], but in string format. The higher the sensitivity, the higher the trigger rate. Default to 0.5. </td></tr>
<tr><td class="paramname">underclocking_count</td><td>- the count of input block this node will wait before processing and passing down. </td></tr>
<tr><td class="paramname">enable_agc</td><td>- enable automatic gain control. </td></tr>
<tr><td class="paramname">output_interleaved</td><td>- Set it true to output interleaved data, false to output deinterleaved data. At most time, we don't have to set it true in this node. Because the output data has only one channel(beam).</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Snowboy1bDoaKwsNode* </dd></dl>
</div>
</div>
<a id="a2ced90ef97ebed77087055bb5b6e74db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ced90ef97ebed77087055bb5b6e74db">◆ </a></span>DisableAutoStateTransfer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void respeaker::Snowboy1bDoaKwsNode::DisableAutoStateTransfer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classrespeaker_1_1ReSpeaker.html#a4164daf86f69a5396b8b85daf75f7723">ReSpeaker::SetChainState</a> </dd></dl>
</div>
</div>
<a id="ac11b10bf7127f60c39dd1c3f3d76f845"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac11b10bf7127f60c39dd1c3f3d76f845">◆ </a></span>GetDirection()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int respeaker::Snowboy1bDoaKwsNode::GetDirection </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Subclass should implement this method. </p>
<p>Implements <a class="el" href="classrespeaker_1_1DirectionManagerNode.html#a63b67c9bf249502916b571a3f9c6137d">respeaker::DirectionManagerNode</a>.</p>
</div>
</div>
<a id="a813084ee8b6b64709d1ed13346e29f21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a813084ee8b6b64709d1ed13346e29f21">◆ </a></span>HotwordDetected()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int respeaker::Snowboy1bDoaKwsNode::HotwordDetected </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Subclass should implement this method. </p>
<p>Implements <a class="el" href="classrespeaker_1_1HotwordDetectionNode.html#ac00127d5b75776780b63b44179123fdb">respeaker::HotwordDetectionNode</a>.</p>
</div>
</div>
<a id="abc1e6a4d72ed1f22c5e8ec7693462c84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc1e6a4d72ed1f22c5e8ec7693462c84">◆ </a></span>OnJoinThread()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool respeaker::Snowboy1bDoaKwsNode::OnJoinThread </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Do per node cleanup in this method. </p>
<p>Implements <a class="el" href="classrespeaker_1_1BaseNode.html#aed14c54e8a1bca55a384c23d13594613">respeaker::BaseNode</a>.</p>
</div>
</div>
<a id="ac32710b0e290b62e31d14e4b7948aabb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac32710b0e290b62e31d14e4b7948aabb">◆ </a></span>OnStartThread()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool respeaker::Snowboy1bDoaKwsNode::OnStartThread </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The derived node must configure the output parameter in this method </p>
<p>Implements <a class="el" href="classrespeaker_1_1BaseNode.html#a54a8341faa495ff1f5d0b3cf93ba34e7">respeaker::BaseNode</a>.</p>
</div>
</div>
<a id="a01b6f7cd8565c1d2a52e4b63c87443f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01b6f7cd8565c1d2a52e4b63c87443f3">◆ </a></span>ProcessBlock()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual std::string respeaker::Snowboy1bDoaKwsNode::ProcessBlock </td>
<td>(</td>
<td class="paramtype">std::string </td>
<td class="paramname"><em>block</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>exit</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Every node must implement this method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">block</td><td>[in] </td></tr>
<tr><td class="paramname">exit</td><td>[out] - The exit flag of the <a class="el" href="structrespeaker_1_1ChainSharedData.html">ChainSharedData</a> is set, the thread should join now.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>
<p>Implements <a class="el" href="classrespeaker_1_1BaseNode.html#a58efcb38cbd0dc75a97060afb911e910">respeaker::BaseNode</a>.</p>
</div>
</div>
<a id="a062dd1041e010c6f2655b2810ce858c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a062dd1041e010c6f2655b2810ce858c7">◆ </a></span>SetAgcTargetLevelDbfs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void respeaker::Snowboy1bDoaKwsNode::SetAgcTargetLevelDbfs </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>dbfs</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dbfs</td><td>- [0, 31], Sets the target peak |level| (or envelope) of the AGC in dBFs (decibels from digital full-scale). The convention is to use positive values. For instance, passing in a value of 3 corresponds to -3 dBFs, or a target level 3 dB below full-scale. The default is 3. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab0b3f141bb3b83ea7ce950acff69a702"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0b3f141bb3b83ea7ce950acff69a702">◆ </a></span>SetAutoDoaUpdate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void respeaker::Snowboy1bDoaKwsNode::SetAutoDoaUpdate </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>auto_doa_update</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Whether or not update direction when hotword doesn't trigger. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">auto_doa_update</td><td>- Default is false. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad2b1c9352114308aa1460ba1137d2dde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2b1c9352114308aa1460ba1137d2dde">◆ </a></span>SetDirection()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void respeaker::Snowboy1bDoaKwsNode::SetDirection </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>dir</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Subclass should implement this method. (Not used, reserve) </p>
<p>Implements <a class="el" href="classrespeaker_1_1DirectionManagerNode.html#a6ea87b631500d76b7ba11b998fb665af">respeaker::DirectionManagerNode</a>.</p>
</div>
</div>
<a id="a07c93db2d65136306856330ea1fde8af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07c93db2d65136306856330ea1fde8af">◆ </a></span>SetDoAecWhenListen()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void respeaker::Snowboy1bDoaKwsNode::SetDoAecWhenListen </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>do_aec_when_listen</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Whether or not do AEC when the state machine is in LISTEN* state.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">do_aec_when_listen</td><td>- The default is true. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a67fa002e38fd1d639375ec287bb63bed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67fa002e38fd1d639375ec287bb63bed">◆ </a></span>SetTriggerPostConfirmThresholdTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void respeaker::Snowboy1bDoaKwsNode::SetTriggerPostConfirmThresholdTime </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>ms</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Time length over which we can confirm that trigger has been post for all beams, then we begin to scoring the triggerd beams, finally calculated the target beam</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ms</td><td>- milliseconds </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/gitlab-runner/builds/dc7d1974/0/seeedstudio/librespeaker/include/chain_nodes/<a class="el" href="snowboy__1b__doa__kws__node_8h_source.html">snowboy_1b_doa_kws_node.h</a></li>
</ul>
</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>