Changeset 5873 for trunk/src/winmm/initterm.cpp
- Timestamp:
- Jun 2, 2001, 10:30:35 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/initterm.cpp
r5366 r5873 26 26 #define INCL_DOSMODULEMGR 27 27 #define INCL_DOSPROCESS 28 #define INCL_DOSSEMAPHORES 28 29 #include <os2wrap.h> //Odin32 OS/2 api wrappers 29 30 #include <stdlib.h> … … 38 39 #include <initdll.h> 39 40 #include "auxiliary.h" 41 #include "winmmtype.h" 42 #include "waveoutbase.h" 43 #include <win\options.h> 40 44 41 45 #define DBG_LOCALLOG DBG_initterm … … 63 67 { 64 68 case DLL_PROCESS_ATTACH: 69 { 65 70 if (!MULTIMEDIA_CreateIData(hinstDLL)) 66 71 return FALSE; … … 73 78 bInitDone = TRUE; 74 79 } 80 DWORD dwVolume; 81 82 dwVolume = PROFILE_GetOdinIniInt(WINMM_SECTION, DEFVOL_KEY, 100); 83 dwVolume = (dwVolume*0xFFFF)/100; 84 dwVolume = (dwVolume << 16) | dwVolume; 85 WaveOut::setDefaultVolume(dwVolume); 75 86 return TRUE; 87 } 76 88 77 89 case DLL_THREAD_ATTACH:
Note:
See TracChangeset
for help on using the changeset viewer.