History

Updated plugins for FAAC

menno committed 22 years ago

Commit 193311f1 parent 20faadc42 files · +3577 −2584Browse files

Showing the changes to plugins/cooledit/Main.cpp (1 of 42 files). Show all

Unified · Split

plugins/cooledit/Main.cpp+5−4
@@ -28,7 +28,7 @@ ntnfrn_email-temp@yahoo.it · 27 unmodified lines
28// Plugins of CoolEdit can be unloaded between each call of its exported funcs,28// Plugins of CoolEdit can be unloaded between each call of its exported funcs,
29// that's why no global variables can be used29// that's why no global variables can be used
30 30
31HINSTANCE hInst=NULL;31HINSTANCE hInstance=NULL;
32HBITMAP hBmBrowse=NULL;32HBITMAP hBmBrowse=NULL;
33 33
34BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)34BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)
@@ -36,9 +36,9 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved) · 1 unmodified line
36 switch (fdwReason)36 switch (fdwReason)
37 {37 {
38 case DLL_PROCESS_ATTACH:38 case DLL_PROCESS_ATTACH:
39 hInst=(HINSTANCE)hModule;39 hInstance=(HINSTANCE)hModule;
40 if(!hBmBrowse)40 if(!hBmBrowse)
41 hBmBrowse=(HBITMAP)LoadImage(hInst,MAKEINTRESOURCE(IDB_BROWSE),IMAGE_BITMAP,0,0,/*LR_CREATEDIBSECTION|*/LR_LOADTRANSPARENT|LR_LOADMAP3DCOLORS);41 hBmBrowse=(HBITMAP)LoadImage(hInstance,MAKEINTRESOURCE(IDB_BROWSE),IMAGE_BITMAP,0,0,/*LR_CREATEDIBSECTION|*/LR_LOADTRANSPARENT|LR_LOADMAP3DCOLORS);
42 /* Code from LibMain inserted here. Return TRUE to keep the42 /* Code from LibMain inserted here. Return TRUE to keep the
43 DLL loaded or return FALSE to fail loading the DLL.43 DLL loaded or return FALSE to fail loading the DLL.
44 44
@@ -80,7 +80,7 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved) · 35 unmodified lines
80 LibMain) not be necessary. Check to make certain that the80 LibMain) not be necessary. Check to make certain that the
81 operating system is not doing it for you.81 operating system is not doing it for you.
82 */82 */
83 hInst=NULL;83 hInstance=NULL;
84 if(hBmBrowse)84 if(hBmBrowse)
85 {85 {
86 DeleteObject(hBmBrowse);86 DeleteObject(hBmBrowse);
@@ -102,6 +102,7 @@ short FAR PASCAL QueryCoolFilter(COOLQUERY far * cq) · 15 unmodified lines
102 lstrcpy(cq->szCopyright, APP_NAME " codec");102 lstrcpy(cq->szCopyright, APP_NAME " codec");
103 lstrcpy(cq->szExt,"AAC");103 lstrcpy(cq->szExt,"AAC");
104 lstrcpy(cq->szExt2,"MP4"); 104 lstrcpy(cq->szExt2,"MP4");
105 lstrcpy(cq->szExt3,"M4A");
105 cq->lChunkSize=16384; 106 cq->lChunkSize=16384;
106 cq->dwFlags=QF_RATEADJUSTABLE|QF_CANLOAD|QF_CANSAVE|QF_HASOPTIONSBOX|QF_CANDO32BITFLOATS;107 cq->dwFlags=QF_RATEADJUSTABLE|QF_CANLOAD|QF_CANSAVE|QF_HASOPTIONSBOX|QF_CANDO32BITFLOATS;
107 cq->Mono8=R_5500|R_11025|R_22050|R_32075|R_44100|R_48000;108 cq->Mono8=R_5500|R_11025|R_22050|R_32075|R_44100|R_48000;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t