-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V.150.1 has moved forward, but is still a work in progress. The various modules using Goertzel filters were not using a harmonised approach to setting thresholds and measuring power levels. This has been improved.
- Loading branch information
1 parent
df1282e
commit 5394b2c
Showing
112 changed files
with
6,106 additions
and
1,977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replacing defines with
static const
caused build failures when using clang compiler. see https://snips.sh/f/qCR86Rwwz15394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not only with clang, gcc fails similarly`(#67 also reports failure with gcc)
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shr-project: Which version of GCC gave those errors? Things build and run correctly with the versions I have tried.
I have made various changes so the code now seems to build and run OK for the first time when compiled with clang. I removed my recent additions of initializers using intrinsic functions, which don't seem to work with a number of compilers. Hopefully Windows and clang builds now work as well as GCC ones.
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coppice-git this was with gcc-13.2
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shr-project Interesting. That's one of the versions I have been using. I wonder if its related to you compiling for an ARM?
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if I build it for aarch64 then it builds fine.
If I check -E output I see this in arm build:
while aarch64 build has:
See the missing ')' on first line, that's from the energy_threshold_dbm0 macro when SPANDSP_USE_FIXED_POINT is used, will send PR to fix this shortly.
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#75
5394b2c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, GNU C allows intrinsic functions (e.g. powf) in static initializers. Clang and MS don't seem to. I thought that was added to the C standard at some point. Maybe not. I've now separated out alternate definitions with #ifs.