VirtualBox

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


Ignore:
Timestamp:
Mar 11, 2021 10:12:58 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143240
Message:

DevHDA: Separate DMA transfer function for output (hdaR3StreamDoDmaOutput) so I can reduce it without thinking about recording/input streams. [build fix] bugref:9890

File:
1 edited

Legend:

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

    r88096 r88097  
    21672167
    21682168    Assert(nsNow >= pStreamShared->State.tsLastReadNs);
    2169     Log3Func(("[SD%RU8] msDeltaLastRead=%RI64\n",
    2170               pStreamShared->u8SD, (nsNow - pStreamShared->State.tsLastReadNs) / RT_NS_1MS));
    2171     Log3Func(("[SD%RU8] cbSinkWritable=%RU32, cbStreamReadable=%RU32 -> cbToReadFromStream=%RU32\n",
    2172               pStreamShared->u8SD, cbSinkWritable, cbStreamReadable, cbToReadFromStream));
     2169    Log3Func(("[SD%RU8] nsDeltaLastRead=%RI64 cbSinkWritable=%RU32 cbStreamReadable=%RU32 -> cbToReadFromStream=%RU32\n",
     2170              pStreamShared->u8SD, nsNow - pStreamShared->State.tsLastReadNs, cbSinkWritable, cbStreamReadable, cbToReadFromStream));
     2171    RT_NOREF(pStreamShared, nsNow);
    21732172
    21742173    if (cbToReadFromStream)
     
    21792178    }
    21802179
    2181     /* When running synchronously, update the associated sink here.
    2182      * Otherwise this will be done in the async I/O thread. */
    21832180    int rc2 = AudioMixerSinkUpdate(pSink);
    21842181    AssertRC(rc2);
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