VirtualBox

Changeset 88914 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 6, 2021 6:58:38 PM (4 years ago)
Author:
vboxsync
Message:

AudioMixer: Added crude heuristics to audioMixerSinkUpdateOutput for prevent that a malfunctioning stream will clog up everything for everyone else. [docs] bugref:9890

File:
1 edited

Legend:

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

    r88913 r88914  
    16041604
    16051605
     1606/**
     1607 * Helper for audioMixerSinkUpdateOutput that determins now many frames it
     1608 * can transfer from the sink's mixer buffer and to the drivers.
     1609 *
     1610 * This also updates the mixer stream status, which may involve stream re-inits.
     1611 *
     1612 * @returns Number of frames.
     1613 * @param   pSink               The sink.
     1614 * @param   pcWritableStreams   Where to return the number of writable streams.
     1615 */
    16061616static uint32_t audioMixerSinkUpdateOutputCalcFramesToRead(PAUDMIXSINK pSink, uint32_t *pcWritableStreams)
    16071617{
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