shithub: aacenc

ref: 29fe1278dc4e8f4700282ca67bf1c6e4237e4a94
dir: /plugins/cooledit/defines.h/

View raw version
/*
FAAC - codec plugin for Cooledit
Copyright (C) 2002-2004 Antonio Foranna

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.
	
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
		
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
			
The author can be contacted at:
ntnfrn_email-temp@yahoo.it
*/

#define APP_NAME "MPEG4-AAC"
#define APP_VER "v2.6"
#define REGISTRY_PROGRAM_NAME "SOFTWARE\\4N\\CoolEdit\\AAC-MPEG4"

//#define USE_OUTPUT_FOLDER
#define USE_IMPORT_TAG
#define USE_PATHEXT

// *********************************************************************************************

#define FREE_ARRAY(ptr) \
{ \
	if(ptr!=NULL) \
		free(ptr); \
	ptr=NULL; \
}

// -----------------------------------------------------------------------------------------------

#define GLOBALLOCK(ptr,handle,type,ret) \
{ \
	if(!(ptr=(type *)GlobalLock(handle))) \
	{ \
		MessageBox(0, "GlobalLock", APP_NAME " plugin", MB_OK|MB_ICONSTOP); \
		ret; \
	} \
}