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.