Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5210] Re: [Portaudio] Re: Re: Preliminary implementationof low latency audio for Windows

Date2004-08-12 14:31
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5210] Re: [Portaudio] Re: Re: Preliminary implementationof low latency audio for Windows
I'm glad to hear it works now.

1. The threads.c must be compiled because threading is now part of the
Csound API. Future versions of CsoundVST will use the Csound API for
threading instead of its own code -- cuts down on code duplication.

3. I will try to fix the warnings if you could email them to me, as my
warnings are probably different from yours.

4. I didn't see the error, but I'll look again and fix it. 

Original Message:
-----------------
From:  jpff@codemist.co.uk
Date: Thu, 12 Aug 2004 07:59:29 +0100
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:5209] Re: [Portaudio] Re: Re: Preliminary
implementationof low latency audio for Windows


this morning things are very different.  Four files have changed, and
now it compiles.
P Engine/musmon.c
P H/pa_blocking.h
P InOut/pa_blocking.c
M Opcodes/osc-sock.c
P Top/main.c

But:

1: Why does it need to compile threads.c when there is a perfectly
working blocking output?

2: Of course pthreads is installed -- this is Linux and PortAudio
would not work without it.

3: It is not good practice to have so many warnings when compiling.

4: I now get an error at the end of rendering
B 40.000 .. 43.000 T 43.000 TT 43.000 M:  19864.2
B 43.000 .. 53.000 T 53.000 TT 53.000 M:  21009.1
Score finished in csoundPerformKsmps()
inactive allocs returned to freespace
end of score.              overall amps:  21009.1
           overall samples out of range:        0
0 errors in performance
PortAudio error -9988: Invalid stream pointer
2283 4096-byte soundblks of shorts written to dac:plughw:0 WAV
inactive allocs returned to freespace
end of score.              overall amps:  21009.1
           overall samples out of range:        0
0 errors in performance


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .