- Timestamp:
- Aug 3, 2017 8:19:14 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r68138 r68271 605 605 * and therefore need to be treated accordingly. 606 606 */ 607 typedef struct PDMAUDIOSTR MRATE607 typedef struct PDMAUDIOSTREAMRATE 608 608 { 609 609 /** Current (absolute) offset in the output … … 620 620 * Needed for interpolation. */ 621 621 PDMAUDIOFRAME srcFrameLast; 622 } PDMAUDIOSTR MRATE, *PPDMAUDIOSTRMRATE;622 } PDMAUDIOSTREAMRATE, *PPDMAUDIOSTREAMRATE; 623 623 624 624 /** … … 728 728 uint32_t cChildren; 729 729 /** Intermediate structure for buffer conversion tasks. */ 730 PPDMAUDIOSTR MRATE pRate;730 PPDMAUDIOSTREAMRATE pRate; 731 731 /** Internal representation of current volume used for mixing. */ 732 732 PDMAUDMIXBUFVOL Volume; -
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r68132 r68271 549 549 static void audioMixBufOp##_aName(PPDMAUDIOFRAME paDst, uint32_t cDstFrames, \ 550 550 PPDMAUDIOFRAME paSrc, uint32_t cSrcFrames, \ 551 PPDMAUDIOSTR MRATE pRate, \551 PPDMAUDIOSTREAMRATE pRate, \ 552 552 uint32_t *pcDstWritten, uint32_t *pcSrcRead) \ 553 553 { \ … … 983 983 { 984 984 /* Create rate conversion. */ 985 pMixBuf->pRate = (PPDMAUDIOSTR MRATE)RTMemAllocZ(sizeof(PDMAUDIOSTRMRATE));985 pMixBuf->pRate = (PPDMAUDIOSTREAMRATE)RTMemAllocZ(sizeof(PDMAUDIOSTREAMRATE)); 986 986 if (!pMixBuf->pRate) 987 987 return VERR_NO_MEMORY; 988 988 } 989 989 else 990 RT_BZERO(pMixBuf->pRate, sizeof(PDMAUDIOSTR MRATE));990 RT_BZERO(pMixBuf->pRate, sizeof(PDMAUDIOSTREAMRATE)); 991 991 992 992 pMixBuf->pRate->dstInc = ((uint64_t)AUDMIXBUF_FMT_SAMPLE_FREQ(pMixBuf->AudioFmt) << 32)
Note:
See TracChangeset
for help on using the changeset viewer.