VirtualBox

Changeset 103136 in vbox


Ignore:
Timestamp:
Jan 31, 2024 10:12:27 AM (10 months ago)
Author:
vboxsync
Message:

Audio: More locking needed to avoid debug assertions when draining a stream on stream disable. This debug assertion will happen because EMT and the mixer's async I/O thread work on the same circular buffer. There can be situations, if no locking is being used, that the async I/O thread just has consumed the remaining data just a tad before EMT looks for remaining data within the same buffer when disabling the stream [Doxygen fix]. bugref:10354

File:
1 edited

Legend:

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

    r103134 r103136  
    19321932 *
    19331933 * @returns VBox status code.
     1934 * @param   pThis       The SB16 state.
    19341935 * @param   pStream     The SB16 stream to read DMA output data from.
    19351936 * @param   uDmaChan    DMA channel to read from.
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