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

关于pcm数据格式的转换。 #3

Open
TML007 opened this issue Mar 11, 2017 · 0 comments
Open

关于pcm数据格式的转换。 #3

TML007 opened this issue Mar 11, 2017 · 0 comments

Comments

@TML007
Copy link

TML007 commented Mar 11, 2017

项目有个实时对讲功能。需要将pcm实时数据转成G711a数据格式。我试了网上一个c++库转为g711a,但是摄像头那边有杂音,几乎听不到声音,,请问您能提供个思路或者demo吗?一下是我c++后台那边提供的结构体参数 struct TMSG_AUDIODATAGSM
: TMSG_HEADER
{
unsigned char Buffer[160];
TMSG_AUDIODATAGSM()
:TMSG_HEADER(MSG_AUDIODATAGSM)
{
memset(Buffer,0,160);
}
};
不知道如何处理这个 unsigned char Buffer[160];

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