Ignore:
Timestamp:
Aug 8, 2011, 11:33:17 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: QSound: Use shared mode by default.

This makes sense since the Uniaud driver that made a lot of problems
before when it came to shared sound card usage, is now much more
stable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qsound_pm.cpp

    r659 r949  
    432432        params |= MCI_OPEN_SHAREABLE;
    433433    } else {
    434         // Too pity, but we have to use exclusive mode by default due to
    435         // problems with the uniaud driver that is most commonly used nowadays.
    436         // In non-exclusive (shared) mode, we will hang up in mmpm.dll doing
    437         // mciSendCommand(MCI_CLOSE) in close() for the last played sound if
    438         // we start playing 10 or more sounds simultaneously (i.e. w/o waiting
    439         // until the previous one completely finishes playing).
     434        // use shared mode by default
     435        params |= MCI_OPEN_SHAREABLE;
    440436    }
    441437    ULONG rc = mciSendCommand(0, MCI_OPEN, params, &openParams, 0);
Note: See TracChangeset for help on using the changeset viewer.