[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] calling the stream upon EventStreamPlayer-stop



<x-tad-smaller> stop { stream.next(</x-tad-smaller><x-tad-smaller>nil</x-tad-smaller><x-tad-smaller>); stream = nextBeat = </x-tad-smaller><x-tad-smaller>nil</x-tad-smaller><x-tad-smaller>; }
</x-tad-smaller>

Can we provide a way to override the stream.next(nil)? This is causing me major trouble in some new stuff I'm developing. If the stream is a routine instead of a Pbind, I will have to write a nil check into every routine I write. Not fun.

Furthermore, per PauseStream, the .stop method should not be setting nextBeat to nil. That should wait until the scheduler calls next and the stream variable is nil. (This one might be my oversight.)

Thanks.
hjh

: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman