25#ifndef _ASTERISK_SMOOTHER_H 
   26#define _ASTERISK_SMOOTHER_H 
   28#if defined(__cplusplus) || defined(c_plusplus) 
   34#define AST_SMOOTHER_FLAG_G729      (1 << 0) 
   35#define AST_SMOOTHER_FLAG_BE        (1 << 1) 
   36#define AST_SMOOTHER_FLAG_FORCED    (1 << 2) 
   75#define ast_smoother_feed(s,f) __ast_smoother_feed(s, f, 0) 
   76#if __BYTE_ORDER == __LITTLE_ENDIAN 
   77#define ast_smoother_feed_be(s,f) __ast_smoother_feed(s, f, 1) 
   78#define ast_smoother_feed_le(s,f) __ast_smoother_feed(s, f, 0) 
   80#define ast_smoother_feed_be(s,f) __ast_smoother_feed(s, f, 0) 
   81#define ast_smoother_feed_le(s,f) __ast_smoother_feed(s, f, 1) 
   86#if defined(__cplusplus) || defined(c_plusplus) 
Asterisk architecture endianess compatibility definitions.
void ast_smoother_set_flags(struct ast_smoother *smoother, int flags)
void ast_smoother_reconfigure(struct ast_smoother *s, int bytes)
Reconfigure an existing smoother to output a different number of bytes per frame.
int ast_smoother_test_flag(struct ast_smoother *s, int flag)
void ast_smoother_free(struct ast_smoother *s)
int ast_smoother_get_flags(struct ast_smoother *smoother)
struct ast_frame * ast_smoother_read(struct ast_smoother *s)
int __ast_smoother_feed(struct ast_smoother *s, struct ast_frame *f, int swap)
struct ast_smoother * ast_smoother_new(int bytes)
void ast_smoother_reset(struct ast_smoother *s, int bytes)
Data structure associated with a single frame of data.