VirtualBox

Changeset 68356 in vbox


Ignore:
Timestamp:
Aug 9, 2017 3:14:54 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117484
Message:

DrvAudio: Increased temporary audio frame buffer to 4K in drvAudioStreamPlay[Raw|NonInterleaved]. Should decrease number of roundtrips needed.

File:
1 edited

Legend:

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

    r68272 r68356  
    12911291        if (cfToPlay)
    12921292        {
    1293             uint8_t auBuf[256]; /** @todo Get rid of this here. */
     1293            uint8_t auBuf[_4K]; /** @todo Get rid of this here. */
    12941294
    12951295            uint32_t cbLeft  = AUDIOMIXBUF_F2B(&pHstStream->MixBuf, cfToPlay);
     
    13851385            cfToPlay = cfWritable;
    13861386
    1387         PDMAUDIOFRAME aFrameBuf[256]; /** @todo Get rid of this here. */
     1387        PDMAUDIOFRAME aFrameBuf[_4K]; /** @todo Get rid of this here. */
    13881388
    13891389        uint32_t cfLeft = cfToPlay;
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