This website works better with JavaScript.
Home
Help
Sign In
hms
/
aptdec
mirror of
https://github.com/Xerbo/aptdec
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
Included complex.h needed on Android. Remove unused variables.
pull/26/head
Jon Beniston
1 year ago
parent
57271c33b9
commit
a73017f0fa
2 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
README.md
+1
-1
src/dsp.c
+ 4
- 0
README.md
View File
@@ -123,6 +123,10 @@ To build natively on Windows using MSVC, you will also need: git, ninja and cmak
If you just wish to build libaptdec on Windows, libpng and libsndfile aren't needed.
## Building for Android
Requires at least API 23
## Further Reading
[User's Guide for Building and Operating
+ 1
- 1
src/dsp.c
View File
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <complex.h>
#include "apt.h"
#include "filter.h"
@@ -90,7 +91,6 @@ static int getamp(float *ampbuff, int count, apt_getsamples_t getsamples, void *
static int nin = 0;
for (int n = 0; n < count; n++) {
float I2, Q;
// Get some more samples when needed
if (nin < HILBERT_FILTER_SIZE * 2 + 2) {
Write
Preview
Loading…
Cancel
Save