Mercurial > octave-nkf
comparison libinterp/dldfcn/audioread.cc @ 19525:93f26237c30b
fix some missing semicolons and add some conditional compilation constructs to audio functions
* audioinfo.cc, audioread.cc, audiowrite.cc: fix a missing semicolon
* audiowrite.cc: prevent building the extension to format table if sndfile
is not present
author | Vytautas Jančauskas <unaudio@gmail.com> |
---|---|
date | Thu, 19 Sep 2013 15:18:25 +0300 |
parents | 2e174b5e7703 |
children | 0ac6a4e7369b |
comparison
equal
deleted
inserted
replaced
19524:9a9b0985e508 | 19525:93f26237c30b |
---|---|
107 ret_audio = octave_value (audio); | 107 ret_audio = octave_value (audio); |
108 } | 108 } |
109 retval(0) = ret_audio; | 109 retval(0) = ret_audio; |
110 retval(1) = info.samplerate; | 110 retval(1) = info.samplerate; |
111 #else | 111 #else |
112 error("sndfile not found on your system and thus audioread is not functional") | 112 error("sndfile not found on your system and thus audioread is not functional"); |
113 #endif | 113 #endif |
114 return octave_value(retval); | 114 return octave_value(retval); |
115 } | 115 } |