PlayrecForMatlab / playrec

A Matlab and Octave utility (MEX file) that provides simple yet versatile access to soundcards using PortAudio
http://www.playrec.co.uk/
Other
25 stars 15 forks source link

CoreAudio not detected (OS X 10.11.4) #5

Open martinweiss opened 8 years ago

martinweiss commented 8 years ago

I am having a strange issue, where the CoreAudio option is greyed out when i run compile_playrec.m on a machine running OS X 10.11.4 and MATLAB 2016a.

If anyone has an idea for a solution I'd be happy to hear about it.

et2345 commented 8 years ago

I ran into the same problem on OS X 10.11.6 with MATLAB 2015b. It looks like the problem is that ismac does not show up as a builtin, so the line exist('ismac','builtin') in is_os.m returns a 0. Changing this line to exist('ismac','file') fixes the problem.