~ubuntu-branches/ubuntu/raring/pd-smlib/raring-proposed

« back to all changes in this revision

Viewing changes to vmin.c

  • Committer: Package Import Robot
  • Author(s): Hans-Christoph Steiner
  • Date: 2012-09-25 12:20:08 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120925122008-jhr5hyl3juh91eyv
Tags: 0.12.2-1
* updated to upstream version v0.12.2
* removed patches since they are in new upstream release
* bumped standards version to 3.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
{
19
19
        int i;
20
20
        int mini;
21
 
        float min=MAXFLOAT;
 
21
        t_float min=MAXFLOAT;
22
22
        for (i = 0; i < argc; i++)
23
23
        {
24
 
                float f=atom_getfloat(&argv[i]);
 
24
                t_float f=atom_getfloat(&argv[i]);
25
25
                if (f<min)
26
26
                { 
27
27
                        min=f;
29
29
                }
30
30
        }
31
31
        outlet_float(x->x_obj.ob_outlet, min);
32
 
        outlet_float(x->m_out_maxi, (float)(mini+1));
 
32
        outlet_float(x->m_out_maxi, (t_float)(mini+1));
33
33
}
34
34
 
35
35
static void *vmin_new( t_float halfDecayTime)