main.cpp/main.cfg : Added audioDevFileTest().
This commit is contained in:
parent
6214f8dfdb
commit
087f00ac7d
@ -315,6 +315,13 @@
|
|||||||
amMaxGain: 0.8
|
amMaxGain: 0.8
|
||||||
},
|
},
|
||||||
|
|
||||||
|
audioDevFileTest: {
|
||||||
|
inAudioFname: "~/temp/temp_sine_100_hz.wav",
|
||||||
|
outAudioFname: "~/temp/temp.wav",
|
||||||
|
framesPerCycle:512,
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mtx:
|
mtx:
|
||||||
|
@ -52,6 +52,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "cwAudioBuf.h"
|
#include "cwAudioBuf.h"
|
||||||
|
#include "cwAudioDeviceFile.h"
|
||||||
#include "cwTcpSocket.h"
|
#include "cwTcpSocket.h"
|
||||||
#include "cwTcpSocketSrv.h"
|
#include "cwTcpSocketSrv.h"
|
||||||
#include "cwTcpSocketTest.h"
|
#include "cwTcpSocketTest.h"
|
||||||
@ -372,6 +373,7 @@ cw::rc_t spscQueueTmpl( const cw::object_t* cfg, const cw::object_t* 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 serialPortSrvTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::serialPortSrvTest(); }
|
||||||
cw::rc_t textBufTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::textBuf::test(); }
|
cw::rc_t textBufTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::textBuf::test(); }
|
||||||
cw::rc_t audioBufTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::audio::buf::test(); }
|
cw::rc_t audioBufTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::audio::buf::test(); }
|
||||||
|
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 mtxTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::mtx::test(args); }
|
cw::rc_t mtxTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::mtx::test(args); }
|
||||||
cw::rc_t midiFileTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::midi::file::test(args); }
|
cw::rc_t midiFileTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::midi::file::test(args); }
|
||||||
cw::rc_t audioFileTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::audiofile::test(args); }
|
cw::rc_t audioFileTest( const cw::object_t* cfg, const cw::object_t* args, int argc, const char* argv[] ) { return cw::audiofile::test(args); }
|
||||||
@ -745,6 +747,7 @@ int main( int argc, const char* argv[] )
|
|||||||
{ "midiDevice", midiDeviceTest },
|
{ "midiDevice", midiDeviceTest },
|
||||||
{ "textBuf", textBufTest },
|
{ "textBuf", textBufTest },
|
||||||
{ "audioBuf", audioBufTest },
|
{ "audioBuf", audioBufTest },
|
||||||
|
{ "audioDevFileTest", audioDevFileTest },
|
||||||
{ "audioDevTest",audioDevTest },
|
{ "audioDevTest",audioDevTest },
|
||||||
{ "audioDevTone", audioDevTestTone },
|
{ "audioDevTone", audioDevTestTone },
|
||||||
{ "audioDevAlsa", audioDevAlsaTest },
|
{ "audioDevAlsa", audioDevAlsaTest },
|
||||||
|
Loading…
Reference in New Issue
Block a user