Asterisk - The Open Source Telephony Project
21.4.1
|
Asterisk internal frame definitions. More...
#include "asterisk/endian.h"
Go to the source code of this file.
Macros | |
#define | AST_SMOOTHER_FLAG_BE (1 << 1) |
#define | AST_SMOOTHER_FLAG_FORCED (1 << 2) |
#define | AST_SMOOTHER_FLAG_G729 (1 << 0) |
AST_Smoother | |
#define | ast_smoother_feed(s, f) __ast_smoother_feed(s, f, 0) |
#define | ast_smoother_feed_be(s, f) __ast_smoother_feed(s, f, 0) |
#define | ast_smoother_feed_le(s, f) __ast_smoother_feed(s, f, 1) |
struct ast_smoother * | ast_smoother_new (int bytes) |
void | ast_smoother_set_flags (struct ast_smoother *smoother, int flags) |
int | ast_smoother_get_flags (struct ast_smoother *smoother) |
int | ast_smoother_test_flag (struct ast_smoother *s, int flag) |
void | ast_smoother_free (struct ast_smoother *s) |
void | ast_smoother_reset (struct ast_smoother *s, int bytes) |
void | ast_smoother_reconfigure (struct ast_smoother *s, int bytes) |
Reconfigure an existing smoother to output a different number of bytes per frame. More... | |
int | __ast_smoother_feed (struct ast_smoother *s, struct ast_frame *f, int swap) |
struct ast_frame * | ast_smoother_read (struct ast_smoother *s) |
Asterisk internal frame definitions.
Definition in file smoother.h.
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.