VirtualBox

Changeset 89304 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
May 26, 2021 9:29:29 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144651
Message:

Audio: Reworking the capture (recording) code path, part 1: Start doing device side mixing in preparation of DrvAudio stopping it's mixing. Code for blending/merging more than one input isn't entirely done. Resampling is completely untested. [build fix] bugref:9890

File:
1 edited

Legend:

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

    r89303 r89304  
    482482*   Mixer Sink implementation.                                                                                                   *
    483483*********************************************************************************************************************************/
    484 
    485 #ifdef VBOX_STRICT
    486 /**
    487  * Checks if @a pNeedle is in the list of streams associated with @a pSink.
    488  * @returns true / false.
    489  */
    490 static bool audioMixerSinkIsStreamInList(PAUDMIXSINK pSink, PAUDMIXSTREAM pNeedle)
    491 {
    492     PAUDMIXSTREAM pStream;
    493     RTListForEach(&pSink->lstStreams, pStream, AUDMIXSTREAM, Node)
    494     {
    495         if (pStream == pNeedle)
    496             return true;
    497     }
    498     return false;
    499 }
    500 #endif /* VBOX_STRICT */
    501484
    502485/**
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