this might require re-partioning of the data segments if headers cross the
boundaries between two read operations. This is done in a two-step way:
first we request a certain amount of bytes... */
this might require re-partioning of the data segments if headers cross the
boundaries between two read operations. This is done in a two-step way:
first we request a certain amount of bytes... */
/* Convert a number in the range -32768..32767 to an 8 bit ulaw encoded
number --- I hope, I got this conversion right :-) */
/* Convert a number in the range -32768..32767 to an 8 bit ulaw encoded
number --- I hope, I got this conversion right :-) */
{
/* Lookup table for fast calculation of number of bits that need shifting*/
static short int t_bits[128] = {
{
/* Lookup table for fast calculation of number of bits that need shifting*/
static short int t_bits[128] = {