VirtualBox

Changeset 35575 in vbox for trunk/src


Ignore:
Timestamp:
Jan 14, 2011 6:16:12 PM (14 years ago)
Author:
vboxsync
Message:

audio: Avoid recurring buffer lost log entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/dsoundaudio.c

    r35573 r35575  
    719719            return 0;
    720720        hr = IDirectSoundBuffer_GetCurrentPosition(dsb, &ppos, ds->first_time ? &wpos : NULL);
     721        if (hr == DSERR_BUFFERLOST)
     722            return 0;   // Avoid log flooding if the error is still there.
    721723    }
    722724    if (FAILED (hr)) {
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