Microsoft DirectX 9.0 SDK Update (Summer 2003)

DVMSGID_RECORDSTART Message


Microsoft® DirectPlay® Voice generates the DVMSGID_RECORDSTART message when audio input on the local client begins.

The DVMSG_RECORDSTART structure contains information for the DVMSGID_RECORDSTART system message.

Syntax

typedef struct {
    DWORD dwSize;
    DWORD dwPeakLevel;
    PVOID pvLocalPlayerContext;
}  DVMSG_RECORDSTART *LPDVMSG_RECORDSTART, *PDVMSG_RECORDSTART;

Members

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 player. This value is set through the pvPlayerContext member of the DVMSGID_CREATEVOICEPLAYER message structure.

Remarks

Return from the message callback function with DV_OK.

This message can be sent, for instance, when the voice activation sensitivity level is exceeded or when a valid target is specified in push-to-talk mode.

Message Information

Headerdvoice.h
Minimum operating systems Windows 98


© 2003 Microsoft Corporation. All rights reserved.