Paraslash Audio Streaming | |
About News Download Documentation Development |
Common declarations for the opus decoder and audio format handler. More...
Data Structures | |
struct | opus_header |
Various bits stored in the header of an opus stream. More... | |
Functions | |
int | opus_parse_header (const char *packet, int len, struct opus_header *h) |
Get metadata of an opus stream. More... | |
Common declarations for the opus decoder and audio format handler.
int opus_parse_header | ( | const char * | packet, |
int | len, | ||
struct opus_header * | h | ||
) |
Get metadata of an opus stream.
This is called from both the audio format handler (which passes ogg packet 0) and from the decoder.
packet | Start of the packet. |
len | Number of bytes. |
h | Result. |