Logo Search packages:      
Sourcecode: randomsound version File versions  Download package

int bitbuffer_free_space ( const BitBuffer  buf )

Get free space in bit buffer.

Return the number of free bits in buf.

Parameters:
bufThe BitBuffer in question.
Returns:
The number of free bits in the buffer.

Definition at line 45 of file bitbuffer.c.

{
  return buf->size - buf->bitsused;
}

Generated by  Doxygen 1.6.0   Back to index