GetXmaFrameBitPosition
Calculates the bit offset of a specified frame within an XBOX Media Audio (XMA) block or within a set of blocks.Syntax
Parameters
pXmaData _In_bytecount_(nXmaDataBytes)Type: BYTE* Pointer to XMA blocks. nXmaDataBytes
Type: DWORD Size of pXmaData, in bytes. nStreamIndex
Type: DWORD Stream within which to seek. nDesiredFrame
Type: DWORD Frame sought.
Return value
Type: DWORD Returns the bit position; on failure, returns 0.Remarks
This function calculates the bit offset of a given frame within an XMA block or set of blocks. It returns 0 with a failure. The pointer to the XMA block(s) uses thepXmadata parameter. For an overview of the audio architecture of XBOX One, see The sound of the future: The audio architecture in XBOX One.
