~ubuntu-branches/ubuntu/precise/lmms/precise-updates

« back to all changes in this revision

Viewing changes to plugins/ladspa_effect/calf/src/modules.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Артём Попов
  • Date: 2011-02-14 20:58:36 UTC
  • mfrom: (1.1.10 upstream) (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110214205836-2u41xus1d2mj8nfz
Tags: 0.4.10-1ubuntu1
* Merge from debian unstable (LP: #718801).  Remaining changes:
  - Replace build-dep on libwine-dev with wine1.2-dev to build
    against the newer Wine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
    // if the buffer hasn't been cleared yet (after activation), pretend we've read zeros
190
190
    if (age <= deltime) {
191
191
        out = 0;
 
192
        del = dry_value;
192
193
        amt.step();
193
194
        fb.step();
194
195
    }
206
207
{
207
208
    if (age <= deltime) {
208
209
        out = 0;
 
210
        del = dry_value;
209
211
        amt.step();
210
212
        fb.step();
211
213
    }
378
380
}
379
381
 
380
382
 
381
 
void filterclavier_audio_module::note_on(int note, int vel)
 
383
void filterclavier_audio_module::note_on(int channel, int note, int vel)
382
384
{
383
385
    last_note     = note;
384
386
    last_velocity = vel;
399
401
    inertia_filter_module::calculate_filter();
400
402
}
401
403
 
402
 
void filterclavier_audio_module::note_off(int note, int vel)
 
404
void filterclavier_audio_module::note_off(int channel, int note, int vel)
403
405
{
404
406
    if (note == last_note) {
405
407
        inertia_filter_module::inertia_resonance.set_inertia(param_props[par_max_resonance].min);