Modified by: [EMAIL PROTECTED]

 Reviewed by: [EMAIL PROTECTED]

 Date: 6/16/2006

 Project: audio

 

 Synopsis: Currently, HXAudioDeviceHook.dll is shipped and registered by Rhapsody; so if same class id (CLSID_HXAUDIODEVICEHOOK) is used by RealPlayer, this DLL will be shared; thus we want a new class ID for this DLL specific for RealPlayer.

 

 Overview:

 N/A

 

 Files Modified:

 Audio/device/platform/win/HXAudioDeviceHook/HXAudioDeviceHook.h

 

 Image Size and Heap Use impact (Client-Only):

 N/A

 

 Platforms and Profiles Affected:

 All

 

 Distribution Libraries Affected:

 N/A

 

 Distribution library impact and planned action:

 N/A

 

 Platforms and Profiles Build Verified:

 Windows

 helix-client-all-defines

 

 Platforms and Profiles Functionality verified:

 Windows

 helix-client-all-defines

 

 Branch:

 Thxclient_1_5_0_cayenne

? diff.txt
Index: HXAudioDeviceHook.h
===================================================================
RCS file: 
/cvsroot/audio/device/platform/win/HXAudioDeviceHook/HXAudioDeviceHook.h,v
retrieving revision 1.2
diff -u -w -U20 -r1.2 HXAudioDeviceHook.h
--- HXAudioDeviceHook.h 2 Jul 2004 22:11:05 -0000       1.2
+++ HXAudioDeviceHook.h 16 Jun 2006 18:13:18 -0000
@@ -41,33 +41,42 @@
 extern "C" {
 #endif /* C++ */
 
 /* Forward Declarations */ 
 #ifdef __cplusplus
 typedef class CHXAudioDeviceHook CHXAudioDeviceHook;
 #else
 typedef struct CHXAudioDeviceHook CHXAudioDeviceHook;
 #endif /* __cplusplus */
 
 /* Interface Definition */
 #undef  INTERFACE
 #define INTERFACE  IHXAudioDeviceHookDMO
 DECLARE_INTERFACE_(IHXAudioDeviceHookDMO, IUnknown)
 {
     // IHXAudioDeviceHookDMO methods
     STDMETHOD(Init)     (THIS_ IUnknown* pContext) PURE;
 };
 
 /* GUID Definition */
+#ifdef HELIX_FEATURE_REALPLAYER
+DEFINE_GUID(CLSID_HXAUDIODEVICEHOOK, 0xb84b8d32, 0xa391, 0x4308, 0x93, 0x71, 
0x7d, 0x51, 0xc9, 0xc6, 0x5b, 0x3);
+#else
 DEFINE_GUID(CLSID_HXAUDIODEVICEHOOK, 0X2CFA30DA, 0X118B, 0X4CA3, 0XAA, 0XF3, 
0XF4, 0X74, 0X16, 0X23, 0X2, 0XE5);
+#endif
+
 DEFINE_GUID(IID_IHXAudioDeviceHookDMO, 0x8b183d4a, 0x4e72, 0x42fe, 0xb5, 0x18, 
0x30, 0x73, 0x42, 0x3d, 0xcf, 0x39);
 
 #ifdef __cplusplus
+#ifdef HELIX_FEATURE_REALPLAYER
+class DECLSPEC_UUID("B84B8D32-A391-4308-9371-7D51C9C65B03") CHXAudioDeviceHook;
+#else
 class DECLSPEC_UUID("2cfa30da-118b-4ca3-aaf3-f474162302e5") CHXAudioDeviceHook;
 #endif
+#endif
 
 #ifdef __cplusplus
 };     /* extern "C" */
 #endif /* C++ */
 
 #endif // _HXAUDIODEVICEHOOK_INTERFACE_
 
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to