Changeset 89489 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jun 3, 2021 11:00:02 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r89487 r89489 633 633 * sensible, so I've removed it. */ 634 634 635 uint32_t cFrames = PDMAudioPropsBytesToFrames(&pStream->pStream-> Props, cbBuf);635 uint32_t cFrames = PDMAudioPropsBytesToFrames(&pStream->pStream->Cfg.Props, cbBuf); 636 636 Assert(cFrames == cbBuf / (sizeof(uint64_t) * 2)); 637 637 pDrv->pConsoleVRDPServer->SendAudioSamples(pvBuf, cFrames, uVrdpFormat); 638 638 639 639 Log3Func(("cFramesWritten=%RU32\n", cFrames)); 640 *pcbWritten = PDMAudioPropsFramesToBytes(&pStream->pStream-> Props, cFrames);640 *pcbWritten = PDMAudioPropsFramesToBytes(&pStream->pStream->Cfg.Props, cFrames); 641 641 Assert(*pcbWritten == cbBuf); 642 642 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.