Mercurial > octave-nkf
view .hgsub @ 19582:7c0e20def8e3
improve efficiency of portaudio callback function
* audiodevinfo.cc (portaudio_play_callback): 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.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Jan 2015 13:16:57 -0500 |
parents | 44f30dcd87e0 |
children |