Mercurial > octave-nkf
changeset 19586:8dce81f7448d
increase audio buffer size
* audiodevinfo.cc (BUFFER_SIZE): Increase from 512 to 8192.
Use static const unsigned int instead of macro.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Jan 2015 13:40:35 -0500 |
parents | e4bce89532bc |
children | 57efd0a020cf |
files | libinterp/dldfcn/audiodevinfo.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/audiodevinfo.cc Thu Jan 08 13:38:14 2015 -0500 +++ b/libinterp/dldfcn/audiodevinfo.cc Thu Jan 08 13:40:35 2015 -0500 @@ -510,7 +510,7 @@ DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA }; -#define BUFFER_SIZE 512 +static const unsigned int BUFFER_SIZE = 8192; DEFINE_OCTAVE_ALLOCATOR (audioplayer); DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (audioplayer, "audioplayer", "audioplayer");