Microsoft DirectX 8.1 (C++)

DVMSGID_RECORDSTART

Microsoft® DirectPlay® Voice generates the DVMSGID_RECORDSTART message when audio input on the local client begins. This can be caused by the voice activation sensitivity level being exceeded or when a valid target is specified in push-to-talk mode.

DVMSG_RECORDSTART

The DVMSG_RECORDSTART structure contains information for the DVMSGID_RECORDSTART system message.

typedef struct {
    DWORD  dwSize;
    DWORD  dwPeakLevel;
    PVOID pvLocalPlayerContext;
} DVMSG_RECORDSTART, *LPDVMSG_RECORDSTART, *PDVMSG_RECORDSTART;
dwSize
Size of the DVMSG_RECORDSTART message structure.
dwPeakLevel
Voice activation level that caused the transmission to begin. In push-to-talk mode, this value is 0.
pvLocalPlayerContext
Pointer to the context value set for the local player. This value is set through the pvPlayerContext member of the DVMSG_CREATEVOICEPLAYER message structure.

Return Values

Return DV_OK.

Requirements

  Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
  Windows 98/Me: Available as a redistributable for Windows 98 and later.
  Header: Declared in Dvoice.h.