VirtualBox

Changeset 65657 in vbox


Ignore:
Timestamp:
Feb 7, 2017 1:04:48 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113344
Message:

Audio/pdmaudioifs.h: Be more specific in PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r65624 r65657  
    364364/** Calculates the cShift value of given samples bits and audio channels.
    365365 *  Note: Does only support mono/stereo channels for now. */
    366 #define PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(cBits, cChannels)     ((cChannels == 2) + cBits / 16)
     366#define PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(cBits, cChannels)     ((cChannels == 2) + (cBits / 16))
    367367/** Calculates the cShift value of a PDMAUDIOPCMPROPS structure.
    368368 *  Note: Does only support mono/stereo channels for now. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette