#include "asr/baidu/asr_online.h"
#include <iostream>
#include <thread>
Go to the source code of this file.
|
| void | fileToASR (const std::string pcm_file) |
| |
| int | main (int argc, char **argv) |
| |
| void | recordToASR (const std::string pcm_file) |
| |
| void | usage (int &asr_mode) |
| |
| Enumerator |
|---|
| READ_PCM_FILE_TO_ASR |
|
| RECORDE_TO_ASR |
|
| READ_PCM_FILE_TO_ASR |
|
| RECORDE_TO_ASR |
|
Definition at line 9 of file baidu_asr_example.cpp.
| void fileToASR |
( |
const std::string |
pcm_file | ) |
|
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
| void recordToASR |
( |
const std::string |
pcm_file | ) |
|
| void usage |
( |
int & |
asr_mode | ) |
|
| const std::string base_path = "../../.." |
| const int ONE_CHANNEL = 1 |
| const int TWO_CHANNEL = 2 |