diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-11-26 03:52:04 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-11-26 03:52:04 +0000 |
commit | a31e4a69b32812ef2ad0de322c54996bb16c09fa (patch) | |
tree | bdc46ad7214c8254edee3cc610b6ce5264685c13 /cyclone | |
parent | f1b0ac7aecdf50da3c1649f536d72bae62c570c7 (diff) |
also bang out 3rd outlet after writing a file, per Max 4.5 and Max 6 reference
The Max6 coll.maxhelp says "bangs when done reading", so it seems that
cyclone's [coll] only bangs when done reading. But the reference says more on
that topic: "Out 3rd outlet: Sent out when coll has finished loading in or
writing a file of data."
svn path=/trunk/externals/miXed/; revision=16588
Diffstat (limited to 'cyclone')
-rw-r--r-- | cyclone/hammer/coll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c index fc81b30..4dd8a52 100644 --- a/cyclone/hammer/coll.c +++ b/cyclone/hammer/coll.c @@ -689,6 +689,10 @@ static void collcommon_dowrite(t_collcommon *cc, t_symbol *fn, t_canvas *cv) loud_error(0, "coll: error writing text file '%s'", fn->s_name); else { + t_coll *x; + /* LATER consider making this more robust */ + for (x = cc->c_refs; x; x = x->x_next) + outlet_bang(x->x_filebangout); cc->c_lastcanvas = cv; cc->c_filename = fn; } |