Csound Csound-dev Csound-tekno Search About

[Cs-dev] GetChannel()

Date2008-03-07 11:15
FromRory Walsh
Subject[Cs-dev] GetChannel()
Memo to self: Calling Csound::GetChannel() will return 0 if there is an 
error returned by csoundGetChannelPtr() but it will also return 0 if 
that's what is being sent on the particular channel. Therefore there is 
no way to check for errors using this function unless you know that 0 
will never be sent on that channel which led to some interesting 
behaviour in one of my frontends. One for the archive.

Rory.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net