rhino/include/picovoice.h
Go to the documentation of this file.
1 /*
2  Copyright 2018-2022 Picovoice Inc.
3 
4  You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
5  file accompanying this source.
6 
7  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8  an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9  specific language governing permissions and limitations under the License.
10 */
11 
12 #ifndef PICOVOICE_H
13 #define PICOVOICE_H
14 
15 #include <stdint.h>
16 
17 #ifdef __cplusplus
18 
19 extern "C" {
20 
21 #endif
22 
23 #define PV_API __attribute__((visibility("default")))
24 
28 PV_API int32_t pv_sample_rate(void);
29 
33 typedef enum {
46 } pv_status_t;
47 
54 PV_API const char *pv_status_to_string(pv_status_t status);
55 
56 #ifdef __cplusplus
57 
58 }
59 
60 #endif
61 
62 #endif // PICOVOICE_H
pv_status_t
pv_status_t
Definition: rhino/include/picovoice.h:33
PV_STATUS_ACTIVATION_REFUSED
@ PV_STATUS_ACTIVATION_REFUSED
Definition: rhino/include/picovoice.h:45
PV_STATUS_SUCCESS
@ PV_STATUS_SUCCESS
Definition: rhino/include/picovoice.h:34
PV_STATUS_INVALID_ARGUMENT
@ PV_STATUS_INVALID_ARGUMENT
Definition: rhino/include/picovoice.h:37
PV_STATUS_OUT_OF_MEMORY
@ PV_STATUS_OUT_OF_MEMORY
Definition: rhino/include/picovoice.h:35
PV_STATUS_INVALID_STATE
@ PV_STATUS_INVALID_STATE
Definition: rhino/include/picovoice.h:40
pv_sample_rate
PV_API int32_t pv_sample_rate(void)
pv_status_t
pv_status_t
Definition: porcupine/include/picovoice.h:33
PV_STATUS_ACTIVATION_ERROR
@ PV_STATUS_ACTIVATION_ERROR
Definition: rhino/include/picovoice.h:42
PV_STATUS_ACTIVATION_THROTTLED
@ PV_STATUS_ACTIVATION_THROTTLED
Definition: rhino/include/picovoice.h:44
pv_status_to_string
const PV_API char * pv_status_to_string(pv_status_t status)
PV_STATUS_IO_ERROR
@ PV_STATUS_IO_ERROR
Definition: rhino/include/picovoice.h:36
PV_API
#define PV_API
Definition: rhino/include/picovoice.h:23
PV_STATUS_RUNTIME_ERROR
@ PV_STATUS_RUNTIME_ERROR
Definition: rhino/include/picovoice.h:41
PV_STATUS_ACTIVATION_LIMIT_REACHED
@ PV_STATUS_ACTIVATION_LIMIT_REACHED
Definition: rhino/include/picovoice.h:43
PV_STATUS_KEY_ERROR
@ PV_STATUS_KEY_ERROR
Definition: rhino/include/picovoice.h:39
PV_STATUS_STOP_ITERATION
@ PV_STATUS_STOP_ITERATION
Definition: rhino/include/picovoice.h:38


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:50