Mercurial > hg > octave-nkf
diff src/shared-fcns.h @ 20016:f24d9486e66b
audioread: Fix sample index argument to be Matlab compatible
* audioread.cc (Faudioread): Use 1-based indexing for start and end indexes.
Accept Inf as an index to mean end-of-file. Add error check for index beyond
end-of-file.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sat, 21 Feb 2015 11:08:12 -0500 |
parents | 4197fc428c7d |
children |