Typedefs | Enumerations | Functions | Variables
awaken_offline_example.cpp File Reference
#include "awaken/awaken_offline.h"
#include <iostream>
#include <thread>
Include dependency graph for awaken_offline_example.cpp:

Go to the source code of this file.

Typedefs

typedef enum AWAKEN_MODE AWAKEN_MODE
 

Enumerations

enum  AWAKEN_MODE { READ_PCM_FILE_TO_ASR = 0, RECORDE_TO_ASR }
 

Functions

void isWaken_file ()
 
void isWaken_mic ()
 
int main (int argc, char **argv)
 
void usage (int &awaken_mode)
 

Variables

AwakenOffline awaken_demo
 
const std::string base_path = "../../.."
 
const int ONE_CHANNEL = 1
 
const int TWO_CHANNEL = 2
 

Typedef Documentation

typedef enum AWAKEN_MODE AWAKEN_MODE

Enumeration Type Documentation

Enumerator
READ_PCM_FILE_TO_ASR 
RECORDE_TO_ASR 

Definition at line 11 of file awaken_offline_example.cpp.

Function Documentation

void isWaken_file ( )

Definition at line 29 of file awaken_offline_example.cpp.

void isWaken_mic ( )

Definition at line 49 of file awaken_offline_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 72 of file awaken_offline_example.cpp.

void usage ( int &  awaken_mode)

Definition at line 17 of file awaken_offline_example.cpp.

Variable Documentation

AwakenOffline awaken_demo

Definition at line 5 of file awaken_offline_example.cpp.

const std::string base_path = "../../.."

Definition at line 7 of file awaken_offline_example.cpp.

const int ONE_CHANNEL = 1

Definition at line 8 of file awaken_offline_example.cpp.

const int TWO_CHANNEL = 2

Definition at line 9 of file awaken_offline_example.cpp.



xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54