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

« back to all changes in this revision

Viewing changes to bristol/envelope.h

  • 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 audio 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
29
29
#define STATE_DECAY 12
30
30
#define STATE_SUSTAIN 13
31
31
 
 
32
#define LINEAR_ATTACK 1
 
33
 
32
34
typedef struct BristolENV {
33
35
        bristolOPSpec spec;
 
36
        float samplerate;
 
37
        float duration;
 
38
        unsigned int flags;
34
39
} bristolENV;
35
40
 
36
41
typedef struct BristolENVlocal {