mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 07:15:30 +02:00
Merge pull request #13044 from roxanneskelly/roxie-arm64-fixes
Two fixes for arm64 on linux
This commit is contained in:
commit
1e25d48941
2 changed files with 2 additions and 1 deletions
libraries
|
@ -10,6 +10,7 @@
|
|||
// Inline functions to implement audio dynamics processing
|
||||
//
|
||||
|
||||
#include <stddef.h>
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ void setOctalCodeSectionValue(unsigned char* octalCode, int section, char sectio
|
|||
int byteForSection = (BITS_IN_OCTAL * section / BITS_IN_BYTE);
|
||||
unsigned char* byteAt = octalCode + 1 + byteForSection;
|
||||
char bitInByte = (BITS_IN_OCTAL * section) % BITS_IN_BYTE;
|
||||
char shiftBy = BITS_IN_BYTE - bitInByte - BITS_IN_OCTAL;
|
||||
int8_t shiftBy = BITS_IN_BYTE - bitInByte - BITS_IN_OCTAL;
|
||||
const unsigned char UNSHIFTED_MASK = 0x07;
|
||||
unsigned char shiftedMask;
|
||||
unsigned char shiftedValue;
|
||||
|
|
Loading…
Reference in a new issue