VirtualBox

Changeset 68271 in vbox for trunk


Ignore:
Timestamp:
Aug 3, 2017 8:19:14 AM (7 years ago)
Author:
vboxsync
Message:

Audio: Renamed PDMAUDIOSTRMRATE -> PDMAUDIOSTREAMRATE. No actual code changes.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r68138 r68271  
    605605 * and therefore need to be treated accordingly.
    606606 */
    607 typedef struct PDMAUDIOSTRMRATE
     607typedef struct PDMAUDIOSTREAMRATE
    608608{
    609609    /** Current (absolute) offset in the output
     
    620620     *  Needed for interpolation. */
    621621    PDMAUDIOFRAME  srcFrameLast;
    622 } PDMAUDIOSTRMRATE, *PPDMAUDIOSTRMRATE;
     622} PDMAUDIOSTREAMRATE, *PPDMAUDIOSTREAMRATE;
    623623
    624624/**
     
    728728    uint32_t                  cChildren;
    729729    /** Intermediate structure for buffer conversion tasks. */
    730     PPDMAUDIOSTRMRATE         pRate;
     730    PPDMAUDIOSTREAMRATE         pRate;
    731731    /** Internal representation of current volume used for mixing. */
    732732    PDMAUDMIXBUFVOL           Volume;
  • trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp

    r68132 r68271  
    549549    static void audioMixBufOp##_aName(PPDMAUDIOFRAME paDst, uint32_t cDstFrames, \
    550550                                      PPDMAUDIOFRAME paSrc, uint32_t cSrcFrames, \
    551                                       PPDMAUDIOSTRMRATE pRate, \
     551                                      PPDMAUDIOSTREAMRATE pRate, \
    552552                                      uint32_t *pcDstWritten, uint32_t *pcSrcRead) \
    553553    { \
     
    983983        {
    984984            /* Create rate conversion. */
    985             pMixBuf->pRate = (PPDMAUDIOSTRMRATE)RTMemAllocZ(sizeof(PDMAUDIOSTRMRATE));
     985            pMixBuf->pRate = (PPDMAUDIOSTREAMRATE)RTMemAllocZ(sizeof(PDMAUDIOSTREAMRATE));
    986986            if (!pMixBuf->pRate)
    987987                return VERR_NO_MEMORY;
    988988        }
    989989        else
    990             RT_BZERO(pMixBuf->pRate, sizeof(PDMAUDIOSTRMRATE));
     990            RT_BZERO(pMixBuf->pRate, sizeof(PDMAUDIOSTREAMRATE));
    991991
    992992        pMixBuf->pRate->dstInc = ((uint64_t)AUDMIXBUF_FMT_SAMPLE_FREQ(pMixBuf->AudioFmt) << 32)
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