VirtualBox

Changeset 65677 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Feb 8, 2017 11:54:26 AM (8 years ago)
Author:
vboxsync
Message:

Audio: Also initialize cShift parameter when creating audio streams in HDA + AC'97.

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r65674 r65677  
    26742674        pStrmCfg->Props.cBits     = cBits;
    26752675        pStrmCfg->Props.fSigned   = true;
     2676        pStrmCfg->Props.cShift    = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(pStrmCfg->Props.cBits, pStrmCfg->Props.cChannels);
    26762677    }
    26772678
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r65674 r65677  
    16411641            streamCfg.Props.cBits     = 16;
    16421642            streamCfg.Props.fSigned   = true;
     1643            streamCfg.Props.cShift    = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(streamCfg.Props.cBits, streamCfg.Props.cChannels);
    16431644
    16441645            rc = ichac97MixerAddDrvStreams(pThis, pMixSink, &streamCfg);
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