AcxDataFormatGetSamplesPerBlock function (acxdataformat.h)

The AcxDataFormatGetSamplesPerBlock function gets the number of samples per block for the specified data format.

Syntax

ULONG AcxDataFormatGetSamplesPerBlock(
  [in] ACXDATAFORMAT DataFormat
);

Parameters

[in] DataFormat

The data format for which to retrieve the number of samples per block.

Return value

Returns a ULONG value containing the number of samples per block for the specified DataFormat.

Remarks

Number of samples contained in one compressed block of audio data. This value is used in buffer estimation. This value is used with compressed formats that have a fixed number of samples within each block. This value can be set to zero if a variable number of samples is contained in each block of compressed audio data. In this case, buffer estimation and position information needs to be obtained in other ways.

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxdataformat.h
IRQL <= DISPATCH_LEVEL

See also