VirtualBox

Changeset 99415 in vbox for trunk


Ignore:
Timestamp:
Apr 17, 2023 8:36:39 AM (18 months ago)
Author:
vboxsync
Message:

Audio/Mixer: Renamed AudioMixerSinkLockIsOwned() -> AudioMixerSinkLockIsOwner(). bugref:10350

Location:
trunk/src/VBox/Devices/Audio
Files:
3 edited

Legend:

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

    r99312 r99415  
    21952195
    21962196/**
    2197  * Checks the caller is the owner of the mixer sink's critical section.
     2197 * Checks if the caller is the owner of the mixer sink's critical section.
    21982198 *
    21992199 * @returns \c true if the caller is the lock owner, \c false if not.
    22002200 * @param   pSink       The mixer sink to check.
    22012201 */
    2202 bool AudioMixerSinkLockIsOwned(PAUDMIXSINK pSink)
     2202bool AudioMixerSinkLockIsOwner(PAUDMIXSINK pSink)
    22032203{
    22042204    return RTCritSectIsOwner(&pSink->CritSect);
  • trunk/src/VBox/Devices/Audio/AudioMixer.h

    r99312 r99415  
    328328uint64_t    AudioMixerSinkTransferToCircBuf(PAUDMIXSINK pSink, PRTCIRCBUF pCircBuf, uint64_t offStream,
    329329                                            uint32_t idStream, PAUDIOHLPFILE pDbgFile);
    330 bool        AudioMixerSinkLockIsOwned(PAUDMIXSINK pSink);
     330bool        AudioMixerSinkLockIsOwner(PAUDMIXSINK pSink);
    331331int         AudioMixerSinkLock(PAUDMIXSINK pSink);
    332332int         AudioMixerSinkTryLock(PAUDMIXSINK pSink);
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r99414 r99415  
    20332033    Assert(PDMDevHlpCritSectIsOwner(pDevIns, &pThis->CritSect));
    20342034    Assert(RTCritSectIsOwned(&pStreamCC->State.CritSect));
    2035     Assert(AudioMixerSinkLockIsOwned(pMixSink));
     2035    Assert(AudioMixerSinkLockIsOwner(pMixSink));
    20362036
    20372037    /*
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