Changeset 82463 in vbox for trunk/include
- Timestamp:
- Dec 6, 2019 2:29:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r82261 r82463 627 627 628 628 /** 629 * Structure for mapping a single (mono) channel or dual (stereo) channels onto 630 * an audio stream (aka stream profile). 631 * 632 * An audio stream consists of one or multiple channels (e.g. 1 for mono, 2 for 633 * stereo), depending on the configuration. 629 * Mappings channels onto an audio stream. 630 * 631 * The mappings are either for a single (mono) or dual (stereo) channels onto an 632 * audio stream (aka stream profile). An audio stream consists of one or 633 * multiple channels (e.g. 1 for mono, 2 for stereo), depending on the 634 * configuration. 634 635 */ 635 636 typedef struct PDMAUDIOSTREAMMAP … … 637 638 /** Array of channel IDs being handled. 638 639 * @note The first (zero-based) index specifies the leftmost channel. */ 639 PDMAUDIOSTREAMCHANNELID a ID[2];640 PDMAUDIOSTREAMCHANNELID aenmIDs[2]; 640 641 /** Step size (in bytes) to the channel's next frame. */ 641 642 uint32_t cbStep; … … 701 702 702 703 /** 703 * Structure for keeping an audio stream configuration.704 * An audio stream configuration. 704 705 */ 705 706 typedef struct PDMAUDIOSTREAMCFG … … 751 752 uint32_t cFramesPreBuffering; 752 753 } Backend; 754 uint32_t u32Padding; 753 755 /** Friendly name of the stream. */ 754 756 char szName[64]; 755 757 } PDMAUDIOSTREAMCFG; 756 AssertCompileSizeAlignment(PDMAUDIO PCMPROPS, 8);758 AssertCompileSizeAlignment(PDMAUDIOSTREAMCFG, 8); 757 759 /** Pointer to audio stream configuration keeper. */ 758 760 typedef PDMAUDIOSTREAMCFG *PPDMAUDIOSTREAMCFG; … … 1200 1202 1201 1203 /** 1202 * Structure for maintaining an input/output audio stream.1204 * An input or output audio stream. 1203 1205 */ 1204 1206 typedef struct PDMAUDIOSTREAM … … 1249 1251 1250 1252 /** 1251 * Enumeration for an audio callback source.1253 * Audio callback source. 1252 1254 */ 1253 1255 typedef enum PDMAUDIOCBSOURCE 1254 1256 { 1255 1257 /** Invalid, do not use. */ 1256 PDMAUDIOCBSOURCE_INVALID 1258 PDMAUDIOCBSOURCE_INVALID = 0, 1257 1259 /** Device emulation. */ 1258 1260 PDMAUDIOCBSOURCE_DEVICE,
Note:
See TracChangeset
for help on using the changeset viewer.