comparison libinterp/dldfcn/audiodevinfo.cc @ 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 9bd2f0a07c95
comparison
equal deleted inserted replaced
19585:e4bce89532bc 19586:8dce81f7448d
508 508
509 DECLARE_OCTAVE_ALLOCATOR 509 DECLARE_OCTAVE_ALLOCATOR
510 DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA 510 DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
511 }; 511 };
512 512
513 #define BUFFER_SIZE 512 513 static const unsigned int BUFFER_SIZE = 8192;
514 514
515 DEFINE_OCTAVE_ALLOCATOR (audioplayer); 515 DEFINE_OCTAVE_ALLOCATOR (audioplayer);
516 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (audioplayer, "audioplayer", "audioplayer"); 516 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (audioplayer, "audioplayer", "audioplayer");
517 517
518 int 518 int