VirtualBox

Changeset 73464 in vbox for trunk/src


Ignore:
Timestamp:
Aug 3, 2018 9:34:01 AM (6 years ago)
Author:
vboxsync
Message:

Audio/VRDE: Fixed setting the shift parameter of the acquired stream configuration in vrdeCreateStreamIn().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r73430 r73464  
    8585    AssertPtrReturn(pCfgAcq, VERR_INVALID_POINTER);
    8686
    87     pCfgAcq->Props.uHz       = 22050; /* The VRDP server's internal frequency. */
    88     pCfgAcq->Props.cChannels = 2;
    89     pCfgAcq->Props.cBits     = 16;
    90     pCfgAcq->Props.fSigned   = true;
     87    pCfgAcq->Props.uHz         = 22050; /* The VRDP server's internal frequency. */
     88    pCfgAcq->Props.cChannels   = 2;
     89    pCfgAcq->Props.cBits       = 16;
     90    pCfgAcq->Props.fSigned     = true;
     91    pCfgAcq->Props.fSwapEndian = false;
     92    pCfgAcq->Props.cShift      = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(pCfgAcq->Props.cBits, pCfgAcq->Props.cChannels);
    9193
    9294    /* According to the VRDP docs, the VRDP server stores audio in 200ms chunks. */
Note: See TracChangeset for help on using the changeset viewer.

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