Changeset 88278 in vbox for trunk/include/VBox
- Timestamp:
- Mar 24, 2021 1:54:00 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143483
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r88269 r88278 694 694 /** The frame size. */ 695 695 uint8_t cbFrame; 696 /** Sample width (in bytes). */697 uint8_t cbSampleX : 4;698 /** Number of audio channels. */699 uint8_t cChannelsX : 4;700 696 /** Shift count used with PDMAUDIOPCMPROPS_F2B and PDMAUDIOPCMPROPS_B2F. 701 697 * Depends on number of stream channels and the stream format being used, calc … … 703 699 * @sa PDMAUDIOSTREAMCFG_B2F, PDMAUDIOSTREAMCFG_F2B */ 704 700 uint8_t cShiftX; 701 /** Sample width (in bytes). */ 702 RT_GCC_EXTENSION 703 uint8_t cbSampleX : 4; 704 /** Number of audio channels. */ 705 RT_GCC_EXTENSION 706 uint8_t cChannelsX : 4; 705 707 /** Signed or unsigned sample. */ 706 708 bool fSigned : 1; … … 723 725 /** Initializer for PDMAUDIOPCMPROPS. */ 724 726 #define PDMAUDIOPCMPROPS_INITIALIZER(a_cbSample, a_fSigned, a_cChannels, a_uHz, a_fSwapEndian) \ 725 { (a_cbSample) * (a_cChannels), a_cbSample, a_cChannels, PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(a_cbSample, a_cChannels), \727 { (a_cbSample) * (a_cChannels), PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(a_cbSample, a_cChannels), a_cbSample, a_cChannels, \ 726 728 a_fSigned, a_fSwapEndian, false /*fRaw*/, a_uHz } 727 729 /** Calculates the cShift value of given sample bits and audio channels.
Note:
See TracChangeset
for help on using the changeset viewer.