digego / extempore

A cyber-physical programming environment
1.41k stars 127 forks source link

‘jack_port_get_latency’ is deprecated #251

Closed ghost closed 8 years ago

ghost commented 8 years ago

[ 48%] Building C object CMakeFiles/portaudio.dir/src/portaudio/src/hostapi/jack/pa_jack.c.o /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c: In function ‘BuildDeviceList’: /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:598:17: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] jack_port_get_latency( p ) / globalSampleRate; ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:619:17: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] jack_port_get_latency( p ) / globalSampleRate; ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c: In function ‘OpenStream’: /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1301:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] stream->streamRepresentation.streamInfo.inputLatency = (jack_port_get_latency( stream->remote_output_ports[0 ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1305:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] stream->streamRepresentation.streamInfo.outputLatency = (jack_port_get_latency( stream->remote_input_ports[0 ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c: In function ‘RealProcess’: /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1367:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] timeInfo.inputBufferAdcTime = timeInfo.currentTime - jack_port_get_latency( stream->remote_output_ports[0] ) ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1370:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] timeInfo.outputBufferDacTime = timeInfo.currentTime + jack_port_get_latency( stream->remote_input_ports[0] ) ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;

benswift commented 8 years ago

Those deprecated calls are actually in PortAudio[0](we just include the files in the Extempore repo for convenience) so that's probably a better place to raise this issue.

I'll close the issue here, but thanks for the heads up.

[0] http://www.portaudio.com/

Arseniy notifications@github.com writes:

[ 48%] Building C object CMakeFiles/portaudio.dir/src/portaudio/src/hostapi/jack/pa_jack.c.o /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c: In function ‘BuildDeviceList’: /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:598:17: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] jack_port_get_latency( p ) / globalSampleRate; ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:619:17: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] jack_port_get_latency( p ) / globalSampleRate; ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c: In function ‘OpenStream’: /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1301:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] stream->streamRepresentation.streamInfo.inputLatency = (jack_port_get_latency( stream->remote_output_ports[0 ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1305:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] stream->streamRepresentation.streamInfo.outputLatency = (jack_port_get_latency( stream->remote_input_ports[0 ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c: In function ‘RealProcess’: /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1367:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] timeInfo.inputBufferAdcTime = timeInfo.currentTime - jack_port_get_latency( stream->remote_output_ports[0] ) ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT; ^ /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:1370:9: warning: ‘jack_port_get_latency’ is deprecated [-Wdeprecated-declarations] timeInfo.outputBufferDacTime = timeInfo.currentTime + jack_port_get_latency( stream->remote_input_ports[0] ) ^ In file included from /home/dude/extempore/src/portaudio/src/hostapi/jack/pa_jack.c:63:0: /usr/include/jack/jack.h:1226:16: note: declared here jack_nframes_t jack_port_get_latency (jack_port_t port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;


You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/digego/extempore/issues/251