VirtualBox

Changeset 71761 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Apr 9, 2018 10:36:51 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121863
Message:

DevIchAc97/timer: Paused mplayer fooling me. The timer does stop when actually idle, but mplayer feeds zeros when paused.

File:
1 edited

Legend:

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

    r71756 r71761  
    22922292        || fArmTimer)
    22932293    {
    2294 /** @todo r=bird: This is simplitic insanity.  Nobody wants a timer running
    2295  *        every 5 ms (see AC97_TIMER_HZ) all the time the VM is up running!
    2296  *
    2297  *        If there isn't a way of detecting that guest is up to something, at
    2298  *        least try lowering the frequency when idle.
    2299  */
    23002294        /* Arm the timer again. */
    23012295        uint64_t cTicks = pThis->cTimerTicks;
     
    23242318    PAC97STATE pThis = (PAC97STATE)pvUser;
    23252319    Assert(pThis == PDMINS_2_DATA(pDevIns, PAC97STATE));
    2326     AssertPtr(pThis);
    23272320
    23282321    ichac97R3TimerMain(pThis);
Note: See TracChangeset for help on using the changeset viewer.

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