22 #ifndef FREERDP_CHANNEL_AUDIN_CLIENT_AUDIN_H
23 #define FREERDP_CHANNEL_AUDIN_CLIENT_AUDIN_H
25 #include <freerdp/api.h>
26 #include <freerdp/types.h>
28 #include <freerdp/channels/audin.h>
29 #include <freerdp/codec/audio.h>
40 typedef UINT (*AudinReceive)(
const AUDIO_FORMAT* format,
const BYTE* data,
size_t size,
46 UINT (*Open)(IAudinDevice* devplugin, AudinReceive receive,
void* userData);
47 BOOL (*FormatSupported)(IAudinDevice* devplugin,
const AUDIO_FORMAT* format);
49 (IAudinDevice* devplugin,
const AUDIO_FORMAT* format, UINT32 FramesPerPacket);
50 UINT (*Close)(IAudinDevice* devplugin);
51 UINT (*Free)(IAudinDevice* devplugin);
54 #define AUDIN_DEVICE_EXPORT_FUNC_NAME "freerdp_audin_client_subsystem_entry"
56 typedef UINT (*PREGISTERAUDINDEVICE)(IWTSPlugin* plugin, IAudinDevice* device);
61 PREGISTERAUDINDEVICE pRegisterAudinDevice;
63 rdpContext* rdpcontext;
67 typedef UINT(VCAPITYPE* PFREERDP_AUDIN_DEVICE_ENTRY)(