Csound Csound-dev Csound-tekno Search About

[Cs-dev] ScoreEvent in CsoundPerformanceThread not working?

Date2009-10-19 08:58
FromAndres Cabrera
Subject[Cs-dev] ScoreEvent in CsoundPerformanceThread not working?
Hi,

This is not working (no error, no crash, but no effect):
      ud->qcs->perfThread->ScoreEvent(0, type, eventElements.size(),
ud->qcs->pFields);

But the following in the same place is (it is unsafe, though, so I
want the above to work):

      csoundScoreEvent(ud->csound,type ,ud->qcs->pFields, eventElements.size());

What am I doing wrong with the ScoreEvent call above?


Cheers,
Andrés

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-10-19 10:08
FromVictor Lazzarini
SubjectRe: [Cs-dev] ScoreEvent in CsoundPerformanceThread not working?
Could you try using

CsoundPerformanceThread::inputMessage()

instead to see if it works?


Victor
On 19 Oct 2009, at 08:58, Andres Cabrera wrote:

> Hi,
>
> This is not working (no error, no crash, but no effect):
>      ud->qcs->perfThread->ScoreEvent(0, type, eventElements.size(),
> ud->qcs->pFields);
>
> But the following in the same place is (it is unsafe, though, so I
> want the above to work):
>
>      csoundScoreEvent(ud->csound,type ,ud->qcs->pFields,  
> eventElements.size());
>
> What am I doing wrong with the ScoreEvent call above?
>
>
> Cheers,
> Andrés
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net