[PD-cvs] pd/src s_midi_mmio.c, 1.4.12.2, 1.4.12.3 s_midi_pm.c, 1.4.4.1.2.8.2.5, 1.4.4.1.2.8.2.6

Mathieu Bouchard matju at users.sourceforge.net
Sat Aug 4 02:57:42 CEST 2007


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

Modified Files:
      Tag: desiredata
	s_midi_mmio.c s_midi_pm.c 
Log Message:
remove stderr


Index: s_midi_mmio.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_midi_mmio.c,v
retrieving revision 1.4.12.2
retrieving revision 1.4.12.3
diff -C2 -d -r1.4.12.2 -r1.4.12.3
*** s_midi_mmio.c	3 Aug 2007 00:06:51 -0000	1.4.12.2
--- s_midi_mmio.c	4 Aug 2007 00:57:40 -0000	1.4.12.3
***************
*** 65,69 ****
              msw_midiouterror("midiOutOpen: %s", result);
          } else {
!             if (sys_verbose) fprintf(stderr,"midiOutOpen: Open %s as Port %d\n", midioutcaps.szPname, dev);
              dev++;
          }
--- 65,69 ----
              msw_midiouterror("midiOutOpen: %s", result);
          } else {
!             if (sys_verbose) error("midiOutOpen: Open %s as Port %d", midioutcaps.szPname, dev);
              dev++;
          }
***************
*** 472,476 ****
          wRtn = midiInGetDevCaps(i, (LPMIDIINCAPS) &micap, sizeof(micap));
          if (wRtn) msw_midiinerror("midiInGetDevCaps: %s", wRtn);
!         else fprintf(stderr, "MIDI input device #%d: %s\n", i+1, micap.szPname);
      }
      ndevices = midiOutGetNumDevs();
--- 472,476 ----
          wRtn = midiInGetDevCaps(i, (LPMIDIINCAPS) &micap, sizeof(micap));
          if (wRtn) msw_midiinerror("midiInGetDevCaps: %s", wRtn);
!         else error("MIDI input device #%d: %s", i+1, micap.szPname);
      }
      ndevices = midiOutGetNumDevs();
***************
*** 479,483 ****
          wRtn = midiOutGetDevCaps(i, (LPMIDIOUTCAPS) &mocap, sizeof(mocap));
          if (wRtn) msw_midiouterror("midiOutGetDevCaps: %s", wRtn);
!         else fprintf(stderr, "MIDI output device #%d: %s\n", i+1, mocap.szPname);
      }
  }
--- 479,483 ----
          wRtn = midiOutGetDevCaps(i, (LPMIDIOUTCAPS) &mocap, sizeof(mocap));
          if (wRtn) msw_midiouterror("midiOutGetDevCaps: %s", wRtn);
!         else error("MIDI output device #%d: %s", i+1, mocap.szPname);
      }
  }

Index: s_midi_pm.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_midi_pm.c,v
retrieving revision 1.4.4.1.2.8.2.5
retrieving revision 1.4.4.1.2.8.2.6
diff -C2 -d -r1.4.4.1.2.8.2.5 -r1.4.4.1.2.8.2.6
*** s_midi_pm.c	24 Jul 2007 03:47:13 -0000	1.4.4.1.2.8.2.5
--- s_midi_pm.c	4 Aug 2007 00:57:40 -0000	1.4.4.1.2.8.2.6
***************
*** 78,86 ****
  void sys_putmidimess(int portno, int a, int b, int c) {
      PmEvent buffer;
!     /* fprintf(stderr, "put 1 msg %d %d\n", portno, mac_nmidioutdev); */
      if (portno >= 0 && portno < mac_nmidioutdev) {
          buffer.message = Pm_Message(a, b, c);
          buffer.timestamp = 0;
!         /* fprintf(stderr, "put msg\n"); */
          Pm_Write(mac_midioutdevlist[portno], &buffer, 1);
      }
--- 78,86 ----
  void sys_putmidimess(int portno, int a, int b, int c) {
      PmEvent buffer;
!     /* post("put 1 msg %d %d", portno, mac_nmidioutdev); */
      if (portno >= 0 && portno < mac_nmidioutdev) {
          buffer.message = Pm_Message(a, b, c);
          buffer.timestamp = 0;
!         /* post("put msg"); */
          Pm_Write(mac_midioutdevlist[portno], &buffer, 1);
      }





More information about the Pd-cvs mailing list