Mercurial > octave-nkf
view .hgsub @ 19581:c5b8a91baec6
avoid unnecessary use of pointer in audio code
* audiodevinfo.cc (audioplayer::get_left): Return RowVector instead of
pointer to RowVector. Method is now const. Change all uses.
(audioplayer::get_right): Likewise. Handle case of single channel
audio here.
(portaudio_play_callback): Not here.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Jan 2015 13:08:52 -0500 |
parents | 44f30dcd87e0 |
children |