VirtualBox

Changeset 67508 in vbox


Ignore:
Timestamp:
Jun 20, 2017 1:50:35 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116247
Message:

Audio/DevHDA.cpp: Also start the async I/O thread(s) when running from a saved state in hdaLoadExecPost() when required.

File:
1 edited

Legend:

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

    r67505 r67508  
    60936093            if (fActive)
    60946094            {
    6095                 int rc2 = hdaStreamEnable(pThis, pStream, true /* fEnable */);
     6095                int rc2;
     6096
     6097#ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
     6098                /* Make sure to also create the async I/O thread before actually enabling the stream. */
     6099                rc2 = hdaStreamAsyncIOCreate(pThis, pStream);
     6100                AssertRC(rc2);
     6101#endif
     6102                rc2 = hdaStreamEnable(pThis, pStream, true /* fEnable */);
    60966103                AssertRC(rc2);
    60976104
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