VirtualBox

Changeset 73421 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 1, 2018 12:46:06 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124043
Message:

Audio: (Pre-)Buffering fixes; use nanoseconds to have a higher resolution when it comes to calculating the transfer sizes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r73402 r73421  
    10061006    struct
    10071007    {
     1008        /** "Jitter value" between written and played back bytes. */
     1009        int64_t                 cbJitterWrittenPlayed;
    10081010        /** File for writing stream writes. */
    10091011        PPDMAUDIOFILE           pFileStreamWrite;
     
    10401042    /** Context of this stream. */
    10411043    PDMAUDIOSTREAMCTX      enmCtx;
    1042     /** Timestamp (in ms) since last iteration. */
    1043     uint64_t               tsLastIteratedMs;
    1044     /** Timestamp (in ms) since last playback / capture. */
    1045     uint64_t               tsLastPlayedCapturedMs;
    1046     /** Timestamp (in ms) since last read (input streams) or
     1044    /** Timestamp (in ns) since last iteration. */
     1045    uint64_t               tsLastIteratedNs;
     1046    /** Timestamp (in ns) since last playback / capture. */
     1047    uint64_t               tsLastPlayedCapturedNs;
     1048    /** Timestamp (in ns) since last read (input streams) or
    10471049     *  write (output streams). */
    1048     uint64_t               tsLastReadWrittenMs;
     1050    uint64_t               tsLastReadWrittenNs;
    10491051    /** For output streams this indicates whether the stream has reached
    10501052     *  its playback threshold, e.g. is playing audio.
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