Microsoft DirectX 8.1 (Visual Basic)

DirectPlayVoiceEvent8.PlayerOutputLevel

Called periodically to notify the user of the output level of an individual player's voice stream. It is generated while voice is being played back for an individual player. If multiple player voices are being played, one message for each player speaking will be sent each notification period.

PlayerOutputLevel(SourcePlayerID As Long, _
    PeakLevel As Long)

Parts

SourcePlayerID
Long value set to the ID of the player whose voice is being played back.
PeakLevel
Integer representing the peak output level of the player's voice stream. This value is in the range from 0 through 99, with 0 being completely silent and 99 being the highest possible output level