Comment 9 for bug 839562

Revision history for this message
Stéphane Alnet (stephane-2) wrote :

Looks like naming issues have been on the PortAudio TODO list as well:
https://www.assembla.com/code/portaudio/subversion/nodes/1932/portaudio/trunk/src/hostapi/jack/pa_jack.c#ln1208

It looks like the `hostApiSpecificStreamInfo` field in `inputParameters`/`outpoutParameters` in the call to Pa_OpenStream() (which itself pass them down to jack's OpenStream()) are currently unused but they would be the proper place to do this.
https://www.assembla.com/code/portaudio/subversion/nodes/1932/portaudio/trunk/src/hostapi/jack/pa_jack.c#ln1124
https://www.assembla.com/code/portaudio/subversion/nodes/1932/portaudio/trunk/src/hostapi/jack/pa_jack.c#ln1148

I imagine the code changes would be to add the structure in include/pa_jack.h, and modify src/hostapi/jack/pa_jack.c to use it (and fallback to the current snprintf() calls). However I don't see how to open a PortAudio "ticket" to submit those changes.