Csound Csound-dev Csound-tekno Search About

[Csnd] Updated: iOS and Android CsoundObj API's

Date2013-07-29 22:02
FromSteven Yi
Subject[Csnd] Updated: iOS and Android CsoundObj API's
Hi All,

Just FYI, for 6.00.1, I've modified CsoundObj for Android and iOS to
require passing in the channel type for getInputChannelPtr and
getOutputChannelPtr.  It was brought to my attention that some people
needed to get an input channel pointer that was of type audio.
getInputChannelPtr was previously hardcoded to only return control
channels, and getoutputChannelPtr was hardcoded for audio channels.

The updated API now requires passing in a channel type. In IOS, this
would be something like "CSOUND_CONTROL_CHANNEL" or
"CSOUND_AUDIO_CHANNEL".  For Android it would be
"controlChannelType.CSOUND_CONTROL_CHANNEL" or
"controlChannelType.CSOUND_AUDIO_CHANNEL".

This is a backwards incompatible change for CsoundObj, but one I think
which is justified due to the limitation of the original design.  It
should be a quick fix to adjust code.  The change logs for both
projects include the information above for how to fix up older
projects.

Thanks!
steven

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel