Changeset 21571 for trunk/src/dsound
- Timestamp:
- Feb 9, 2011, 5:03:14 PM (15 years ago)
- Location:
- trunk/src/dsound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dsound/DSOUND.CPP
r21479 r21571 106 106 dprintf(("DSOUND:DirectSoundEnumerateA\n")); 107 107 108 lpCallback(NULL, "DART DirectSound for OS/2", "DirectSound/2 v0.5", 109 lpContext); 108 // According to MSDN, the default sound device comes twice: first with a 109 // null GUID and second wth its real GUID 110 111 lpCallback(NULL, 112 "DART DirectSound for OS/2", "DirectSound/2 v0.5", 113 lpContext); 114 115 lpCallback((LPGUID)&GUID_DirectSound_DART, 116 "DART DirectSound for OS/2", "DirectSound/2 v0.5", 117 lpContext); 118 110 119 return DS_OK; 111 120 } … … 118 127 dprintf(("DSOUND:DirectSoundEnumerateW\n")); 119 128 120 lpCallback(NULL, (LPWSTR)L"DART DirectSound for OS/2", (LPWSTR)L"DirectSound/2 v0.5", 121 lpContext); 129 // According to MSDN, the default sound device comes twice: first with a 130 // null GUID and second wth its real GUID 131 132 lpCallback(NULL, 133 (LPWSTR)L"DART DirectSound for OS/2", (LPWSTR)L"DirectSound/2 v0.5", 134 lpContext); 135 136 lpCallback((LPGUID)&GUID_DirectSound_DART, 137 (LPWSTR)L"DART DirectSound for OS/2", (LPWSTR)L"DirectSound/2 v0.5", 138 lpContext); 139 122 140 return DS_OK; 123 141 } -
trunk/src/dsound/OS2DSOUND.H
r3555 r21571 20 20 // A forward declaration is need here! 21 21 class OS2PrimBuff; 22 23 // GUID for the only device we provide (DART DirectSound for OS/2) 24 DEFINE_GUID(GUID_DirectSound_DART, 0x03BC8FA8, 0x3460, 0x11E0, 0x99, 0x51, 0x49, 0xC1, 0xDF, 0xD7, 0x20, 0x85 ); 22 25 23 26 class OS2IDirectSound
Note:
See TracChangeset
for help on using the changeset viewer.