Content
DSPL–2.0
Forum
Русский
libdspl-2.0
Digital Signal Processing Algorithm Library
examples
src
dspl_info_test.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include "dspl.h"
4
5
6
int
main(
int
argc,
char
* argv[])
7
{
8
/* libdspl handle */
9
void
* hdspl;
10
11
/* Load libdspl functions */
12
hdspl =
dspl_load
();
13
14
/* Check libdspl handle. */
15
/* If hdspl == NULL means problem with libdspl loading */
16
if
(!hdspl)
17
{
18
printf(
"libdspl loading error!\n"
);
19
return
-1;
20
}
21
22
/* Print libdspl info */
23
dspl_info();
24
25
26
/* free dspl handle */
27
dspl_free
(hdspl);
28
return
0;
29
}
30
dspl_load
void * dspl_load()
Perform dynamic linking and load libdspl-2.0 functions.
dspl_free
void dspl_free(void *handle)
Cleans up the previously linked DSPL-2.0 dynamic library.
Generated on Wed Jan 5 2022 12:44:37 for libdspl-2.0 by
1.9.2
Content
DSPL–2.0
Forum
libdspl-2.0 documentation is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License.