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

编译不通过问题 #7

Open
ZZRRegion opened this issue Dec 24, 2020 · 0 comments
Open

编译不通过问题 #7

ZZRRegion opened this issue Dec 24, 2020 · 0 comments

Comments

@ZZRRegion
Copy link

在AudioSoureAACStream.cpp文件中的void AudioSoureAACStream::EncodeFun()函数。

//方式1
if (((unsigned long)(inputTemp) & 0xF) == 0)//指针地制是否为16字节对齐
{
UINT alignedFloats = floatsLeft & 0xFFFFFFFC;
for (UINT i = 0; i < alignedFloats; i += 4)
{
float *pos = inputTemp + i;
_mm_store_ps(pos, _mm_mul_ps(_mm_load_ps(pos), _mm_set_ps1(32767.0f)));
}

	floatsLeft &= 0x3;
	inputTemp += alignedFloats;
}

*_mm_store_ps(pos, _mm_mul_ps(_mm_load_ps(pos), _mm_set_ps1(32767.0f)));*编译不过去,缺少定义?

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

1 participant