Jump to content

MMProgRef - Data Stream State Table

From EDM2
Revision as of 00:48, 9 June 2025 by Martini (talk | contribs) (Created page with "The following table identifies the data stream states during which a call to certain SPI functions returns an error to the application. Key: ;E:Function returns an error. ;OK:Function can be called. ;N/A:Not applicable. {| class="wikitable" ! SPI Function !! Running State !! Paused State !! Stopped State !! Flush Pending State !! Discard Pending State !! Destroy Pending State !! Pre-rolling State !! Pre-rolled State |- | SpiAssociate || E || E || OK || E || E || E ||...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The following table identifies the data stream states during which a call to certain SPI functions returns an error to the application.

Key:

E
Function returns an error.
OK
Function can be called.
N/A
Not applicable.
SPI Function Running State Paused State Stopped State Flush Pending State Discard Pending State Destroy Pending State Pre-rolling State Pre-rolled State
SpiAssociate E E OK E E E E E
SpiEnumerateHandlers N/A N/A N/A N/A N/A N/A N/A N/A
SpiGetHandler N/A N/A N/A N/A N/A N/A N/A N/A
SpiCreateStream N/A N/A N/A N/A N/A N/A N/A N/A
SpiDestroyStream OK OK OK OK OK E OK OK
SpiGetTime OK OK OK OK OK E OK OK
SpiSeekStream E E OK E E E E E
SpiStartStream E OK OK E E E E OK
SpiStartStream (Preroll) E OK OK E E E E OK
SpiStopStream (Flush) OK OK E E E E E E
SpiStopStream (Discard) OK OK E E E E OK OK
SpiStopStream (Pause) OK E E E E E E OK
SpiEnableEvent OK OK OK OK OK E OK OK
SpiDisableEvent OK OK OK OK OK E OK OK
SpiEnableSync OK OK OK OK OK E OK OK
SpiDisableSync OK OK OK OK OK E E OK
SpiGetProtocol N/A N/A N/A N/A N/A N/A N/A N/A
SpiEnumerateProtocols N/A N/A N/A N/A N/A N/A N/A N/A
SpiInstallProtocol N/A N/A N/A N/A N/A N/A N/A N/A
SpiDetermineSyncMaster N/A N/A N/A N/A N/A N/A N/A N/A