Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos and tests #9

Open
trash80 opened this issue Jul 7, 2020 · 4 comments
Open

Typos and tests #9

trash80 opened this issue Jul 7, 2020 · 4 comments

Comments

@trash80
Copy link

trash80 commented Jul 7, 2020

Nice library!
Though I have found a typo in a critical part of the library unless I am mistaken...
https://github.com/chipaudette/OpenAudio_ArduinoLibrary/blob/master/AudioConvert_F32.h#L80
MAX_INT = 32678.0 // Shouldn't this be 32768? :D

Also at least on Teensy 4.0 with my bench testing the arm_q15_to_float and arm_float_to_q15 functions are a bit faster.

@boblark
Copy link
Collaborator

boblark commented Jul 7, 2020 via email

@trash80
Copy link
Author

trash80 commented Jul 7, 2020

I get that, I am talking about the typo: 32678 -> 32768
Looking forward to the changes! Using this lib on a rather large project. :)

@trash80
Copy link
Author

trash80 commented Jul 7, 2020

Note: Unless that is done intentionally. It just seems like a typo, 67<->76 😉 Sorry if I am mistaken.
EG: it gives some headroom for -32767

@boblark
Copy link
Collaborator

boblark commented Jul 7, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants