Changeset 73380 in vbox for trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
- Timestamp:
- Jul 27, 2018 9:12:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r73371 r73380 1290 1290 req.freq = pCfgReq->Props.uHz; 1291 1291 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. */ 1293 1293 req.buffer_size = req.period_size * 2; /** @todo Make this configurable. */ 1294 1294 req.threshold = req.period_size; … … 1739 1739 Log2Func(("cfDelay=%RI32, enmState=%d, rc=%d\n", cfDelay, enmState, rc)); 1740 1740 1741 return DrvAudioHlpFramesToBytes( &pStreamALSA->pCfg->Props, cfDelay);1741 return DrvAudioHlpFramesToBytes(cfDelay, &pStreamALSA->pCfg->Props); 1742 1742 } 1743 1743
Note:
See TracChangeset
for help on using the changeset viewer.