Paraslash Audio Streaming | |
About News Download Documentation Development |
Functions used by the speex decoder and the speex audio format handler. More...
#include <regex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
#include "para.h"
#include "error.h"
#include "spx.h"
Functions | |
int | spx_process_header (unsigned char *packet, long bytes, struct spx_header_info *shi) |
Obtain information about a speex file from an ogg packet. More... | |
Functions used by the speex decoder and the speex audio format handler.
int spx_process_header | ( | unsigned char * | packet, |
long | bytes, | ||
struct spx_header_info * | shi | ||
) |
Obtain information about a speex file from an ogg packet.
packet | Start of the ogg packet. |
bytes | Length of the ogg packet. |
shi | Result pointer. |
References spx_header_info::mode, and spx_header_info::state.