support for macos#160
Conversation
|
Hi, - for (uint32_t i = 0; i < samples_count; i += 8) {
+ for (uint32_t i = 0; i + 7 < samples_count; i += 8) { |
If the Also, forgot that I had this PR open - sorry for the delay, and sorry for the other commits - I'd like to at least ensure upstream builds cleanly on MacOS, so please let me know if you'd like me to re-open the PR with just the MacOS fixes cherry-picked, as the debug logging for decodes on this branch as well as the rename from ".iq" to ".cu8" and ".cf32" are independently useful but not related to this PR. |
Tested on aarch64 macos, need to test on x86_64 ubuntu still, but should be fine. Fixes some lint, moves some variables from stack to heap, and fixes libcurl init. Throws
bus erroron attempted decode without these patches.