mirror of
https://github.com/xiph/opus.git
synced 2025-05-31 07:37:42 +00:00
Using opus_int16 instead of short in LPCNet code
This commit is contained in:
parent
abe817c3fc
commit
b64a89feca
7 changed files with 36 additions and 46 deletions
|
@ -233,7 +233,7 @@ static int lpcnet_compute_single_frame_features_impl(LPCNetEncState *st, float *
|
|||
return 0;
|
||||
}
|
||||
|
||||
int lpcnet_compute_single_frame_features(LPCNetEncState *st, const short *pcm, float features[NB_TOTAL_FEATURES]) {
|
||||
int lpcnet_compute_single_frame_features(LPCNetEncState *st, const opus_int16 *pcm, float features[NB_TOTAL_FEATURES]) {
|
||||
int i;
|
||||
float x[FRAME_SIZE];
|
||||
for (i=0;i<FRAME_SIZE;i++) x[i] = pcm[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue