VirtualBox

Changeset 88307 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Mar 26, 2021 9:18:42 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143524
Message:

Audio: Buffer usage statistics so we can monitor whether they are emptied when they should be. bugref:9890

File:
1 edited

Legend:

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

    r88300 r88307  
    10341034     *       differ between parent and child.  */
    10351035    uint32_t                    cMixed;
    1036     /** How much audio frames are currently being used
    1037      *  in this buffer.
    1038      *  Note: This also is known as the distance in ring buffer terms. */
     1036    /** How much audio frames are currently being used in this buffer.
     1037     * @note This also is known as the distance in ring buffer terms. */
    10391038    uint32_t                    cUsed;
    10401039    /** Number of children mix buffers kept in lstChildren. */
     
    12401239        STAMCOUNTER     AvgFramesWritten;
    12411240        STAMCOUNTER     TotalTimesWritten;
     1241        uint32_t        cbBackendWritableBefore;
     1242        uint32_t        cbBackendWritableAfter;
    12421243    } Stats;
    12431244    /** Hack alert: Max writable amount reported by the backend.
     
    15241525     * @param   pCfgGuest       Stream configuration for guest side.
    15251526     * @param   ppStream        Pointer where to return the created audio stream on success.
     1527     * @todo r=bird: It is not documented how pCfgHost and pCfgGuest can be
     1528     *       modified the DrvAudio...
    15261529     */
    15271530    DECLR3CALLBACKMEMBER(int, pfnStreamCreate, (PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOSTREAMCFG pCfgHost,
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