[PD-cvs] pd/src s_audio_asio.cpp,1.1.4.2,1.1.4.3

Thomas Grill xovo at users.sourceforge.net
Sun Nov 7 12:11:56 CET 2004


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21090/src

Modified Files:
      Tag: devel_0_38
	s_audio_asio.cpp 
Log Message:
code cleanups
more assertions
bug fixes and optimization for converter functions
force silence at driver shutdown

Index: s_audio_asio.cpp
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/s_audio_asio.cpp,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -C2 -d -r1.1.4.2 -r1.1.4.3
*** s_audio_asio.cpp	6 Nov 2004 15:22:54 -0000	1.1.4.2
--- s_audio_asio.cpp	7 Nov 2004 11:11:54 -0000	1.1.4.3
***************
*** 12,15 ****
--- 12,21 ----
  #include "windows.h" /* for application window handle */
  #define IEEE754_64FLOAT 1
+ #else
+ #error This is for MS Windows (Intel CPU architecture) only!!
+ #endif
+ 
+ #ifdef _MSC_VER
+ #pragma warning( disable : 4091 )
  #endif
[...1084 lines suppressed...]
!     float *out = (float *)outbuffer;
  	while (frames--)
  	{
!         __int32 lgin = *in++;
! 		*(out++) = (float)SWAPLONG(lgin) * (1.f / SCALE_INT32);
  	}
  }
***************
*** 867,871 ****
  
  /* some local helper functions */
! inline void prepare_asio_drivernames(void)
  {
  	if (asio_drivernames == NULL)
--- 1032,1036 ----
  
  /* some local helper functions */
! static void prepare_asio_drivernames(void)
  {
  	if (asio_drivernames == NULL)





More information about the Pd-cvs mailing list