Changeset 88723 in vbox for trunk/include/VBox
- Timestamp:
- Apr 27, 2021 10:03:19 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144041
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r88720 r88723 910 910 * that this is an enabled stream! */ 911 911 #define PDMAUDIOSTREAMSTS_FLAGS_PAUSED RT_BIT_32(2) 912 /** Whether this stream was marked as being disabled 912 /** Indicates that the stream is draining (output only). 913 * Whether this stream was marked as being disabled 913 914 * but there are still associated guest output streams 914 915 * which rely on its data. */ 915 916 #define PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE RT_BIT_32(3) 916 /** Whether this stream is in re-initialization phase. 917 * All other bits remain untouched to be able to restore 918 * the stream's state after the re-initialization bas been 919 * finished. */ 920 #define PDMAUDIOSTREAMSTS_FLAGS_PENDING_REINIT RT_BIT_32(4) 917 /** Whether this stream is in re-initialization phase and requires the device 918 * to call pfnStreamReInit. 919 * 920 * All other bits remain untouched to be able to restore the stream's state 921 * after the re-initialization has been completed. */ 922 #define PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT RT_BIT_32(4) 921 923 /** Validation mask. */ 922 924 #define PDMAUDIOSTREAMSTS_VALID_MASK UINT32_C(0x0000001F) … … 1080 1082 PPDMAUDIOSTREAMCFG pCfgGuest, PPDMAUDIOSTREAM *ppStream)); 1081 1083 1084 1082 1085 /** 1083 1086 * Destroys an audio stream. … … 1087 1090 */ 1088 1091 DECLR3CALLBACKMEMBER(int, pfnStreamDestroy, (PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAM pStream)); 1092 1093 /** 1094 * Re-initializes the stream in response to PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT. 1095 * 1096 * @returns VBox status code. 1097 * @param pInterface Pointer to this interface. 1098 * @param pStream The audio stream needing re-initialization. 1099 */ 1100 DECLR3CALLBACKMEMBER(int, pfnStreamReInit, (PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAM pStream)); 1089 1101 1090 1102 /** … … 1204 1216 1205 1217 /** PDMIAUDIOCONNECTOR interface ID. */ 1206 #define PDMIAUDIOCONNECTOR_IID " 00ee6f8e-16ab-4e9a-977c-d506c163be77"1218 #define PDMIAUDIOCONNECTOR_IID "ff6788cc-1a4d-4d4b-a2e0-9f56fce9b397" 1207 1219 1208 1220 -
trunk/include/VBox/vmm/pdmaudioinline.h
r88626 r88723 435 435 | PDMAUDIOSTREAMSTS_FLAGS_ENABLED 436 436 | PDMAUDIOSTREAMSTS_FLAGS_PAUSED 437 | PDMAUDIOSTREAMSTS_FLAGS_ PENDING_REINIT ))437 | PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT )) 438 438 == ( PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED 439 439 | PDMAUDIOSTREAMSTS_FLAGS_ENABLED); … … 459 459 | PDMAUDIOSTREAMSTS_FLAGS_PAUSED 460 460 | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE 461 | PDMAUDIOSTREAMSTS_FLAGS_ PENDING_REINIT))461 | PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT)) 462 462 == ( PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED 463 463 | PDMAUDIOSTREAMSTS_FLAGS_ENABLED); … … 479 479 return (fStatus & ( PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED 480 480 | PDMAUDIOSTREAMSTS_FLAGS_ENABLED 481 | PDMAUDIOSTREAMSTS_FLAGS_ PENDING_REINIT))481 | PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT)) 482 482 == ( PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED 483 483 | PDMAUDIOSTREAMSTS_FLAGS_ENABLED);
Note:
See TracChangeset
for help on using the changeset viewer.