VirtualBox

Ignore:
Timestamp:
Jul 27, 2018 9:12:35 AM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudioCommon.cpp: Reordering helper function parameters to emphasize the function usage (namespace) better. No functional changes.

File:
1 edited

Legend:

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

    r73371 r73380  
    12901290        req.freq        = pCfgReq->Props.uHz;
    12911291        req.nchannels   = pCfgReq->Props.cChannels;
    1292         req.period_size = DrvAudioHlpMsToFrames(&pCfgReq->Props, 50 /* ms */); /** @todo Make this configurable. */
     1292        req.period_size = DrvAudioHlpMsToFrames(50 /* ms */, &pCfgReq->Props); /** @todo Make this configurable. */
    12931293        req.buffer_size = req.period_size * 2; /** @todo Make this configurable. */
    12941294        req.threshold   = req.period_size;
     
    17391739    Log2Func(("cfDelay=%RI32, enmState=%d, rc=%d\n", cfDelay, enmState, rc));
    17401740
    1741     return DrvAudioHlpFramesToBytes(&pStreamALSA->pCfg->Props, cfDelay);
     1741    return DrvAudioHlpFramesToBytes(cfDelay, &pStreamALSA->pCfg->Props);
    17421742}
    17431743
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