VirtualBox

儲存庫 vbox 的更動 98017


忽略:
時間撮記:
2023-1-6 下午07:13:36 (2 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
155111
訊息:

AudioMixbuffer: Three warnings about using int8_t for indexing, changed these to intptr_t.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Audio/AudioMixBuffer-Convert.cpp.h

    r96407 r98017  
    6161        while (idxDst-- > 0)
    6262        {
    63             int8_t idxSrc = pState->aidxChannelMap[idxDst];
     63            intptr_t idxSrc = pState->aidxChannelMap[idxDst];
    6464            if (idxSrc >= 0)
    6565                pDst[idxDst] = RT_CONCAT(audioMixBufSampleTo,a_Name)(pi32Src[idxSrc]);
     
    147147        while (idxDst-- > 0)
    148148        {
    149             int8_t idxSrc = pState->aidxChannelMap[idxDst];
     149            intptr_t idxSrc = pState->aidxChannelMap[idxDst];
    150150            if (idxSrc >= 0)
    151151                pi32Dst[idxDst] = RT_CONCAT(audioMixBufSampleFrom,a_Name)(pSrc[idxSrc]);
     
    235235        while (idxDst-- > 0)
    236236        {
    237             int8_t idxSrc = pState->aidxChannelMap[idxDst];
     237            intptr_t idxSrc = pState->aidxChannelMap[idxDst];
    238238            if (idxSrc >= 0)
    239239                audioMixBufBlendSample(&pi32Dst[idxDst], RT_CONCAT(audioMixBufSampleFrom,a_Name)(pSrc[idxSrc]));
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette