Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4131] Re: rtpa.c

Date2004-02-24 12:24
From"Michael Gogins"
Subject[CSOUND-DEV:4131] Re: rtpa.c
No, you should remove portaudio.h, pablio.h, and ringbuffer.h from the
csound5/H directory, then upgrade your PortAudio to v19. Look at the csound
README for dependency info.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: "Robert McNulty Junior" 
To: "Csound Developers Discussion List" 
Sent: Monday, February 23, 2004 11:46 PM
Subject: [CSOUND-DEV:4126] rtpa.c


> Now I'm getting this error in Im/Out.
> Should I remove Portaudio?
>
>
>
>
>
gcc -DHAVE_CONFIG_H -I. -I. -I./H -DBETA -IH -I/usr/local/include -I/usr/loc
> al/
>
boost -DBETA -IH -I/usr/local/include -I/usr/local/boost -falign-loops=4 -fa
> lign
> -jumps=4 -O2 -g -Wall -O2 -g -Wall -MT libcsound_la-rtpa.lo -MD -MP -MF
> .deps/li
> bcsound_la-rtpa.Tpo -c InOut/rtpa.c  -DPIC -o .libs/libcsound_la-rtpa.o
> InOut/rtpa.c: In function `recopen_':
> InOut/rtpa.c:61: error: storage size of `paStreamParameters_' isn't known
> InOut/rtpa.c:82: warning: passing arg 5 of `Pa_OpenStream' makes pointer
> from in
> teger without a cast
> InOut/rtpa.c:82: error: too few arguments to function `Pa_OpenStream'
> InOut/rtpa.c:61: warning: unused variable `paStreamParameters_'
> InOut/rtpa.c: In function `playopen_':
> InOut/rtpa.c:94: error: storage size of `paStreamParameters_' isn't known
> InOut/rtpa.c:95: error: `PaDeviceIndex' undeclared (first use in this
> function)
> InOut/rtpa.c:95: error: (Each undeclared identifier is reported only once
> InOut/rtpa.c:95: error: for each function it appears in.)
> InOut/rtpa.c:95: error: syntax error before "deviceIndex"
> InOut/rtpa.c:101: error: `deviceCount' undeclared (first use in this
> function)
> InOut/rtpa.c:101: warning: implicit declaration of function
> `Pa_GetDeviceCount'
> InOut/rtpa.c:102: error: `deviceIndex' undeclared (first use in this
> function)
> InOut/rtpa.c:104: warning: assignment discards qualifiers from pointer
> target ty
> pe
> InOut/rtpa.c:112: error: structure has no member named `defaultSampleRate'
> InOut/rtpa.c:130: warning: passing arg 5 of `Pa_OpenStream' makes pointer
> from i
> nteger without a cast
> InOut/rtpa.c:130: error: too few arguments to function `Pa_OpenStream'
> InOut/rtpa.c:94: warning: unused variable `paStreamParameters_'
> InOut/rtpa.c: In function `rtrecord_':
> InOut/rtpa.c:150: warning: implicit declaration of function
`Pa_ReadStream'
> InOut/rtpa.c: In function `rtplay_':
> InOut/rtpa.c:179: warning: implicit declaration of function
`Pa_WriteStream'
> InOut/rtpa.c: At top level:
> InOut/rtpa.c:34: warning: `szerotran' declared `static' but never defined
> InOut/rtpa.c:35: warning: `shortran' declared `static' but never defined
> make: *** [libcsound_la-rtpa.lo] Error 1
>
> sherlock@bobby-junior ~/csoundcvs/csound5
> $
>