6#include "Mach1Point3D.h"
7#include "Mach1Point4D.h"
9#if defined(Mach1DecodeCore_h) || defined(Mach1EncodeCore_h) || defined(Mach1PositionalCore_h) || defined(Mach1TranscodeCore_h) || defined(Mach1AudioTimelineCore_h)
11# if defined(_WINDOWS) || defined(_WIN32)
12# define M1_API __declspec(dllexport)
19# if !defined(M1_STATIC) && (defined(_WINDOWS) || defined(_WIN32))
20# define M1_API __declspec(dllimport)
27enum Mach1PlatformType {
28 Mach1PlatformDefault = (int)0,
31 Mach1PlatformOfEasyCam,
34 Mach1PlatformiOSTableTop_ZVertical,
35 Mach1PlatformiOSPortraitHandheld_YVertical,
36 Mach1PlatformiOSPortrait_YawOnly
40 M1DecodeSpatial_4 = (int)0,
48M1_API
void *Mach1DecodeCAPI_create();
49M1_API
void Mach1DecodeCAPI_delete(
void *M1obj);
51M1_API
void Mach1DecodeCAPI_setDecodeMode(
void *M1obj,
enum Mach1DecodeMode mode);
52M1_API
void Mach1DecodeCAPI_setPlatformType(
void *M1obj,
enum Mach1PlatformType platformType);
54M1_API
enum Mach1DecodeMode Mach1DecodeCAPI_getDecodeMode(
void *M1obj);
55M1_API
enum Mach1PlatformType Mach1DecodeCAPI_getPlatformType(
void *M1obj);
57M1_API
void Mach1DecodeCAPI_decode(
void *M1obj,
float Yaw,
float Pitch,
float Roll,
float *result,
int bufferSize,
int sampleIndex);
58M1_API
void Mach1DecodeCAPI_decodeCoeffs(
void *M1obj,
float *result,
int bufferSize,
int sampleIndex);
59M1_API
void Mach1DecodeCAPI_decodePannedCoeffs(
void *M1obj,
float *result,
int bufferSize,
int sampleIndex,
bool applyPanLaw);
60M1_API
void Mach1DecodeCAPI_decodeCoeffsUsingTranscodeMatrix(
void *M1obj,
float *matrix,
int channels,
float *result,
int bufferSize,
int sampleIndex);
62M1_API
void Mach1DecodeCAPI_setFilterSpeed(
void *M1obj,
float filterSpeed);
63M1_API
int Mach1DecodeCAPI_getFormatChannelCount(
void *M1obj);
64M1_API
int Mach1DecodeCAPI_getFormatCoeffCount(
void *M1obj);
65M1_API
void Mach1DecodeCAPI_setRotation(
void *M1obj,
Mach1Point3D newRotationFromMinusOnetoOne);
66M1_API
void Mach1DecodeCAPI_setRotationDegrees(
void *M1obj,
Mach1Point3D newRotationDegrees);
67M1_API
void Mach1DecodeCAPI_setRotationRadians(
void *M1obj,
Mach1Point3D newRotationRadians);
68M1_API
void Mach1DecodeCAPI_setRotationQuat(
void *M1obj,
Mach1Point4D newRotationQuat);
70M1_API
long Mach1DecodeCAPI_getCurrentTime(
void *M1obj);
71M1_API
long Mach1DecodeCAPI_getLastCalculationTime(
void *M1obj);
73M1_API
char *Mach1DecodeCAPI_getLog(
void *M1obj);
75M1_API
Mach1Point3D Mach1DecodeCAPI_getCurrentAngle(
void *M1obj);
Definition Mach1Point3D.h:17
Definition Mach1Point4D.h:15