Mercurial > octave-nkf
comparison libinterp/dldfcn/audioinfo.cc @ 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 | 9161b7653392 |
children | 93f26237c30b |
comparison
equal
deleted
inserted
replaced
19506:c2031ad6dbe7 | 19507:2e174b5e7703 |
---|---|
1 #include "oct.h" | 1 #include "oct.h" |
2 #include "ov-struct.h" | 2 #include "ov-struct.h" |
3 #include <sndfile.h> | 3 #ifdef HAVE_SNDFILE |
4 #include <sndfile.h> | |
5 #endif | |
4 | 6 |
5 DEFUN_DLD(audioinfo, args, , | 7 DEFUN_DLD(audioinfo, args, , |
6 "-*- texinfo -*-\n\ | 8 "-*- texinfo -*-\n\ |
7 @deftypefn{Loadable Function} info = audioinfo(@var{filename})\n\ | 9 @deftypefn{Loadable Function} info = audioinfo(@var{filename})\n\ |
8 \n\ | 10 \n\ |