GetShapeDmaBytesPerFrame
Gets the number of bytes per frame.Syntax
Parameters
context _In_Type: SHAPE_DMA_CONTEXT* Pointer to a SHAPE_DMA_CONTEXT structure.
Return value
Type: UINT32 Number of bytes per frame.Remarks
This function calculates the total number of bytes in a complete frame by multiplying the number of channels by the number of samples per frame and by the number of bytes per sample. In the Direct Memory Access (DMA) buffer structure, the driver can specify the maximum number of bytes per frame. When transmitting data, the host controller splits the data buffer into packets of this size.Requirements
Header: shapedmacontext.h Supported platforms: XBOX One family consoles and XBOX Series consolesSee also
SHAPE_DMA_CONTEXTDMA
ShapeDmaContext
