Lines Matching defs:bits
16 /*Holds bits so they can be read and written to by the Speex routines*/
17 SpeexBits bits;
30 /*Initialization of the structure that holds the bits*/
31 speex_bits_init(&bits);
34 /*Read a 16 bits/sample audio frame*/
38 /*Copy the 16 bits values to float so Speex can work on them*/
42 /*Flush all the bits in the struct so we can encode a new frame*/
43 speex_bits_reset(&bits);
46 speex_encode(state, input, &bits);
47 /*Copy the bits to an array of char that can be written*/
48 nbBytes = speex_bits_write(&bits, cbits, 200);
61 speex_bits_destroy(&bits);