paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros | Variables
resample_filter.c File Reference

A sample rate converter based on libsamplerate. More...

#include <regex.h>
#include <samplerate.h>
#include <lopsub.h>
#include "filter_cmd.lsg.h"
#include "para.h"
#include "error.h"
#include "list.h"
#include "sched.h"
#include "buffer_tree.h"
#include "filter.h"
#include "string.h"
#include "check_wav.h"

Macros

#define U32_OPTVAL(_opt, _lpr)   (FILTER_CMD_OPT_UINT32_VAL(RESAMPLE, _opt, _lpr))
 
#define OPT_GIVEN(_opt, _lpr)   (FILTER_CMD_OPT_GIVEN(RESAMPLE, _opt, _lpr))
 

Variables

const struct filter lsg_filter_cmd_com_resample_user_data
 

Detailed Description

A sample rate converter based on libsamplerate.

Macro Definition Documentation

◆ U32_OPTVAL

#define U32_OPTVAL (   _opt,
  _lpr 
)    (FILTER_CMD_OPT_UINT32_VAL(RESAMPLE, _opt, _lpr))

◆ OPT_GIVEN

#define OPT_GIVEN (   _opt,
  _lpr 
)    (FILTER_CMD_OPT_GIVEN(RESAMPLE, _opt, _lpr))

Variable Documentation

◆ lsg_filter_cmd_com_resample_user_data

const struct filter lsg_filter_cmd_com_resample_user_data
Initial value:
= {
.setup = resample_setup,
.open = resample_open,
.pre_monitor = resample_pre_monitor,
.post_monitor = resample_post_monitor,
.close = resample_close,
.teardown = resample_teardown,
.execute = resample_execute
}