[Cs-dev] Some API questions
Date | 2013-04-24 06:41 |
From | Andres Cabrera |
Subject | [Cs-dev] Some API questions |
Attachments | None None |
Hi, Some questions: |
Date | 2013-04-24 19:32 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Some API questions |
On 24 Apr 2013, at 06:41, Andres Cabrera wrote: > Hi, > > Some questions: > > 1) Can csoundRtRecordUserData and csoundRtPlayUserData be moved out of the public API? > These functions are used within audio RT modules to pass module specific data, so it seems weird to have them as part of the public API. It is also unsafe to allow public access to that. I think these are there so hosts can implement their own IO modules without having to tap spout or the outputBuffer etc. I think it is better to leave them there. > 2) How is csoundSetAudioDeviceCallback used? where is this function? I don't see it. > 3) Should csoundLocalizeString be part of the public API? I see no reason to have it there. Good question, I am not sure, but maybe John has an opinion. > 4) Can the cscore functions in the API (2 functions) be moved to the cscore header? I think they can be confusing to most users, and having them in the cscore header might be better. Again, I don't know. > > Cheers, > Andrés > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr_______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-04-25 01:19 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Some API questions |
Attachments | None None |
Hi,
On Wed, Apr 24, 2013 at 11:32 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Couldn't this be served by csoundCreateGlobalVariable already instead of having this dedicated function?
Sorry, I meant csoundSetAudioDeviceListCallback. How is this used? Is it also set by rt modules, and then maybe it shouldn't be part of the public API?
|
Date | 2013-04-25 07:16 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Some API questions |
Attachments | None None |
This sets the callback used in listDevices. Possibly not needed here. On 25 Apr 2013, at 01:19, Andres Cabrera wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-04-25 07:20 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Some API questions |
Attachments | None None |
We could, the only thing is that plugin code will not serve completely as an example for people trying to use the code (ie. plugin API not mirrored in Csound API in this case), but it's not an issue possibly. On 25 Apr 2013, at 01:19, Andres Cabrera wrote: On Wed, Apr 24, 2013 at 11:32 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-05-02 02:20 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Some API questions |
Attachments | None None |
Hi, Cheers,On Wed, Apr 24, 2013 at 11:32 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: > > > 1) Can csoundRtRecordUserData and csoundRtPlayUserData be moved out of the public API? > > These functions are used within audio RT modules to pass module specific data, so it seems weird to have them as part of the public API. It is also unsafe to allow public access to that. > > I think these are there so hosts can implement their own IO modules without having to tap spout or the outputBuffer etc. I think it is better to leave them there. > Would it be OK if I move them to csdl.h? That way it can still be used by rt modules but it's not there in the public host API? (This could apply to csoundSetAudioDeviceListCallback as well as it is meant to be used by rt modules) Andrés |
Date | 2013-05-02 07:42 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Some API questions |
Attachments | None None |
I think so. Victor On 2 May 2013, at 02:20, Andres Cabrera wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |