Classes | Macros | Typedefs | Enumerations | Functions
porcupine/demo/c/dr_libs/wip/dr_opus.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <wchar.h>
#include <assert.h>
#include <errno.h>
Include dependency graph for porcupine/demo/c/dr_libs/wip/dr_opus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dropus
 
struct  dropus_allocation_callbacks
 
struct  dropus_stream
 
struct  dropus_stream_frame
 
struct  dropus_stream_packet
 

Macros

#define DROPUS_ACCESS_DENIED   -6
 
#define DROPUS_ADDRESS_FAMILY_NOT_SUPPORTED   -43
 
#define DROPUS_ALREADY_CONNECTED   -46
 
#define DROPUS_ALREADY_EXISTS   -8
 
#define DROPUS_ALREADY_IN_USE   -23
 
#define DROPUS_API   extern
 
#define DROPUS_AT_END   -53
 
#define DROPUS_BAD_ADDRESS   -24
 
#define DROPUS_BAD_DATA   -101
 
#define DROPUS_BAD_MESSAGE   -31
 
#define DROPUS_BAD_PIPE   -26
 
#define DROPUS_BAD_PROTOCOL   -39
 
#define DROPUS_BAD_SEEK   -25
 
#define DROPUS_BUSY   -19
 
#define DROPUS_CANCELLED   -51
 
#define DROPUS_CONNECTION_REFUSED   -48
 
#define DROPUS_CONNECTION_RESET   -45
 
#define DROPUS_CRC_MISMATCH   -100
 
#define DROPUS_DEADLOCK   -27
 
#define DROPUS_DIRECTORY_NOT_EMPTY   -16
 
#define DROPUS_DOES_NOT_EXIST   -7
 
#define DROPUS_END_OF_FILE   -17
 
#define DROPUS_ERROR   -1 /* A generic error. */
 
#define DROPUS_FALSE   0
 
#define DROPUS_IN_PROGRESS   -50
 
#define DROPUS_INLINE
 
#define DROPUS_INTERRUPT   -21
 
#define DROPUS_INVALID_ARGS   -2
 
#define DROPUS_INVALID_DATA   -33
 
#define DROPUS_INVALID_FILE   -10
 
#define DROPUS_INVALID_OPERATION   -3
 
#define DROPUS_IO_ERROR   -20
 
#define DROPUS_IS_DIRECTORY   -15
 
#define DROPUS_MAX_OPUS_FRAMES_PER_PACKET   48 /* RFC 6716 - Section 3.2.5 */
 
#define DROPUS_MAX_PCM_FRAMES_PER_PACKET   6144 /* RFC 6716 - Section 3.2.5. Maximum of 120ms. Maximum rate is 48kHz. 6144 = 120*48. */
 
#define DROPUS_MEMORY_ALREADY_MAPPED   -52
 
#define DROPUS_NAME_TOO_LONG   -13
 
#define DROPUS_NO_ADDRESS   -38
 
#define DROPUS_NO_DATA_AVAILABLE   -32
 
#define DROPUS_NO_HOST   -49
 
#define DROPUS_NO_MESSAGE   -30
 
#define DROPUS_NO_NETWORK   -35
 
#define DROPUS_NO_SPACE   -18
 
#define DROPUS_NOT_CONNECTED   -47
 
#define DROPUS_NOT_DIRECTORY   -14
 
#define DROPUS_NOT_IMPLEMENTED   -29
 
#define DROPUS_NOT_SOCKET   -37
 
#define DROPUS_NOT_UNIQUE   -36
 
#define DROPUS_OUT_OF_MEMORY   -4
 
#define DROPUS_OUT_OF_RANGE   -5
 
#define DROPUS_PATH_TOO_LONG   -12
 
#define DROPUS_PRIVATE   static
 
#define DROPUS_PROTOCOL_FAMILY_NOT_SUPPORTED   -42
 
#define DROPUS_PROTOCOL_NOT_SUPPORTED   -41
 
#define DROPUS_PROTOCOL_UNAVAILABLE   -40
 
#define DROPUS_SIZE_MAX   0xFFFFFFFF /* When SIZE_MAX is not defined by the standard library just default to the maximum 32-bit unsigned integer. */
 
#define DROPUS_SOCKET_NOT_SUPPORTED   -44
 
#define DROPUS_SUCCESS   0
 
#define DROPUS_TIMEOUT   -34
 
#define DROPUS_TOO_BIG   -11
 
#define DROPUS_TOO_MANY_LINKS   -28
 
#define DROPUS_TOO_MANY_OPEN_FILES   -9
 
#define DROPUS_TRUE   1
 
#define DROPUS_UNAVAILABLE   -22
 
#define NULL   0
 

Typedefs

typedef dropus_uint32 dropus_bool32
 
typedef dropus_uint8 dropus_bool8
 
typedef void * dropus_handle
 
typedef int16_t dropus_int16
 
typedef int32_t dropus_int32
 
typedef int64_t dropus_int64
 
typedef int8_t dropus_int8
 
typedef void(* dropus_proc) (void)
 
typedef void * dropus_ptr
 
typedef size_t(* dropus_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead)
 
typedef int dropus_result
 
typedef dropus_bool32(* dropus_seek_proc) (void *pUserData, int offset, dropus_seek_origin origin)
 
typedef uint16_t dropus_uint16
 
typedef uint32_t dropus_uint32
 
typedef uint64_t dropus_uint64
 
typedef uint8_t dropus_uint8
 
typedef uintptr_t dropus_uintptr
 

Enumerations

enum  dropus_mode {
  dropus_mode_silk, dropus_mode_celt, dropus_mode_hybrid, dropus_mode_silk,
  dropus_mode_celt, dropus_mode_hybrid
}
 
enum  dropus_seek_origin { dropus_seek_origin_start, dropus_seek_origin_current, dropus_seek_origin_start, dropus_seek_origin_current }
 

Functions

DROPUS_API void dropus_free (void *p, const dropus_allocation_callbacks *pAllocationCallbacks)
 
DROPUS_API dropus_result dropus_init (dropus *pOpus, dropus_read_proc onRead, dropus_seek_proc onSeek, void *pUserData, const dropus_allocation_callbacks *pAllocationCallbacks)
 
DROPUS_API dropus_result dropus_init_file (dropus *pOpus, const char *pFilePath, const dropus_allocation_callbacks *pAllocationCallbacks)
 
DROPUS_API dropus_result dropus_init_file_w (dropus *pOpus, const wchar_t *pFilePath, const dropus_allocation_callbacks *pAllocationCallbacks)
 
DROPUS_API dropus_result dropus_init_memory (dropus *pOpus, const void *pData, size_t dataSize, const dropus_allocation_callbacks *pAllocationCallbacks)
 
DROPUS_API void * dropus_malloc (size_t sz, const dropus_allocation_callbacks *pAllocationCallbacks)
 
DROPUS_API void * dropus_realloc (void *p, size_t sz, const dropus_allocation_callbacks *pAllocationCallbacks)
 
const DROPUS_API char * dropus_result_description (dropus_result result)
 
DROPUS_API dropus_result dropus_stream_decode_packet (dropus_stream *pOpusStream, const void *pData, size_t dataSize)
 
DROPUS_API dropus_result dropus_stream_init (dropus_stream *pOpusStream)
 
DROPUS_API void dropus_uninit (dropus *pOpus)
 

Macro Definition Documentation

◆ DROPUS_ACCESS_DENIED

#define DROPUS_ACCESS_DENIED   -6

Definition at line 137 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_ADDRESS_FAMILY_NOT_SUPPORTED

#define DROPUS_ADDRESS_FAMILY_NOT_SUPPORTED   -43

Definition at line 174 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_ALREADY_CONNECTED

#define DROPUS_ALREADY_CONNECTED   -46

Definition at line 177 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_ALREADY_EXISTS

#define DROPUS_ALREADY_EXISTS   -8

Definition at line 139 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_ALREADY_IN_USE

#define DROPUS_ALREADY_IN_USE   -23

Definition at line 154 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_API

#define DROPUS_API   extern

Definition at line 125 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_AT_END

#define DROPUS_AT_END   -53

Definition at line 184 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BAD_ADDRESS

#define DROPUS_BAD_ADDRESS   -24

Definition at line 155 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BAD_DATA

#define DROPUS_BAD_DATA   -101

Definition at line 186 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BAD_MESSAGE

#define DROPUS_BAD_MESSAGE   -31

Definition at line 162 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BAD_PIPE

#define DROPUS_BAD_PIPE   -26

Definition at line 157 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BAD_PROTOCOL

#define DROPUS_BAD_PROTOCOL   -39

Definition at line 170 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BAD_SEEK

#define DROPUS_BAD_SEEK   -25

Definition at line 156 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_BUSY

#define DROPUS_BUSY   -19

Definition at line 150 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_CANCELLED

#define DROPUS_CANCELLED   -51

Definition at line 182 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_CONNECTION_REFUSED

#define DROPUS_CONNECTION_REFUSED   -48

Definition at line 179 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_CONNECTION_RESET

#define DROPUS_CONNECTION_RESET   -45

Definition at line 176 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_CRC_MISMATCH

#define DROPUS_CRC_MISMATCH   -100

Definition at line 185 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_DEADLOCK

#define DROPUS_DEADLOCK   -27

Definition at line 158 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_DIRECTORY_NOT_EMPTY

#define DROPUS_DIRECTORY_NOT_EMPTY   -16

Definition at line 147 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_DOES_NOT_EXIST

#define DROPUS_DOES_NOT_EXIST   -7

Definition at line 138 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_END_OF_FILE

#define DROPUS_END_OF_FILE   -17

Definition at line 148 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_ERROR

#define DROPUS_ERROR   -1 /* A generic error. */

Definition at line 132 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_FALSE

#define DROPUS_FALSE   0

Definition at line 65 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_IN_PROGRESS

#define DROPUS_IN_PROGRESS   -50

Definition at line 181 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_INLINE

#define DROPUS_INLINE

Definition at line 97 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_INTERRUPT

#define DROPUS_INTERRUPT   -21

Definition at line 152 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_INVALID_ARGS

#define DROPUS_INVALID_ARGS   -2

Definition at line 133 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_INVALID_DATA

#define DROPUS_INVALID_DATA   -33

Definition at line 164 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_INVALID_FILE

#define DROPUS_INVALID_FILE   -10

Definition at line 141 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_INVALID_OPERATION

#define DROPUS_INVALID_OPERATION   -3

Definition at line 134 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_IO_ERROR

#define DROPUS_IO_ERROR   -20

Definition at line 151 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_IS_DIRECTORY

#define DROPUS_IS_DIRECTORY   -15

Definition at line 146 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_MAX_OPUS_FRAMES_PER_PACKET

#define DROPUS_MAX_OPUS_FRAMES_PER_PACKET   48 /* RFC 6716 - Section 3.2.5 */

Definition at line 196 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_MAX_PCM_FRAMES_PER_PACKET

#define DROPUS_MAX_PCM_FRAMES_PER_PACKET   6144 /* RFC 6716 - Section 3.2.5. Maximum of 120ms. Maximum rate is 48kHz. 6144 = 120*48. */

Definition at line 197 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_MEMORY_ALREADY_MAPPED

#define DROPUS_MEMORY_ALREADY_MAPPED   -52

Definition at line 183 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NAME_TOO_LONG

#define DROPUS_NAME_TOO_LONG   -13

Definition at line 144 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NO_ADDRESS

#define DROPUS_NO_ADDRESS   -38

Definition at line 169 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NO_DATA_AVAILABLE

#define DROPUS_NO_DATA_AVAILABLE   -32

Definition at line 163 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NO_HOST

#define DROPUS_NO_HOST   -49

Definition at line 180 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NO_MESSAGE

#define DROPUS_NO_MESSAGE   -30

Definition at line 161 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NO_NETWORK

#define DROPUS_NO_NETWORK   -35

Definition at line 166 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NO_SPACE

#define DROPUS_NO_SPACE   -18

Definition at line 149 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NOT_CONNECTED

#define DROPUS_NOT_CONNECTED   -47

Definition at line 178 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NOT_DIRECTORY

#define DROPUS_NOT_DIRECTORY   -14

Definition at line 145 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NOT_IMPLEMENTED

#define DROPUS_NOT_IMPLEMENTED   -29

Definition at line 160 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NOT_SOCKET

#define DROPUS_NOT_SOCKET   -37

Definition at line 168 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_NOT_UNIQUE

#define DROPUS_NOT_UNIQUE   -36

Definition at line 167 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_OUT_OF_MEMORY

#define DROPUS_OUT_OF_MEMORY   -4

Definition at line 135 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_OUT_OF_RANGE

#define DROPUS_OUT_OF_RANGE   -5

Definition at line 136 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_PATH_TOO_LONG

#define DROPUS_PATH_TOO_LONG   -12

Definition at line 143 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_PRIVATE

#define DROPUS_PRIVATE   static

Definition at line 126 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_PROTOCOL_FAMILY_NOT_SUPPORTED

#define DROPUS_PROTOCOL_FAMILY_NOT_SUPPORTED   -42

Definition at line 173 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_PROTOCOL_NOT_SUPPORTED

#define DROPUS_PROTOCOL_NOT_SUPPORTED   -41

