VirtualBox

Ignore:
Timestamp:
Feb 27, 2007 11:00:14 AM (18 years ago)
Author:
vboxsync
Message:

fix Vista crash if sound is enabled; made audio LogRel consistent; winmm was never used, show dsound instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r1015 r1071  
    38273827#ifdef __WIN__
    38283828        else if (driver == L"winmm")
     3829#ifdef VBOX_WITH_WINMM
    38293830            audioDriver = AudioDriverType_WINMMAudioDriver;
     3831#else
     3832            // fall back to dsound
     3833            audioDriver = AudioDriverType_DSOUNDAudioDriver;
     3834#endif
    38303835        else if (driver == L"dsound")
    38313836            audioDriver = AudioDriverType_DSOUNDAudioDriver;
     
    55825587#ifdef __WIN__
    55835588            case AudioDriverType_WINMMAudioDriver:
     5589#ifdef VBOX_WITH_WINMM
    55845590            {
    55855591                CFGLDRSetString (adapterNode, "driver", "winmm");
    55865592                break;
    55875593            }
     5594#endif
    55885595            case AudioDriverType_DSOUNDAudioDriver:
    55895596            {
     
    55925599            }
    55935600#endif /* __WIN__ */
     5601            case AudioDriverType_ALSAAudioDriver:
    55945602#ifdef VBOX_WITH_ALSA
    5595             case AudioDriverType_ALSAAudioDriver:
    55965603            {
    55975604                CFGLDRSetString (adapterNode, "driver", "alsa");
    55985605                break;
    55995606            }
    5600 #else
    5601             /* fall back to OSS */
    5602             case AudioDriverType_ALSAAudioDriver:
    56035607#endif
    56045608#ifdef __LINUX__
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