Changeset 68302 in vbox
- Timestamp:
- Aug 4, 2017 3:07:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r68272 r68302 432 432 { 433 433 pStrm->curLatencyUs = (pStrm->curLatencyUs * 3) / 2; 434 LogFunc(("Latency increased to %RU64ms\n", pStrm->curLatencyUs / 1000)); 434 435 LogRel2(("PulseAudio: Output latency increased to %RU64ms\n", pStrm->curLatencyUs / 1000 /* ms */)); 435 436 436 437 pStrm->BufAttr.maxlength = pa_usec_to_bytes(pStrm->curLatencyUs, &pStrm->SampleSpec); … … 538 539 /* For using pa_stream_get_latency() and pa_stream_get_time(). */ 539 540 flags |= PA_STREAM_INTERPOLATE_TIMING | PA_STREAM_AUTO_TIMING_UPDATE; 540 541 /* No input/output right away after the stream was started. */542 flags |= PA_STREAM_START_CORKED;543 541 544 542 if (fIn) … … 745 743 746 744 pStreamPA->curLatencyUs = 100 * 1000; /** 100ms latency by default. @todo Make this configurable. */ 745 746 LogRel2(("PulseAudio: Initial output latency is %RU64ms\n", pStreamPA->curLatencyUs / 1000 /* ms */)); 747 747 748 748 const uint32_t mixsize = pa_usec_to_bytes(pStreamPA->curLatencyUs, &pStreamPA->SampleSpec);
Note:
See TracChangeset
for help on using the changeset viewer.

