Displaying 1 result from an estimated 1 matches for "inputbyt".
Did you mean:
inputbox
2007 Nov 20
0
speex_bits_write / speex_bits_read_from - getting Static
...tes);
for(i = 0; i< numBytes; i++)
output[i] = (unsigned char)outputFrame[i];
//end lazy man's conversion
return output;
}
//Public function -- m_decoderState is a void* member, m_bits is a
SpeexBits* member
array<short>^ SpeexDecoder::Decode(array<Byte>^ inputBytes)
{
short* outputFrame = (short*) malloc(m_frameSize*sizeof(short));
speex_bits_reset(m_bits);
if(inputBytes != nullptr)
{
//begin lazy man's way of converting to regular C
std::string input;
unsigned int inputLength = inputBytes->Length;
input.resi...