Changeset 88452 in vbox for trunk/include/VBox
- Timestamp:
- Apr 10, 2021 12:19:06 AM (4 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r88433 r88452 845 845 /** Invalid zero value as per usual (guards against using unintialized values). */ 846 846 PDMAUDIOSTREAMCMD_INVALID = 0, 847 /** Unknown command, do not use.848 * @todo r=bird: WTF is this supposed to be? Is DrvAudio or a device849 * supposed to issue an unknown command to someone? For conversion850 * mismatches (e.g. mixer), you use the INVALID value. */851 PDMAUDIOSTREAMCMD_UNKNOWN,852 847 /** Enables the stream. */ 853 848 PDMAUDIOSTREAMCMD_ENABLE, … … 864 859 PDMAUDIOSTREAMCMD_RESUME, 865 860 /** Drain the stream, that is, play what's in the buffer and then stop. 866 * The effect on input streams amounts to a stop.867 861 * 868 862 * A separate DISABLE command will be issued to disable the stream. … … 871 865 * state. (EMT cannot wait hundreds of milliseconds of 872 866 * buffer to finish draining.) 867 * @note Does not apply to input streams. Backends should refuse such requests. 873 868 * @note No supported by all backends. */ 874 869 PDMAUDIOSTREAMCMD_DRAIN, 875 /** Tells the stream to drop all (buffered) audio data immediately.876 * No supported by all backends. */877 PDMAUDIOSTREAMCMD_DROP,878 870 /** End of valid values. */ 879 871 PDMAUDIOSTREAMCMD_END, -
trunk/include/VBox/vmm/pdmaudioinline.h
r88300 r88452 380 380 { 381 381 case PDMAUDIOSTREAMCMD_INVALID: return "Invalid"; 382 case PDMAUDIOSTREAMCMD_UNKNOWN: return "Unknown";383 382 case PDMAUDIOSTREAMCMD_ENABLE: return "Enable"; 384 383 case PDMAUDIOSTREAMCMD_DISABLE: return "Disable"; … … 386 385 case PDMAUDIOSTREAMCMD_RESUME: return "Resume"; 387 386 case PDMAUDIOSTREAMCMD_DRAIN: return "Drain"; 388 case PDMAUDIOSTREAMCMD_DROP: return "Drop";389 387 case PDMAUDIOSTREAMCMD_END: 390 388 case PDMAUDIOSTREAMCMD_32BIT_HACK:
Note:
See TracChangeset
for help on using the changeset viewer.