VirtualBox

Changeset 59420 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 20, 2016 2:53:24 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105142
Message:

Audio/DrvAudio: Use a critical section for (most) driver callbacks.

File:
1 edited

Legend:

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

    r59352 r59420  
    2828
    2929#include <VBox/types.h>
     30#include <iprt/critsect.h>
    3031#include <iprt/list.h>
    3132
     
    339340    /** Stream status flag. */
    340341    PDMAUDIOSTRMSTS        fStatus;
     342    /** Critical section for serializing access. */
     343    RTCRITSECT             CritSect;
    341344    /** This stream's mixing buffer. */
    342345    PDMAUDIOMIXBUF         MixBuf;
     
    360363    /** Stream status flag. */
    361364    PDMAUDIOSTRMSTS        fStatus;
     365    /** Critical section for serializing access. */
     366    RTCRITSECT             CritSect;
    362367    /** This stream's mixing buffer. */
    363368    PDMAUDIOMIXBUF         MixBuf;
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