Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opus
Commits
93d6c397
Commit
93d6c397
authored
3 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Fix prototypes for funcs that take no args
parent
60a009b4
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dnn/include/lpcnet.h
+7
-7
7 additions, 7 deletions
dnn/include/lpcnet.h
with
7 additions
and
7 deletions
dnn/include/lpcnet.h
+
7
−
7
View file @
93d6c397
...
...
@@ -64,7 +64,7 @@ typedef struct LPCNetPLCState LPCNetPLCState;
/** Gets the size of an <code>LPCNetDecState</code> structure.
* @returns The size in bytes.
*/
LPCNET_EXPORT
int
lpcnet_decoder_get_size
();
LPCNET_EXPORT
int
lpcnet_decoder_get_size
(
void
);
/** Initializes a previously allocated decoder state
* The memory pointed to by st must be at least the size returned by lpcnet_decoder_get_size().
...
...
@@ -78,7 +78,7 @@ LPCNET_EXPORT int lpcnet_decoder_init(LPCNetDecState *st);
/** Allocates and initializes a decoder state.
* @returns The newly created state
*/
LPCNET_EXPORT
LPCNetDecState
*
lpcnet_decoder_create
();
LPCNET_EXPORT
LPCNetDecState
*
lpcnet_decoder_create
(
void
);
/** Frees an <code>LPCNetDecState</code> allocated by lpcnet_decoder_create().
* @param[in] st <tt>LPCNetDecState*</tt>: State to be freed.
...
...
@@ -98,7 +98,7 @@ LPCNET_EXPORT int lpcnet_decode(LPCNetDecState *st, const unsigned char *buf, sh
/** Gets the size of an <code>LPCNetEncState</code> structure.
* @returns The size in bytes.
*/
LPCNET_EXPORT
int
lpcnet_encoder_get_size
();
LPCNET_EXPORT
int
lpcnet_encoder_get_size
(
void
);
/** Initializes a previously allocated encoder state
* The memory pointed to by st must be at least the size returned by lpcnet_encoder_get_size().
...
...
@@ -112,7 +112,7 @@ LPCNET_EXPORT int lpcnet_encoder_init(LPCNetEncState *st);
/** Allocates and initializes an encoder state.
* @returns The newly created state
*/
LPCNET_EXPORT
LPCNetEncState
*
lpcnet_encoder_create
();
LPCNET_EXPORT
LPCNetEncState
*
lpcnet_encoder_create
(
void
);
/** Frees an <code>LPCNetEncState</code> allocated by lpcnet_encoder_create().
* @param[in] st <tt>LPCNetEncState*</tt>: State to be freed.
...
...
@@ -146,7 +146,7 @@ LPCNET_EXPORT int lpcnet_compute_single_frame_features(LPCNetEncState *st, const
/** Gets the size of an <code>LPCNetState</code> structure.
* @returns The size in bytes.
*/
LPCNET_EXPORT
int
lpcnet_get_size
();
LPCNET_EXPORT
int
lpcnet_get_size
(
void
);
/** Initializes a previously allocated synthesis state
* The memory pointed to by st must be at least the size returned by lpcnet_get_size().
...
...
@@ -160,7 +160,7 @@ LPCNET_EXPORT int lpcnet_init(LPCNetState *st);
/** Allocates and initializes a synthesis state.
* @returns The newly created state
*/
LPCNET_EXPORT
LPCNetState
*
lpcnet_create
();
LPCNET_EXPORT
LPCNetState
*
lpcnet_create
(
void
);
/** Frees an <code>LPCNetState</code> allocated by lpcnet_create().
* @param[in] st <tt>LPCNetState*</tt>: State to be freed.
...
...
@@ -179,7 +179,7 @@ LPCNET_EXPORT void lpcnet_synthesize(LPCNetState *st, const float *features, sho
LPCNET_EXPORT
void
lpcnet_plc_init
(
LPCNetPLCState
*
st
);
LPCNET_EXPORT
LPCNetPLCState
*
lpcnet_plc_create
();
LPCNET_EXPORT
LPCNetPLCState
*
lpcnet_plc_create
(
void
);
LPCNET_EXPORT
void
lpcnet_plc_destroy
(
LPCNetPLCState
*
st
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment