VirtualBox

Changeset 89343 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 28, 2021 10:33:01 AM (4 years ago)
Author:
vboxsync
Message:

AudioMixer: Moving a few functions, merging the volume setter worker into the public function. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/AudioMixBuffer.h

    r89339 r89343  
    185185void    AudioMixBufDrop(PAUDIOMIXBUF pMixBuf);
    186186
     187uint32_t AudioMixBufSize(PAUDIOMIXBUF pMixBuf);
     188uint32_t AudioMixBufSizeBytes(PAUDIOMIXBUF pMixBuf);
     189uint32_t AudioMixBufFree(PAUDIOMIXBUF pMixBuf);
     190uint32_t AudioMixBufFreeBytes(PAUDIOMIXBUF pMixBuf);
     191bool AudioMixBufIsEmpty(PCAUDIOMIXBUF pMixBuf);
     192uint32_t AudioMixBufLive(PAUDIOMIXBUF pMixBuf);
     193uint32_t AudioMixBufUsed(PAUDIOMIXBUF pMixBuf);
     194uint32_t AudioMixBufUsedBytes(PAUDIOMIXBUF pMixBuf);
     195uint32_t AudioMixBufReadPos(PAUDIOMIXBUF pMixBuf);
     196uint32_t AudioMixBufWritePos(PAUDIOMIXBUF pMixBuf);
     197
     198void AudioMixBufSetVolume(PAUDIOMIXBUF pMixBuf, PCPDMAUDIOVOLUME pVol);
     199
    187200int     AudioMixBufInitPeekState(PCAUDIOMIXBUF pMixBuf, PAUDIOMIXBUFPEEKSTATE pState, PCPDMAUDIOPCMPROPS pDstProps);
    188201void    AudioMixBufPeek(PCAUDIOMIXBUF pMixBuf, uint32_t offSrcFrame, uint32_t cMaxSrcFrames, uint32_t *pcSrcFramesPeeked,
     
    199212void    AudioMixBufCommit(PAUDIOMIXBUF pMixBuf, uint32_t cFrames);
    200213
    201 uint32_t AudioMixBufFree(PAUDIOMIXBUF pMixBuf);
    202 uint32_t AudioMixBufFreeBytes(PAUDIOMIXBUF pMixBuf);
    203 bool AudioMixBufIsEmpty(PCAUDIOMIXBUF pMixBuf);
    204 uint32_t AudioMixBufLive(PAUDIOMIXBUF pMixBuf);
    205 uint32_t AudioMixBufUsed(PAUDIOMIXBUF pMixBuf);
    206 uint32_t AudioMixBufUsedBytes(PAUDIOMIXBUF pMixBuf);
    207 uint32_t AudioMixBufReadPos(PAUDIOMIXBUF pMixBuf);
    208 void AudioMixBufSetVolume(PAUDIOMIXBUF pMixBuf, PCPDMAUDIOVOLUME pVol);
    209 uint32_t AudioMixBufSize(PAUDIOMIXBUF pMixBuf);
    210 uint32_t AudioMixBufSizeBytes(PAUDIOMIXBUF pMixBuf);
    211 uint32_t AudioMixBufWritePos(PAUDIOMIXBUF pMixBuf);
    212 
    213214#ifdef DEBUG
    214215void AudioMixBufDbgPrint(PAUDIOMIXBUF pMixBuf);
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