Automatic Sound Signals Quality Estimation. Integration. (1/2)
To Audio Codecs Quality Analyzer page
Integration with other solutions
• Our voice quality analysis software can be implemented as a DLL library that is easily integrated with any Windows based software
• If you are interested in integrating our voice quality software with Linux or MAC please contact us for further details
Example of DLL integration for Windows systems
In one of the simplest cases you may require to have just the following files:
VQDLL.h
VQDLL.lib
VQDLL.dll
VQDLLTest.cpp
This program will be able to compare a source audio file with 8KHz sampling against the same file compressed and then decompressed by some audio codec.
Example of DLL integration for Windows systems (VQDLL.h)
#ifdef VQDLL_EXPORTS
#define VQ_DLL_API __declspec(dllexport)
#else
#define VQ_DLL_API __declspec(dllimport)
#endif
VQ_DLL_API bool VQDLL_GetFilesQuality(char * pSourceVoiceFileName, char * pCodedVoiceFileName, double & dQuality);
Example of DLL integration for Windows systems (VQDLLTest.cpp)
#include "stdafx.h"
#include
#include "VQDLL.h"
int main(int argc, char* argv[])
{
double dQuality;
if (argc < 3) {
printf("usage\nVQDLLTest ");
return 0;
}
printf("srcfilename = %s\n", argv[1]);
printf("codedfilename = %s\n", argv[2]);
if (VQDLL_GetFilesQuality(argv[1], argv[2], dQuality)) printf("dQuality = %f\n", dQuality);
else printf("VQDLL_GetFilesQuality() ---> failed!\n");
return 0;
}
|