Mercurial > octave-nkf
comparison libinterp/dldfcn/audiowrite.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 #include <string> | 6 #include <string> |
5 #include <map> | 7 #include <map> |
6 | 8 |
7 static void fill_extension_table(std::map<std::string, int> &table) | 9 static void fill_extension_table(std::map<std::string, int> &table) |
8 { | 10 { |