view test/bug-38565.tst @ 19507:2e174b5e7703

Fix audiodevinfo, audioinfo, audioread and audiowrite build process * audiodevinfo.cc: added bits_to_format utility function * audioinfo.cc, audioread.cc, audiowrite.cc: make sure to not attempt to include sndfile.h if it is not present
author Vytautas Jančauskas <unaudio@gmail.com>
date Wed, 11 Sep 2013 22:05:47 +0300
parents b9e510a1f308
children
line wrap: on
line source

%!function r = f (x)
%!  if (ischar (x))
%!    r = x;
%!  else
%!    error ("expecting character string");
%!  endif
%!endfunction

%!assert (eval ("f 10;"), "10");