L
LaMoRt
Hi
I want to ask how to convert from long to short since i have some
parameter problem with it?
The problem is like below :
short *speech; // Holds length of any given sample
* speech = pMediaSample->GetActualDataLength();
va_g729a_encoder(short *speech, unsigned char *bitstream );
The Calling GetActualDataLength() is in the long declaration and i have
to change it
to short since calling the speech parameter is in short.
The encoder calling part is default and cannot change the short speech
parameter.
So how should resolve it .
Thanks for the help.
I want to ask how to convert from long to short since i have some
parameter problem with it?
The problem is like below :
short *speech; // Holds length of any given sample
* speech = pMediaSample->GetActualDataLength();
va_g729a_encoder(short *speech, unsigned char *bitstream );
The Calling GetActualDataLength() is in the long declaration and i have
to change it
to short since calling the speech parameter is in short.
The encoder calling part is default and cannot change the short speech
parameter.
So how should resolve it .
Thanks for the help.