21 #ifndef FREERDP_CHANNEL_AUDIN_H
22 #define FREERDP_CHANNEL_AUDIN_H
24 #include <freerdp/api.h>
25 #include <freerdp/codec/audio.h>
26 #include <freerdp/dvc.h>
27 #include <freerdp/types.h>
33 #define AUDIN_CHANNEL_NAME "audin"
39 #define AUDIN_DVC_CHANNEL_NAME "AUDIO_INPUT"
48 SNDIN_VERSION_Version_1 = 0x00000001,
49 SNDIN_VERSION_Version_2 = 0x00000002,
50 } SNDIN_VERSION_Version;
55 SNDIN_VERSION_Version Version;
62 UINT32 cbSizeFormatsPacket;
69 SPEAKER_FRONT_LEFT = 0x00000001,
70 SPEAKER_FRONT_RIGHT = 0x00000002,
71 SPEAKER_FRONT_CENTER = 0x00000004,
72 SPEAKER_LOW_FREQUENCY = 0x00000008,
73 SPEAKER_BACK_LEFT = 0x00000010,
74 SPEAKER_BACK_RIGHT = 0x00000020,
75 SPEAKER_FRONT_LEFT_OF_CENTER = 0x00000040,
76 SPEAKER_FRONT_RIGHT_OF_CENTER = 0x00000080,
77 SPEAKER_BACK_CENTER = 0x00000100,
78 SPEAKER_SIDE_LEFT = 0x00000200,
79 SPEAKER_SIDE_RIGHT = 0x00000400,
80 SPEAKER_TOP_CENTER = 0x00000800,
81 SPEAKER_TOP_FRONT_LEFT = 0x00001000,
82 SPEAKER_TOP_FRONT_CENTER = 0x00002000,
83 SPEAKER_TOP_FRONT_RIGHT = 0x00004000,
84 SPEAKER_TOP_BACK_LEFT = 0x00008000,
85 SPEAKER_TOP_BACK_CENTER = 0x00010000,
86 SPEAKER_TOP_BACK_RIGHT = 0x00020000,
93 UINT16 wValidBitsPerSample;
94 UINT16 wSamplesPerBlock;
97 AUDIN_SPEAKER dwChannelMask;
104 UINT32 FramesPerPacket;
105 UINT32 initialFormat;