VirtualBox

Changeset 75865 in vbox


Ignore:
Timestamp:
Dec 2, 2018 1:27:29 AM (6 years ago)
Author:
vboxsync
Message:

DevHDA: Fix for crash saving circular stream buffers. [comment updates]

File:
1 edited

Legend:

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

    r75864 r75865  
    36363636        RTCircBufAcquireReadBlock(pStream->State.pCircBuf, cbCircBufUsed, &pvBuf, &cbBuf);
    36373637#if 0 /** @todo r=bird: The disabled code crashes on me. The #else case contains something that seems
    3638        * to make more sense to me.  I'm not say this is correct code.  Please review, fix, and remove. */
     3638       * to make more sense to me.  I'm not saying this is necessarily correct, so please review, fix, and remove. */
    36393639
    36403640        if (cbBuf)
     
    36613661            }
    36623662        }
     3663
    36633664#else
    36643665        Assert(cbBuf);
     
    36673668            rc = SSMR3PutMem(pSSM, (uint8_t *)pvBuf - offBuf, cbCircBufUsed - cbBuf);
    36683669#endif
    3669 
    36703670        RTCircBufReleaseReadBlock(pStream->State.pCircBuf, 0 /* Don't advance read pointer -- see comment above */);
    36713671    }
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