Jump to content

MMProgRef - Data Stream State Table

From EDM2
Revision as of 00:49, 9 June 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

Multimedia Programming Reference
  1. Introduction
  2. What's New...
  3. MCI Functions
  4. High-Level Macro Service Functions
  5. Subsystem Messages
  6. Notification Messages
  7. MCI Command Messages
  8. String Commands
  9. Memory Playlist Commands
  10. Graphic Button Control
  11. Secondary Window Functions
  12. MMIO Functions
  13. MMIO Messages
  14. CODEC Messages
  15. DIVE Functions
  16. Real-Time MIDI Functions
  17. SPI Functions
  18. Data Stream State Table
  19. SMH Messages
  20. DDCMD Messages
  21. VSD Commands
  22. SHD Messages
  23. SHC Messages
  24. Data Types
  25. Types of MIDI Messages
  26. Multimedia Specification Overview
  27. Resource Interchange File Format
  28. Multimedia File Formats
  29. RIFF Compound Files and Elements - Sharing and Access
  30. Return Codes
  31. Notices
  32. Glossary

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