Compare commits

...

3 Commits

Author SHA1 Message Date
kevin
9914984ba8 main.cpp : Added call to cwMtQueueTester. 2025-03-21 11:12:34 -04:00
kevin
ed0580dfa8 cfg/main.cfg : Added 'circQueueEleCnt' and 'circQueueFl' to 'nbmpscQueue' section. 2025-03-21 11:12:11 -04:00
kevin
1d09eef76e README.md : Updates 2025-03-19 17:52:08 -04:00
3 changed files with 9 additions and 3 deletions

View File

@ -173,7 +173,7 @@ Report the audio file format and a selected set of sample values.
CLI Label | Source File | Function
------------------|----------------------|---------------------
__afop__ | cwAudioFile.cpp | test()
__afop__ | cwAudioFileOps.cpp | test()
sine - generate a sine signal
mix - mix multiple audio files with selectable gains per file.

View File

@ -28,8 +28,13 @@
nbmpscQueue: {
blkN: 4,
blkByteN: 1024,
circQueueEleCnt: 65536,
circQueueFl: false,
testDurMs: 10000,
threadN: 10,
out_fname: "~/temp/temp.txt"
}
@ -52,7 +57,7 @@
port: 5687,
rcvBufByteN: 2048,
xmtBufByteN: 2048,
queueBlkCnt: 8,
queueBlkCnt: 64,
queueBlkByteCnt: 8192,
extraLogsFl: true,
fmtBufByteN: 4096,

View File

@ -20,6 +20,7 @@
#include "cwSpScBuf.h"
#include "cwSpScQueueTmpl.h"
#include "cwNbMpScQueue.h"
#include "cwMtQueueTester.h"
#include "cwThreadMach.h"
#include "cwSerialPort.h"
#include "cwSerialPortSrv.h"
@ -307,7 +308,7 @@ cw::rc_t kbTest2Test( const cw::object_t* cfg, const cw::object_t* args
cw::rc_t kbTest3Test( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { cw::kbTest3(); return cw::kOkRC; }
cw::rc_t spscBuf( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::spsc_buf::test(); }
cw::rc_t spscQueueTmpl( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::testSpScQueueTmpl(); }
cw::rc_t nbMpScQueue( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::nbmpscq::test(args); }
cw::rc_t nbMpScQueue( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::mt_queue_tester::test(args); }
cw::rc_t serialPortSrvTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::serialPortSrvTest(); }
cw::rc_t audioDevFileTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::audio::device::file::test(args); }
cw::rc_t b23TreeTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::b23::test(args); }