~ubuntu-branches/debian/stretch/bristol/stretch

« back to all changes in this revision

Viewing changes to libbristolmidi/midiFileMgt.c

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-11-14 06:15:01 UTC
  • mfrom: (1.2.6) (6.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20111114061501-fralw11sxtl7n929
Tags: 0.60.9-1
* New upstream bugfix release.
* Depends on libjack-dev only.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
3
 *  Diverse Bristol midi routines.
4
 
 *  Copyright (c) by Nick Copeland <nickycopeland@hotmail.com> 1996,2010
 
4
 *  Copyright (c) by Nick Copeland <nickycopeland@hotmail.com> 1996,2011
5
5
 *
6
6
 *
7
7
 *   This program is free software; you can redistribute it and/or modify
281
281
                                {
282
282
                                        points[wheel] = value;
283
283
                                        mapped++;
 
284
                                        //printf("mapped %i to %0.2f\n", wheel, value);
284
285
                                }
285
286
                        }
286
287
                }
328
329
                points[n] = points[n - 1];
329
330
 
330
331
/*
 
332
if (mapped)
 
333
{
331
334
        i = 0;
332
335
        printf("%s\n", match);
333
336
        printf("%1.2f %1.2f %1.2f %1.2f %1.2f %1.2f %1.2f %1.2f\n",
334
337
                points[i], points[i+1], points[i+2], points[i+3], 
335
338
                points[i+4], points[i+5], points[i+6], points[i+7]);
336
 
        if ((i += 8) < count) 
 
339
        if ((i += 8) < 128) 
337
340
                printf("%1.2f %1.2f %1.2f %1.2f %1.2f %1.2f %1.2f %1.2f\n",
338
341
                        points[i], points[i+1], points[i+2], points[i+3], 
339
342
                        points[i+4], points[i+5], points[i+6], points[i+7]);
376
379
        if ((i += 8) < count) 
377
380
                printf("%1.2f %1.2f %1.2f\n",
378
381
                        points[i], points[i+1], points[i+2]);
 
382
}
379
383
*/
380
384
 
381
385
        return(mapped);