On 06/25/2015 05:00 PM, Tito Latini wrote:
On Thu, Jun 25, 2015 at 11:42:45AM -0400, Dave Phillips wrote:
Greetings,

I built the latest SVN update, have a problem with the audio device
selection :

     Error when trying to open audio device!

     Could not open audio device "jack": Invalid argument (-22)

The fix for JACK is

sed 's/"jack"/"with-jack"/' -i premake4.lua       # line 257

premake4 clean
premake4 --with-jack --with-sdif=/usr

Thanks, Tito, that fixes the Jack problem.


About SDIF:

ls /usr/{include/,lib64/lib}sdif*
/usr/include/sdif.h          /usr/lib64/libsdif-3.11.4.so  /usr/lib64/libsdif.la
/usr/include/sdif_version.h  /usr/lib64/libsdif.a          /usr/lib64/libsdif.so

grep SDIF Grace.make
[...] -DJUCE_JACK=1 [...] -DWITH_SDIF [...]

and libsdif is linked with the binary Grace after the compilation.
Perhaps (premake4.lua:362):

     libdirs({sdif .. "lib"})

fails on your system. You could try to replace "lib" with "lib64".

Unfortunately that didn't work. No error is reported, but the Grace binary doesn't indicate SDIF support. :( Any suggestions for further debugging ?

(JACK audio tested in [Audio]->[Audio Settings...]->[Test])

Everything else checks out now. I ran some SAL examples with no troubles. Thanks again for the help !

Best,

dp

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to