VirtualBox

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


Ignore:
Timestamp:
Mar 23, 2021 12:10:36 PM (4 years ago)
Author:
vboxsync
Message:

DrvAudio: Hacked the underruns detection so it won't falsely trigger when there is still enough bytes buffered in the host driver. bugref:9890

File:
1 edited

Legend:

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

    r88255 r88259  
    12281228        STAMCOUNTER     TotalTimesWritten;
    12291229    } Stats;
     1230    /** Hack alert: Max writable amount reported by the backend.
     1231     * This is used to aid buffer underrun detection in DrvAudio while playing.
     1232     * Ideally, the backend should have a method for querying number of buffered
     1233     * bytes instead.  However this will do for now. */
     1234    uint32_t            cbBackendMaxWritable;
    12301235} PDMAUDIOSTREAMOUT;
    12311236/** Pointer to the specifics for an audio output stream. */
     
    13191324
    13201325/** Magic value for PDMAUDIOSTREAM. */
    1321 #define PDMAUDIOSTREAM_MAGIC    PDM_VERSION_MAKE(0xa0d3, 1, 0)
     1326#define PDMAUDIOSTREAM_MAGIC    PDM_VERSION_MAKE(0xa0d3, 1, 1)
    13221327
    13231328
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