Microsoft DirectX 8.1 (C++)

IMemoryData::SetActual

Sets the amount of audio data currently in the object.

Syntax

HRESULT SetActual(
  DWORD cbDataValid
  );

Parameters

cbDataValid

[in] Amount of data, in bytes.

Return Value

Returns S_OK if successful or E_POINTER if the required parameter is NULL.

Remarks

This method is usually called by the IAudioMediaStream or IAudioStreamSample object, rather than by the application.

See Also