paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros | Variables
spxdec_filter.c File Reference

Paraslash's ogg/speex decoder. More...

#include <regex.h>
#include <ogg/ogg.h>
#include <speex/speex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
#include "para.h"
#include "portable_io.h"
#include "list.h"
#include "sched.h"
#include "buffer_tree.h"
#include "filter.h"
#include "error.h"
#include "string.h"
#include "spx.h"

Macros

#define MAX_FRAME_SIZE   2000
 Size of the output buffer. More...
 

Variables

const struct filter lsg_filter_cmd_com_spxdec_user_data
 

Detailed Description

Paraslash's ogg/speex decoder.

Macro Definition Documentation

◆ MAX_FRAME_SIZE

#define MAX_FRAME_SIZE   2000

Size of the output buffer.

Valid streams have frame sizes in the range from 160 to 640. To avoid buffer overflows, we bail out if the decoder reports a value bigger than this.

Variable Documentation

◆ lsg_filter_cmd_com_spxdec_user_data

const struct filter lsg_filter_cmd_com_spxdec_user_data
Initial value:
= {
.open = spxdec_open,
.close = speexdec_close,
.post_monitor = speexdec_post_monitor,
.execute = speexdec_execute,
}
generic_filter_pre_monitor
void generic_filter_pre_monitor(struct sched *s, void *context)
Request a minimal timeout if not idle.
Definition: filter_common.c:181