Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3038468 ] inchnls bug when using csoundSetHostImplementedAudio()

Date2010-08-02 21:08
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3038468 ] inchnls bug when using csoundSetHostImplementedAudio()
Bugs item #3038468, was opened at 2010-08-02 13:08
Message generated for change (Tracker Item Submitted) made by dpx51
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3038468&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Csound API
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Davis Pyon (dpx51)
Assigned to: Nobody/Anonymous (nobody)
Summary: inchnls bug when using csoundSetHostImplementedAudio()

Initial Comment:
inchnls is always = default value (1) for frontends that use csoundSetHostImplementedAudioIO().  It should be set = to nchnls.  Leaving inchnls at default value of 1 causes memory corruption when host is using multiple channels.  This leads to seemingly unpredictable crashes.  Hacking oload() in Engine/otran.c to set inchnls = nchnls fixes the problem, but maybe a dev can come up with a better solution.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3038468&group_id=81968

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net