Decode audio stream to the file.
By Egor Chebotarev
13 Mar 2014 06:55
English
2 Replies
Hello.
I wanna decode and write audiostream from internet to wav file.
I do httpRequest,then decode buffer and save it to a file.
ByteBuffer* pBuffer = pHttpResponse->ReadBodyN();
ByteBuffer *tempbyteBuffer = new ByteBuffer;
tempbyteBuffer->Construct(availableBodyLen);
r = decoder.Decode(*pBuffer, *tempbyteBuffer);
__wavFile.Write(*tempbyteBuffer);
But when i try to open file - it shows error message.
How to resolve this issue?
Thanks.
Edited by: Egor Chebotarev on 13 Mar, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------