fix windows build scripts, add windows opus support

This commit is contained in:
HappyDOGE
2022-07-28 14:27:56 +03:00
parent 90cd6e0e15
commit 3faf6a69ac
149 changed files with 396 additions and 170 deletions

View File

@@ -39,7 +39,9 @@ void FastCopy( byte *pDest, const byte *pSrc, size_t nBytes )
int nBytesFull = nBytes - ( nBytes % BYTES_PER_FULL );
for ( byte *pLimit = pDest + nBytesFull; pDest < pLimit; pDest += BYTES_PER_FULL, pSrc += BYTES_PER_FULL )
{
// memcpy( pDest, pSrc, BYTES_PER_FULL);
#ifdef PLATFORM_64BITS
memcpy( pDest, pSrc, BYTES_PER_FULL);
#else
__asm
{
mov esi, pSrc
@@ -63,6 +65,7 @@ void FastCopy( byte *pDest, const byte *pSrc, size_t nBytes )
movntps [edi + 96], xmm6
movntps [edi + 112], xmm7
}
#endif
}
nBytes -= nBytesFull;
}