how to notify a buffer object that its contents has changed

Jan 3, 2008 at 2:20pm

how to notify a buffer object that its contents has changed

hi,
i’m working on an external that manipulates the contents of a buffer~
object.
how do i notify buffer~ that its data has changed, e.g. in order to
get a display update of
the waveform~ object?
thanks,
volker.

#35196
Jan 3, 2008 at 4:37pm

#119732
Jan 3, 2008 at 5:25pm

On 03 Jan 2008, at 17:37, Luigi Castelli wrote:

> So when you are done modifying your buffer~ just call:
> b->b_modtime = gettime();

thanks luigi, exactly what i was looking for!
volker.

#119733
Jan 7, 2008 at 9:07am

>> So when you are done modifying your buffer~ just call:
>> b->b_modtime = gettime();

Speaking of which, is there an etiquette/must-do list for externals
that write into buffers~?

pa

#119734

You must be logged in to reply to this topic.