Re: [Csnd-dev] Csound 7: csoundListChannels returns always 0

vlz <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
No that function was not touched, but I'll check what the matter is today.
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 5 Sep 2024, at 08:07, Tarmo Johannes <[email protected]> wrote:
> 
> 
> Hi,
> 
> This is mostly meant for Victor:
> 
> Testing CsoundQt with Csound7 I discovered that the inital values are not read any more from the widgets, chnget returns 0 until the the widget is moved.
> 
> CsoudnQt goes through the channels declared with chn_k/chn_S and puts a value read from according widgets into the channels.
> see https://github.com/CsoundQt/CsoundQt/blob/5ca6f63a11a470575bc53fcdc3629cd8079df2b4/src/csoundengine.cpp#L1062
> 
> The problem is that with Csound 7 (built from feature/newapi Augus 30)
> 
> csoundListChannels()
> 
> returns always 0, although there are declared channels:
> 
> controlChannelInfo_t *channelList;
> int numChannels = csoundListChannels(ud->csound, &channelList);
> 
> What has changed? Might be that I need to implement it differently on CsoundQt side.
> 
> Should I file a bug report?
> 
> tarmo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.