VirtualBox

Changeset 68302 in vbox


Ignore:
Timestamp:
Aug 4, 2017 3:07:13 PM (7 years ago)
Author:
vboxsync
Message:

LogRel2 logging.

File:
1 edited

Legend:

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

    r68272 r68302  
    432432    {
    433433        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 */));
    435436
    436437        pStrm->BufAttr.maxlength = pa_usec_to_bytes(pStrm->curLatencyUs, &pStrm->SampleSpec);
     
    538539        /* For using pa_stream_get_latency() and pa_stream_get_time(). */
    539540        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;
    543541
    544542        if (fIn)
     
    745743
    746744    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 */));
    747747
    748748    const uint32_t mixsize = pa_usec_to_bytes(pStreamPA->curLatencyUs, &pStreamPA->SampleSpec);
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