Csound Csound-dev Csound-tekno Search About

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

Date2010-08-15 17:58
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 (Settings changed) 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: Closed
>Resolution: Fixed
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.

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

Comment By: Davis Pyon (dpx51)
Date: 2010-08-02 13:16

Message:
By the way, I observed this bug on Windows 7.

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

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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net