VirtualBox

Ignore:
Timestamp:
May 24, 2016 12:05:33 PM (9 years ago)
Author:
vboxsync
Message:

Devices/Audio/DevIchHda.cpp: Warnings.

File:
1 edited

Legend:

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

    r61157 r61158  
    38453845        RTListForEach(&pThis->lstDrv, pDrv, HDADRIVER, Node)
    38463846        {
    3847             PAUDMIXSTREAM pMixStream;
     3847            PAUDMIXSTREAM pMixStream = NULL;
    38483848            switch (enmMixerCtl)
    38493849            {
     
    38833883            }
    38843884
    3885             AudioMixerSinkRemoveStream(pSink->pMixSink, pMixStream);
    3886             AudioMixerStreamDestroy(pMixStream);
     3885            if (pMixStream)
     3886            {
     3887                AudioMixerSinkRemoveStream(pSink->pMixSink, pMixStream);
     3888                AudioMixerStreamDestroy(pMixStream);
     3889            }
    38873890        }
    38883891
     
    42454248        }
    42464249
    4247         uint32_t cbProcessed;
     4250        uint32_t cbProcessed = 0;
    42484251        if (hdaGetDirFromSD(pStream->u8SD) == PDMAUDIODIR_IN)
    42494252            rc = hdaReadAudio (pThis, pStream, cbLeft, &cbProcessed);
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