Microsoft DirectX 8.1 (Visual Basic)

DirectPlayVoiceEvent8.OutputLevel

Called periodically to notify the user of the output level from the microphone.

OutputLevel(PeakLevel As Long, _
    OutputVolume As Long)

Parts

PeakLevel
Long value representing peak level across the current frame, that corresponds to approximately 1/10 second of audio stream. The current frame typically lags 50-200 ms behind real-time. This value can range from 0 through 99, with 0 being completely silent and 99 being the highest possible output level.
OutputVolume
Current playback volume for the client.