VirtualBox

Changeset 73685 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 15, 2018 9:14:08 AM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudioVRDE: Corrected output stream buffer / period / pre-buffering sizes.

File:
1 edited

Legend:

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

    r73638 r73685  
    138138
    139139        /* According to the VRDP docs, the VRDP server stores audio in 200ms chunks. */
    140         pCfgAcq->Backend.cfPeriod     = DrvAudioHlpMilliToFrames(10  /* ms */, &pCfgAcq->Props);
    141         pCfgAcq->Backend.cfBufferSize = DrvAudioHlpMilliToFrames(200 /* ms */, &pCfgAcq->Props);
    142         pCfgAcq->Backend.cfPreBuf     = pCfgAcq->Backend.cfBufferSize;
     140        pCfgAcq->Backend.cfPeriod     = DrvAudioHlpMilliToFrames(20  /* ms */, &pCfgAcq->Props);
     141        pCfgAcq->Backend.cfBufferSize = DrvAudioHlpMilliToFrames(100 /* ms */, &pCfgAcq->Props);
     142        pCfgAcq->Backend.cfPreBuf     = pCfgAcq->Backend.cfPeriod * 2;
    143143    }
    144144
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