Changeset 254
- Timestamp:
- Feb 9, 2011, 9:06:13 PM (15 years ago)
- Location:
- trunk/openjdk/jdk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/src/share/native/com/sun/media/sound/DirectAudio.h
r2 r254 57 57 #if (USE_DAUDIO == TRUE) 58 58 59 #ifdef __cplusplus 60 extern "C" { 61 #endif 62 59 63 // callback from GetFormats, implemented in DirectAudioDevice.c 60 64 void DAUDIO_AddAudioFormat(void* creator, int significantBits, int frameSizeInBytes, … … 98 102 void DAUDIO_Service(void* id, int isSource); 99 103 104 #ifdef __cplusplus 105 } /* extern "C" */ 106 #endif 107 100 108 #endif // USE_DAUDIO 101 109 -
trunk/openjdk/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp
r2 r254 44 44 #include <dsound.h> 45 45 46 /* include Java Sound specific headers as C code */ 47 #ifdef __cplusplus 48 extern "C" { 49 #endif 50 #include "DirectAudio.h" 51 #ifdef __cplusplus 52 } 53 #endif 46 /* include Java Sound specific headers */ 47 #include "DirectAudio.h" 54 48 55 49 #ifdef USE_DEBUG_SILENCING
Note:
See TracChangeset
for help on using the changeset viewer.