Changeset 58344 in vbox for trunk/include/VBox
- Timestamp:
- Oct 20, 2015 3:54:04 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 103544
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r58110 r58344 175 175 /** Disables the stream. */ 176 176 PDMAUDIOSTREAMCMD_DISABLE, 177 /** Pauses the stream. */ 178 PDMAUDIOSTREAMCMD_PAUSE, 179 /** Resumes the stream. */ 180 PDMAUDIOSTREAMCMD_RESUME, 177 181 /** Hack to blow the type up to 32-bit. */ 178 182 PDMAUDIOSTREAMCMD_32BIT_HACK = 0x7fffffff … … 300 304 } PDMAUDIOMIXBUF; 301 305 306 /** Stream status flag. To be used with PDMAUDIOSTRMSTS_FLAG_ flags. */ 307 typedef uint32_t PDMAUDIOSTRMSTS; 308 309 /** No flags being set. */ 310 #define PDMAUDIOSTRMSTS_FLAG_NONE 0 311 /** Whether this stream General Enabled or disabled flag. */ 312 #define PDMAUDIOSTRMSTS_FLAG_ENABLED RT_BIT_32(0) 313 /** Whether this stream has been paused or not. This also implies 314 * that this is an enabled stream! */ 315 #define PDMAUDIOSTRMSTS_FLAG_PAUSED RT_BIT_32(1) 316 /** Whether this stream was marked as being disabled 317 * but there are still associated guest output streams 318 * which rely on its data. */ 319 #define PDMAUDIOSTRMSTS_FLAG_PENDING_DISABLE RT_BIT_32(2) 320 /** Validation mask. */ 321 #define PDMAUDIOSTRMSTS_VALID_MASK UINT32_C(0x00000007) 322 302 323 /** 303 324 * Represents an audio input on the host of a certain … … 316 337 /** PCM properties. */ 317 338 PDMPCMPROPS Props; 318 /** Whether this input is enabled or not. */319 bool fEnabled;339 /** Stream status flag. */ 340 PDMAUDIOSTRMSTS fStatus; 320 341 /** This stream's mixing buffer. */ 321 342 PDMAUDIOMIXBUF MixBuf; … … 337 358 /** Stream properites. */ 338 359 PDMPCMPROPS Props; 339 /** Enabled or disabled flag. */ 340 bool fEnabled; 341 /** Whether this stream was marked as being disabled 342 * but there are still associated guest output streams 343 * which rely on its data. */ 344 bool fPendingDisable; 360 /** Stream status flag. */ 361 PDMAUDIOSTRMSTS fStatus; 345 362 /** This stream's mixing buffer. */ 346 363 PDMAUDIOMIXBUF MixBuf;
Note:
See TracChangeset
for help on using the changeset viewer.