Paraslash's mp3 decoder.
More...
#include <mad.h>
#include <regex.h>
#include <lopsub.h>
#include "filter_cmd.lsg.h"
#include "para.h"
#include "list.h"
#include "sched.h"
#include "buffer_tree.h"
#include "filter.h"
#include "error.h"
#include "string.h"
◆ MAD_TO_SHORT
#define MAD_TO_SHORT |
( |
|
f | ) |
|
Value: (f) >= MAD_F_ONE? SHRT_MAX :\
(f) <= -MAD_F_ONE? -SHRT_MAX : (signed short) ((f) >> (MAD_F_FRACBITS - 15))
Convert a sample value from libmad to a signed short.
◆ MP3DEC_MAX_FRAME
#define MP3DEC_MAX_FRAME 8192 |
◆ lsg_filter_cmd_com_mp3dec_user_data
const struct filter lsg_filter_cmd_com_mp3dec_user_data |
Initial value:= {
.open = mp3dec_open,
.close = mp3dec_close,
.post_monitor = mp3dec_post_monitor,
.execute = mp3dec_execute,
}
void generic_filter_pre_monitor(struct sched *s, void *context)
Request a minimal timeout if not idle.
Definition: filter_common.c:181