Mercurial > hg > octave-nkf
changeset 12097:7d396910b6c5 release-3-2-x
wavread.m: rename data_size from obsolete ck_size
author | Christophe Tournery <christophe.tournery@illusonic.com> |
---|---|
date | Fri, 20 Nov 2009 10:44:02 +0100 |
parents | 61c4f397499c |
children | 51b151af0ddc |
files | scripts/ChangeLog scripts/audio/wavread.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-09-01 Christophe Tournery <christophe.tournery@illusonic.com> + + * audio/wavread.m: Rename data_size from obsolete ck_size. + 2009-07-23 John W. Eaton <jwe@octave.org> * plot/legend.m: Process arguments in order, child objects in
--- a/scripts/audio/wavread.m +++ b/scripts/audio/wavread.m @@ -169,7 +169,7 @@ elseif (size (param, 2) == 4 && char (param) == "size") ## Size of the file is requested. fclose (fid); - y = [ck_size/channels/(bits_per_sample/8), channels]; + y = [data_size/channels/(bits_per_sample/8), channels]; return else fclose (fid);