Microsoft DirectX 9.0

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 Values

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