VirtualBox

Changeset 68719 in vbox


Ignore:
Timestamp:
Sep 12, 2017 9:48:11 AM (7 years ago)
Author:
vboxsync
Message:

Audio: TMTimerStop() not needed in hdaTimerStop() / ichac97TimerStop().

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

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

    r68711 r68719  
    25612561        pThis->fTimerActive = false;
    25622562
    2563         TMTimerStop(pThis->pTimer);
     2563        /* Note: Do not stop the timer via TMTimerStop() here, as there still might
     2564         *       be queued audio data which needs to be handled (e.g. played back) first
     2565         *       before actually stopping the timer for good. */
    25642566    }
    25652567
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r68713 r68719  
    21512151        pThis->fTimerActive = false;
    21522152
    2153         TMTimerStop(pThis->pTimer);
     2153        /* Note: Do not stop the timer via TMTimerStop() here, as there still might
     2154         *       be queued audio data which needs to be handled (e.g. played back) first
     2155         *       before actually stopping the timer for good. */
    21542156    }
    21552157
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