#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <dlfcn.h>
#include "dr_wav.h"
#include "pv_porcupine.h"
Go to the source code of this file.
◆ DR_WAV_IMPLEMENTATION
#define DR_WAV_IMPLEMENTATION |
◆ close_dl()
static void close_dl |
( |
void * |
handle | ) |
|
|
static |
◆ load_symbol()
static void* load_symbol |
( |
void * |
handle, |
|
|
const char * |
symbol |
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ open_dl()
static void* open_dl |
( |
const char * |
dl_path | ) |
|
|
static |
◆ print_dl_error()
static void print_dl_error |
( |
const char * |
message | ) |
|
|
static |
◆ print_usage()
void print_usage |
( |
const char * |
program_name | ) |
|
◆ long_options
struct option long_options[] |
|
static |
Initial value:= {
{
"library_path", required_argument,
NULL,
'l'},
{
"model_path", required_argument,
NULL,
'm'},
{
"keyword_path", required_argument,
NULL,
'k'},
{
"sensitivity", required_argument,
NULL,
't'},
{
"access_key", required_argument,
NULL,
'a'},
{
"wav_path", required_argument,
NULL,
'w'}
}
Definition at line 89 of file porcupine_demo_file.c.