28#include "TargetProcessor.h"
37#define MAX_PROCESSING_INSTANCES (256)
40#define PACKET_LENGTH_WORDS(x) (x[0]>>16)
43#define PACKET_LENGTH_BYTES(x) ((x[0]>>16) * sizeof(x[0]))
46#define PACKET_INSTANCEID(x) (x[0] >> 8) & 0xff
50#define PACKET_OPCODE(x) ((INT32)x[0] & 0xffU)
84#define INCOMPLETE_PACKET 0
85#define COMPLETE_NEW_PACKET 1
86#define COMPLETE_REPEATED_PACKET 2
95void tuningResetByteEncoderUART(
void);
123INT32 tuningDecodeByteUART(UINT32 *packetBuffer, UINT8 ch);
150 INT32 tuningEncodeByteUART(UINT32 *packetBuffer, UINT8 * ch);
170void ComputeCheckSumPublic(UINT32 * pPacketBuffer);
204INT32
awe_getNextAWBCmd(
const UINT32 *pArray, UINT32 arraySize, UINT32 * pErrorOffset, UINT32 *pPacketBuffer);
INT32 float_to_fract32(FLOAT32 x)
Convert audio data from floating point to Fract32 sample by sample.
INT32 awe_getNextAWBCmd(const UINT32 *pArray, UINT32 arraySize, UINT32 *pErrorOffset, UINT32 *pPacketBuffer)
Get the next command from an array of AWB commands and write it into a packetBuffer to be processed.
FLOAT32 fract32_to_float(INT32 x)
Convert audio data from fract32 to float sample by sample.
void GenerateInstanceTableReply(UINT32 *pPacketBuffer, UINT32 numInstances, UINT32 *pInstanceTable)
Generate an instance table reply for Server based on the arguments.
A list of all AWE Server Commands.
A list of all possible Audio Weaver errors and their IDs.