Asterisk - The Open Source Telephony Project
21.4.1
|
Frame smoother manipulation routines. More...
#include "asterisk.h"
#include "asterisk/_private.h"
#include "asterisk/frame.h"
#include "asterisk/astobj2.h"
#include "asterisk/time.h"
#include "asterisk/utils.h"
#include "asterisk/format.h"
#include "asterisk/codec.h"
#include "asterisk/smoother.h"
Go to the source code of this file.
Data Structures | |
struct | ast_smoother |
Macros | |
#define | SMOOTHER_SIZE 8000 |
Functions | |
int | __ast_smoother_feed (struct ast_smoother *s, struct ast_frame *f, int swap) |
void | ast_smoother_free (struct ast_smoother *s) |
int | ast_smoother_get_flags (struct ast_smoother *s) |
struct ast_smoother * | ast_smoother_new (int size) |
struct ast_frame * | ast_smoother_read (struct ast_smoother *s) |
void | ast_smoother_reconfigure (struct ast_smoother *s, int bytes) |
Reconfigure an existing smoother to output a different number of bytes per frame. More... | |
void | ast_smoother_reset (struct ast_smoother *s, int bytes) |
void | ast_smoother_set_flags (struct ast_smoother *s, int flags) |
int | ast_smoother_test_flag (struct ast_smoother *s, int flag) |
static int | smoother_frame_feed (struct ast_smoother *s, struct ast_frame *f, int swap) |
Frame smoother manipulation routines.
Definition in file smoother.c.
void ast_smoother_reconfigure | ( | struct ast_smoother * | s, |
int | bytes | ||
) |
Reconfigure an existing smoother to output a different number of bytes per frame.
s | the smoother to reconfigure |
bytes | the desired number of bytes per output frame |
Definition at line 86 of file smoother.c.