VirtualBox

Changeset 91162 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Sep 8, 2021 3:15:55 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146816
Message:

Audio/Validation Kit: Some more diagnostics to find out why some testbox guests refuse to play any test tones. ​bugref:10008

File:
1 edited

Legend:

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

    r91160 r91162  
    831831
    832832# ifdef LOG_ENABLED
    833         if (LogIs2Enabled())
     833        if (LogRelIs2Enabled())
    834834        {
    835835            const pa_timing_info *pTInfo = pa_stream_get_timing_info(pStream);
     
    837837            const pa_sample_spec *pSpec  = pa_stream_get_sample_spec(pStream);
    838838            AssertReturnVoid(pSpec);
    839             Log2Func(("writepos=%'RU64 us, readpost=%'RU64 us, age=%'RU64 us, latency=%'RU64 us (%RU32Hz %RU8ch)\n",
    840                       pa_bytes_to_usec(pTInfo->write_index, pSpec), pa_bytes_to_usec(pTInfo->read_index, pSpec),
    841                       pa_rtclock_now() - pStreamPA->tsStartUs, cUsLatency, pSpec->rate, pSpec->channels));
     839            LogRel2(("PulseAudio: Timing info: writepos=%'RU64 us, readpost=%'RU64 us, age=%'RU64 us, latency=%'RU64 us (%RU32Hz %RU8ch)\n",
     840                     pa_bytes_to_usec(pTInfo->write_index, pSpec), pa_bytes_to_usec(pTInfo->read_index, pSpec),
     841                     pa_rtclock_now() - pStreamPA->tsStartUs, cUsLatency, pSpec->rate, pSpec->channels));
    842842        }
    843843# endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette