Skip to content
Permalink
Browse files

eml_audio: Don't require string.h for memset

  • Loading branch information...
jonnor committed Mar 2, 2019
1 parent fcf4489 commit 6ef3611afdf2bcda4ef47b9fe53dc0154c8f13ee
Showing with 3 additions and 1 deletion.
  1. +3 −1 emlearn/eml_audio.h
@@ -207,7 +207,9 @@ eml_sparse_filterbank(const float *input,
float *output, int output_length,
const int *starts, const int *stops, const float *lut)
{
memset(output, 0, output_length * sizeof(float));
for (int i=0; i<output_length; i++) {
output[i] = 0.0f;
}

int offset = 0;
for (int i = 0; i < output_length; i++) {

0 comments on commit 6ef3611

Please sign in to comment.
You can’t perform that action at this time.