27#if !defined(_BROADVOICE_BROADVOICE_H_)
28#define _BROADVOICE_BROADVOICE_H_
30#if defined(_M_IX86) || defined(_M_X64)
31#if defined(BROADVOICE_EXPORTS)
32#define BV_DECLARE(type) __declspec(dllexport) type __stdcall
33#define BV_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
34#define BV_DECLARE_DATA __declspec(dllexport)
36#define BV_DECLARE(type) __declspec(dllimport) type __stdcall
37#define BV_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
38#define BV_DECLARE_DATA __declspec(dllimport)
40#elif defined(BROADVOICE_USE_EXPORT_CAPABILITY) && (defined(__GNUC__) || defined(__SUNCC__))
41#define BV_DECLARE(type) __attribute__((visibility("default"))) type
42#define BV_DECLARE_NONSTD(type) __attribute__((visibility("default"))) type
43#define BV_DECLARE_DATA __attribute__((visibility("default")))
45#define BV_DECLARE(type) type
46#define BV_DECLARE_NONSTD(type) type
47#define BV_DECLARE_DATA
55#define BV16_FRAME_LEN 40
56#define BV32_FRAME_LEN 80
58#if defined(__cplusplus)
63BV_DECLARE(bv16_encode_state_t *) bv16_encode_init(bv16_encode_state_t *s);
65BV_DECLARE(
int) bv16_encode(bv16_encode_state_t *cs,
70BV_DECLARE(
int) bv16_encode_release(bv16_encode_state_t *s);
72BV_DECLARE(
int) bv16_encode_free(bv16_encode_state_t *s);
75BV_DECLARE(bv16_decode_state_t *) bv16_decode_init(bv16_decode_state_t *s);
77BV_DECLARE(
int) bv16_decode(bv16_decode_state_t *s,
82BV_DECLARE(
int) bv16_fillin(bv16_decode_state_t *s,
86BV_DECLARE(
int) bv16_decode_release(bv16_decode_state_t *s);
88BV_DECLARE(
int) bv16_decode_free(bv16_decode_state_t *s);
91BV_DECLARE(bv32_encode_state_t *) bv32_encode_init(bv32_encode_state_t *s);
93BV_DECLARE(
int) bv32_encode(bv32_encode_state_t *s,
98BV_DECLARE(
int) bv32_encode_release(bv32_encode_state_t *s);
100BV_DECLARE(
int) bv32_encode_free(bv32_encode_state_t *s);
103BV_DECLARE(bv32_decode_state_t *) bv32_decode_init(bv32_decode_state_t *s);
105BV_DECLARE(
int) bv32_decode(bv32_decode_state_t *s,
110BV_DECLARE(
int) bv32_fillin(bv32_decode_state_t *ds,
114BV_DECLARE(
int) bv32_decode_release(bv32_decode_state_t *s);
116BV_DECLARE(
int) bv32_decode_free(bv32_decode_state_t *s);
118#if defined(__cplusplus)
Definition broadvoice/private/broadvoice.h:72
Definition broadvoice/private/broadvoice.h:101
Definition broadvoice/private/broadvoice.h:129
Definition broadvoice/private/broadvoice.h:157