VirtualBox

Changeset 32456 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Sep 13, 2010 3:12:08 PM (14 years ago)
Author:
vboxsync
Message:

SB16: Do not copy too much at once, the guest must see all interrupts.

File:
1 edited

Legend:

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

    r26165 r32456  
    14441444#endif
    14451445
    1446     if (till <= copy) {
     1446    if (copy >= till) {
    14471447        if (0 == s->dma_auto) {
    14481448            copy = till;
     1449        } else {
     1450            if( copy >= till + s->block_size ) {
     1451                copy = till;    /* Make sure we won't skip IRQs. */
     1452            }
    14491453        }
    14501454    }
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