Definition at line 172 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_PROTOCOL_UNAVAILABLE

#define DROPUS_PROTOCOL_UNAVAILABLE   -40

Definition at line 171 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_SIZE_MAX

#define DROPUS_SIZE_MAX   0xFFFFFFFF /* When SIZE_MAX is not defined by the standard library just default to the maximum 32-bit unsigned integer. */

Definition at line 78 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_SOCKET_NOT_SUPPORTED

#define DROPUS_SOCKET_NOT_SUPPORTED   -44

Definition at line 175 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_SUCCESS

#define DROPUS_SUCCESS   0

Definition at line 131 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_TIMEOUT

#define DROPUS_TIMEOUT   -34

Definition at line 165 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_TOO_BIG

#define DROPUS_TOO_BIG   -11

Definition at line 142 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_TOO_MANY_LINKS

#define DROPUS_TOO_MANY_LINKS   -28

Definition at line 159 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_TOO_MANY_OPEN_FILES

#define DROPUS_TOO_MANY_OPEN_FILES   -9

Definition at line 140 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_TRUE

#define DROPUS_TRUE   1

Definition at line 64 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ DROPUS_UNAVAILABLE

#define DROPUS_UNAVAILABLE   -22

Definition at line 153 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ NULL

#define NULL   0

Definition at line 72 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

Typedef Documentation

◆ dropus_bool32

Definition at line 63 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_bool8

Definition at line 62 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_handle

typedef void* dropus_handle

Definition at line 67 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_int16

typedef int16_t dropus_int16

Definition at line 54 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_int32

typedef int32_t dropus_int32

Definition at line 56 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_int64

typedef int64_t dropus_int64

Definition at line 58 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_int8

typedef int8_t dropus_int8

Definition at line 52 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_proc

typedef void(* dropus_proc) (void)

Definition at line 69 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_ptr

typedef void* dropus_ptr

Definition at line 68 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_read_proc

typedef size_t(* dropus_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead)

Definition at line 250 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_result

typedef int dropus_result

Definition at line 130 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_seek_proc

typedef dropus_bool32(* dropus_seek_proc) (void *pUserData, int offset, dropus_seek_origin origin)

Definition at line 251 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_uint16

typedef uint16_t dropus_uint16

Definition at line 55 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_uint32

typedef uint32_t dropus_uint32

Definition at line 57 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_uint64

typedef uint64_t dropus_uint64

Definition at line 59 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_uint8

typedef uint8_t dropus_uint8

Definition at line 53 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_uintptr

typedef uintptr_t dropus_uintptr

Definition at line 60 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

Enumeration Type Documentation

◆ dropus_mode

Enumerator
dropus_mode_silk 
dropus_mode_celt 
dropus_mode_hybrid 
dropus_mode_silk 
dropus_mode_celt 
dropus_mode_hybrid 

Definition at line 199 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

◆ dropus_seek_origin

Enumerator
dropus_seek_origin_start 
dropus_seek_origin_current 
dropus_seek_origin_start 
dropus_seek_origin_current 

Definition at line 244 of file porcupine/demo/c/dr_libs/wip/dr_opus.h.

Function Documentation

◆ dropus_free()

DROPUS_API void dropus_free ( void *  p,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_init()

DROPUS_API dropus_result dropus_init ( dropus pOpus,
dropus_read_proc  onRead,
dropus_seek_proc  onSeek,
void *  pUserData,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_init_file()

DROPUS_API dropus_result dropus_init_file ( dropus pOpus,
const char *  pFilePath,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_init_file_w()

DROPUS_API dropus_result dropus_init_file_w ( dropus pOpus,
const wchar_t *  pFilePath,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_init_memory()

DROPUS_API dropus_result dropus_init_memory ( dropus pOpus,
const void *  pData,
size_t  dataSize,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_malloc()

DROPUS_API void* dropus_malloc ( size_t  sz,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_realloc()

DROPUS_API void* dropus_realloc ( void *  p,
size_t  sz,
const dropus_allocation_callbacks pAllocationCallbacks 
)

◆ dropus_result_description()

const DROPUS_API char* dropus_result_description ( dropus_result  result)

◆ dropus_stream_decode_packet()

DROPUS_API dropus_result dropus_stream_decode_packet ( dropus_stream pOpusStream,
const void *  pData,
size_t  dataSize 
)

◆ dropus_stream_init()

DROPUS_API dropus_result dropus_stream_init ( dropus_stream pOpusStream)

◆ dropus_uninit()

DROPUS_API void dropus_uninit ( dropus pOpus)


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