You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
58 lines
1.4 KiB
#ifndef _AUFORMATS_H
|
|
#define _AUFORMATS_H
|
|
|
|
#include <pshpack8.h> /* Assume 8 byte packing throughout */
|
|
|
|
#define WAVE_FORMAT_INTELG723 0x0400
|
|
#define WAVE_FORMAT_MSG723 0x0042 /* Microsoft Corporation */
|
|
#define WAVE_FORMAT_LH_CELP 0x0070
|
|
#define WAVE_FORMAT_LH_SB8 0x0071
|
|
#define WAVE_FORMAT_LH_SB12 0x0072
|
|
#define WAVE_FORMAT_LH_SB16 0x0073
|
|
#define WAVE_FORMAT_MSRT24 0x0082 /* Microsoft RT24 */
|
|
#define WAVE_FORMAT_VOXWARE 0x0062
|
|
|
|
|
|
#define ACMDM_LH_DATA_PACKAGING (ACMDM_USER + 1)
|
|
|
|
|
|
// lParam1 when sending ACMDM_LH_DATA_PACKAGING
|
|
enum
|
|
{
|
|
LH_PACKET_DATA_NULL, // uninitialized
|
|
LH_PACKET_DATA_FRAMED, // always aligned on frame boundary
|
|
LH_PACKET_DATA_ANYTHING // do not assume alignment
|
|
};
|
|
|
|
#include <poppack.h> /* End byte packing */
|
|
|
|
|
|
#pragma pack(1) // byte packing
|
|
typedef struct msg723waveformat_tag {
|
|
WAVEFORMATEX wfx;
|
|
WORD wConfigWord;
|
|
DWORD dwCodeword1;
|
|
DWORD dwCodeword2;
|
|
} MSG723WAVEFORMAT;
|
|
|
|
typedef struct intelg723waveformat_tag {
|
|
WAVEFORMATEX wfx;
|
|
WORD wConfigWord;
|
|
DWORD dwCodeword1;
|
|
DWORD dwCodeword2;
|
|
} INTELG723WAVEFORMAT;
|
|
|
|
typedef struct tagVOXACM_WAVEFORMATEX
|
|
{
|
|
WAVEFORMATEX wfx;
|
|
DWORD dwCodecId;
|
|
DWORD dwMode;
|
|
char szKey[72];
|
|
} VOXACM_WAVEFORMATEX, *PVOXACM_WAVEFORMATEX, FAR *LPVOXACM_WAVEFORMATEX;
|
|
|
|
|
|
#pragma pack()
|
|
|
|
|
|
#endif
|
|
|