Hi everybody,
this is my first library. I use to realtime compress the audio stream.
If you need more specific hints write me.
The functions are:
GSM.openx() ' initialize the system(dunno why I called this openx instead of initialize... will change next release)
GSM.encodex(input short array, array int offset, output byte array, int length input array) ' the lenght must be a multiple of 160, since the packets are reduced from 160 int(320 bytes) to 33 bytes.
GSM.decodex(input byte array, output int array, int number of elements ) ' number of elements must be multiple of 33
GSM.closex() ' free memory
Included an example of use...
Ciao
Mauro
this is my first library. I use to realtime compress the audio stream.
If you need more specific hints write me.
The functions are:
GSM.openx() ' initialize the system(dunno why I called this openx instead of initialize... will change next release)
GSM.encodex(input short array, array int offset, output byte array, int length input array) ' the lenght must be a multiple of 160, since the packets are reduced from 160 int(320 bytes) to 33 bytes.
GSM.decodex(input byte array, output int array, int number of elements ) ' number of elements must be multiple of 33
GSM.closex() ' free memory
Included an example of use...
Ciao
Mauro