Mercurial > octave-nkf
view .dir-locals.el @ 19585:e4bce89532bc
improve error checking and efficiency of octave audio callback function
* audiodevinfo.cc (octave_play_callback): Check for non-null player
object. Move computations of constant values outside of loop. Invert
nesting of switch statements and loops. Use const pointer to data
instead of RowVector::elem method.
(portaudio_play_callback): Check for non-null player object.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Jan 2015 13:38:14 -0500 |
parents | 9ff04de067ce |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (and (buffer-file-name) (string-match-p "\\.h\\'" (buffer-file-name)) (not (string-match-p "/gnulib/" (buffer-file-name)))) (c++-mode) (c-set-style "gnu"))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))