[PD-cvs] externals/grill/vst/src VstHost.cpp,1.9,1.10

Thomas Grill xovo at users.sourceforge.net
Mon Jun 21 16:07:26 CEST 2004


Update of /cvsroot/pure-data/externals/grill/vst/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29096/src

Modified Files:
	VstHost.cpp 
Log Message:
 ""

Index: VstHost.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/vst/src/VstHost.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** VstHost.cpp	25 Feb 2004 05:34:53 -0000	1.9
--- VstHost.cpp	21 Jun 2004 14:07:23 -0000	1.10
***************
*** 345,349 ****
  long VSTPlugin::Master(AEffect *effect, long opcode, long index, long value, void *ptr, float opt)
  {
!     switch (opcode) {
      case audioMasterAutomate: // 0
  		// index, value given
--- 345,353 ----
  long VSTPlugin::Master(AEffect *effect, long opcode, long index, long value, void *ptr, float opt)
  {
! #if 1 //def FLEXT_DEBUG
!     	post("VST -> host: Eff = 0x%.8X, Opcode = %d, Index = %d, Value = %d, PTR = %.8X, OPT = %.3f\n",(int)effect, opcode,index,value,(int)ptr,opt);
! #endif
! 
! 	switch (opcode) {
      case audioMasterAutomate: // 0
  		// index, value given
***************
*** 363,370 ****
  	case audioMasterGetTime: // 7
  		return 0; // not supported
      default:
- #ifdef FLEXT_DEBUG
-     	post("VST -> host: Eff = 0x%.8X, Opcode = %d, Index = %d, Value = %d, PTR = %.8X, OPT = %.3f\n",(int)effect, opcode,index,value,(int)ptr,opt);
- #endif
          return 0;
      }
--- 367,373 ----
  	case audioMasterGetTime: // 7
  		return 0; // not supported
+ 	case audioMasterGetNumAutomatableParameters: // 11
+ 		return 0; // not supported
      default:
          return 0;
      }





More information about the Pd-cvs mailing list