VirtualBox

Changeset 7661 in vbox for trunk/src


Ignore:
Timestamp:
Mar 31, 2008 1:48:00 PM (17 years ago)
Author:
vboxsync
Message:

Solaudio: fixed occasional ticking problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/solaudio.c

    r7525 r7661  
    398398            break;
    399399
    400         /* Increment eof marker for synchronous buffer processed */
    401         write (pSol->AudioDev, NULL, 0);
    402         pSol->cBuffersPlayed++;
    403 
    404400        hw->rpos   = (hw->rpos + csToWrite) % hw->samples;
    405401        csSamples -= csToWrite;
    406402    }
     403
     404    /* Increment eof marker for synchronous buffer processed */
     405    write (pSol->AudioDev, NULL, 0);
     406    pSol->cBuffersPlayed++;
    407407    return csDecr;
    408408}
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