Csound Csound-dev Csound-tekno Search About

[Cs-dev] Merging rtpa.c & rtpa_new.c

Date2005-05-02 10:42
FromVictor Lazzarini
Subject[Cs-dev] Merging rtpa.c & rtpa_new.c
Thinking again, wouldn't it  be possible to merge the
Linux-specific code in rtpa_new.c with rtpa.c.

I remember that originally in rtpa.c, Linux was using the
portaudio blocking functions.

Victor


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-05-02 12:04
FromIstvan Varga
SubjectRe: [Cs-dev] Merging rtpa.c & rtpa_new.c
Victor Lazzarini wrote:

> Thinking again, wouldn't it  be possible to merge the
> Linux-specific code in rtpa_new.c with rtpa.c.

Yes, that may be possible, and rtpa_new.c is much smaller and simpler
than rtpa.c anyway, so the merge would not make rtpa.c much more complex.
The plugin could then add a command line option like "-+pa_blocking_mode"
or similar (with reasonable platform specific defaults) to select which
interface is to be used.
However, we can also make changes to compile both plugins, and not just
one (rtpa_new.c needs a different driver name so that it can be enabled
by -+rtaudio=pa_blocking or something like that - name suggestions are
welcome).



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net