kopia lustrzana https://github.com/kgoba/ft8_lib
Fixed compilation errors
rodzic
5c33a6e8bb
commit
3418b64b08
|
@ -33,7 +33,7 @@ void save_wav(const float *signal, int num_samples, int sample_rate, const char
|
|||
x = 1.0;
|
||||
else if (x < -1.0)
|
||||
x = -1.0;
|
||||
raw_data[i] = int(0.5 + (x * 32767.0));
|
||||
raw_data[i] = (int)(0.5 + (x * 32767.0));
|
||||
}
|
||||
|
||||
FILE *f = fopen(path, "wb");
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "decode.h"
|
||||
#include "constants.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <math.h>
|
||||
|
||||
static float max2(float a, float b);
|
||||
|
|
Ładowanie…
Reference in New Issue