[PD-cvs] pd/src m_glob.c, 1.4.4.2.2.16, 1.4.4.2.2.17 s_audio_portaudio.c, 1.1.2.18, 1.1.2.19

Thomas Grill xovo at users.sourceforge.net
Sat Aug 12 13:54:49 CEST 2006


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

Modified Files:
      Tag: devel_0_39
	m_glob.c s_audio_portaudio.c 
Log Message:
fixed asiolatency message

Index: s_audio_portaudio.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/s_audio_portaudio.c,v
retrieving revision 1.1.2.18
retrieving revision 1.1.2.19
diff -C2 -d -r1.1.2.18 -r1.1.2.19
*** s_audio_portaudio.c	7 Aug 2006 17:18:07 -0000	1.1.2.18
--- s_audio_portaudio.c	12 Aug 2006 11:54:47 -0000	1.1.2.19
***************
*** 131,136 ****
      }
  
! 
!     if (1/* sys_verbose */)
      {
          post("input device %d, channels %d", pa_indev, inchans);
--- 131,137 ----
      }
  
! #ifndef DEBUG
!     if (sys_verbose)
! #endif
      {
          post("input device %d, channels %d", pa_indev, inchans);
***************
*** 138,141 ****
--- 139,143 ----
          post("latency advance %d", advance);
      }
+ 
      if (inchans || outchans)
      {
***************
*** 243,247 ****
      }
  
!     post("successfully started");
  
      return (0);
--- 245,252 ----
      }
  
! #ifndef DEBUG
!     if(sys_verbose)
! #endif
!         post("successfully started");
  
      return (0);
***************
*** 341,345 ****
  void pa_close_audio( void)
  {
!     post("closing portaudio");
      if (pa_inchans || pa_outchans)
      {
--- 346,354 ----
  void pa_close_audio( void)
  {
! #ifndef DEBUG
!     if(sys_verbose)
! #endif
!         post("closing portaudio");
! 
      if (pa_inchans || pa_outchans)
      {
***************
*** 357,361 ****
      sys_setscheduler(0);
  
!     post("portaudio closed");
      pa_inchans = pa_outchans = 0;
      pa_indev = pa_outdev = -1;
--- 366,374 ----
      sys_setscheduler(0);
  
! #ifndef DEBUG
!     if(sys_verbose)
! #endif
!         post("portaudio closed");
! 
      pa_inchans = pa_outchans = 0;
      pa_indev = pa_outdev = -1;
***************
*** 592,598 ****
  void pa_get_asio_latencies(t_float f)
  {
!     int index = (int)f;
      const PaDeviceInfo *pdi = Pa_GetDeviceInfo(index);
!     if (pdi->hostApi != paASIO)
      {
          post("device not an asio device");
--- 605,612 ----
  void pa_get_asio_latencies(t_float f)
  {
!     int index = pddev2padev((int)f,0);
      const PaDeviceInfo *pdi = Pa_GetDeviceInfo(index);
!     const PaHostApiInfo *phi = Pa_GetHostApiInfo(pdi->hostApi);
!     if (phi->type != paASIO)
      {
          post("device not an asio device");

Index: m_glob.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_glob.c,v
retrieving revision 1.4.4.2.2.16
retrieving revision 1.4.4.2.2.17
diff -C2 -d -r1.4.4.2.2.16 -r1.4.4.2.2.17
*** m_glob.c	8 Aug 2006 23:37:27 -0000	1.4.4.2.2.16
--- m_glob.c	12 Aug 2006 11:54:47 -0000	1.4.4.2.2.17
***************
*** 105,108 ****
--- 105,110 ----
      if (s == gensym("audiocurrentoutinfo"))
          return;
+     if (s == gensym("asiolatency"))
+         return;
  
      startpost("%s: unknown message %s ", class_getname(pd_class(x)),





More information about the Pd-cvs mailing list