view .hgsubstate @ 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 203431f40cb2
children 85d9cb769e8b
line wrap: on
line source

8728cf80b7d84b0ac401debac5b37217aac0d2e2 gnulib-hg