com.safi.asterisk
Class frame

java.lang.Object
  extended by com.safi.asterisk.frame
All Implemented Interfaces:
frameConstants

public class frame
extends java.lang.Object
implements frameConstants


Field Summary
 
Fields inherited from interface com.safi.asterisk.frameConstants
AST_CONTROL_ANSWER, AST_CONTROL_BUSY, AST_CONTROL_CONGESTION, AST_CONTROL_FLASH, AST_CONTROL_HANGUP, AST_CONTROL_OFFHOOK, AST_CONTROL_OPTION, AST_CONTROL_PROCEEDING, AST_CONTROL_PROGRESS, AST_CONTROL_RADIO_KEY, AST_CONTROL_RADIO_UNKEY, AST_CONTROL_RING, AST_CONTROL_RINGING, AST_CONTROL_TAKEOFFHOOK, AST_CONTROL_WINK, AST_FORMAT_ADPCM, AST_FORMAT_ALAW, AST_FORMAT_G723_1, AST_FORMAT_G726, AST_FORMAT_G729A, AST_FORMAT_GSM, AST_FORMAT_H261, AST_FORMAT_H263, AST_FORMAT_ILBC, AST_FORMAT_JPEG, AST_FORMAT_LPC10, AST_FORMAT_MAX_AUDIO, AST_FORMAT_MAX_VIDEO, AST_FORMAT_PNG, AST_FORMAT_SLINEAR, AST_FORMAT_SPEEX, AST_FORMAT_ULAW, AST_FRAME_CNG, AST_FRAME_CONTROL, AST_FRAME_DTMF, AST_FRAME_HTML, AST_FRAME_IAX, AST_FRAME_IMAGE, AST_FRAME_NULL, AST_FRAME_TEXT, AST_FRAME_VIDEO, AST_FRAME_VOICE, AST_FRIENDLY_OFFSET, AST_HTML_BEGIN, AST_HTML_DATA, AST_HTML_END, AST_HTML_LDCOMPLETE, AST_HTML_LINKREJECT, AST_HTML_LINKURL, AST_HTML_NOSUPPORT, AST_HTML_UNLINK, AST_HTML_URL, AST_MALLOCD_DATA, AST_MALLOCD_HDR, AST_MALLOCD_SRC, AST_MIN_OFFSET, AST_OPTION_AUDIO_MODE, AST_OPTION_FLAG_ACCEPT, AST_OPTION_FLAG_ANSWER, AST_OPTION_FLAG_QUERY, AST_OPTION_FLAG_REJECT, AST_OPTION_FLAG_REQUEST, AST_OPTION_FLAG_WTF, AST_OPTION_RELAXDTMF, AST_OPTION_TDD, AST_OPTION_TONE_VERIFY, AST_SMOOTHER_FLAG_G729
 
Constructor Summary
frame()
           
 
Method Summary
static int ast_best_codec(int fmts)
           
static java.lang.String ast_codec2str(int codec)
           
static int ast_fr_fdhangup(int fd)
           
static SWIGTYPE_p_ast_frame ast_fr_fdread(int fd)
           
static int ast_fr_fdwrite(int fd, SWIGTYPE_p_ast_frame frame)
           
static void ast_frame_dump(java.lang.String name, SWIGTYPE_p_ast_frame f, java.lang.String prefix)
           
static SWIGTYPE_p_ast_frame ast_frdup(SWIGTYPE_p_ast_frame fr)
           
static void ast_frfree(SWIGTYPE_p_ast_frame fr)
           
static SWIGTYPE_p_ast_frame ast_frisolate(SWIGTYPE_p_ast_frame fr)
           
static int ast_getformatbyname(java.lang.String name)
           
static java.lang.String ast_getformatname_multiple(java.lang.String buf, long n, int format)
           
static java.lang.String ast_getformatname(int format)
           
static int ast_smoother_feed(SWIGTYPE_p_ast_smoother s, SWIGTYPE_p_ast_frame f)
           
static void ast_smoother_free(SWIGTYPE_p_ast_smoother s)
           
static int ast_smoother_get_flags(SWIGTYPE_p_ast_smoother smoother)
           
static SWIGTYPE_p_ast_smoother ast_smoother_new(int bytes)
           
static SWIGTYPE_p_ast_frame ast_smoother_read(SWIGTYPE_p_ast_smoother s)
           
static void ast_smoother_reset(SWIGTYPE_p_ast_smoother s, int bytes)
           
static void ast_smoother_set_flags(SWIGTYPE_p_ast_smoother smoother, int flags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

frame

public frame()
Method Detail

ast_frfree

public static void ast_frfree(SWIGTYPE_p_ast_frame fr)

ast_frisolate

public static SWIGTYPE_p_ast_frame ast_frisolate(SWIGTYPE_p_ast_frame fr)

ast_frdup

public static SWIGTYPE_p_ast_frame ast_frdup(SWIGTYPE_p_ast_frame fr)

ast_fr_fdread

public static SWIGTYPE_p_ast_frame ast_fr_fdread(int fd)

ast_fr_fdwrite

public static int ast_fr_fdwrite(int fd,
                                 SWIGTYPE_p_ast_frame frame)

ast_fr_fdhangup

public static int ast_fr_fdhangup(int fd)

ast_getformatname

public static java.lang.String ast_getformatname(int format)

ast_getformatname_multiple

public static java.lang.String ast_getformatname_multiple(java.lang.String buf,
                                                          long n,
                                                          int format)

ast_getformatbyname

public static int ast_getformatbyname(java.lang.String name)

ast_codec2str

public static java.lang.String ast_codec2str(int codec)

ast_best_codec

public static int ast_best_codec(int fmts)

ast_smoother_new

public static SWIGTYPE_p_ast_smoother ast_smoother_new(int bytes)

ast_smoother_set_flags

public static void ast_smoother_set_flags(SWIGTYPE_p_ast_smoother smoother,
                                          int flags)

ast_smoother_get_flags

public static int ast_smoother_get_flags(SWIGTYPE_p_ast_smoother smoother)

ast_smoother_free

public static void ast_smoother_free(SWIGTYPE_p_ast_smoother s)

ast_smoother_reset

public static void ast_smoother_reset(SWIGTYPE_p_ast_smoother s,
                                      int bytes)

ast_smoother_feed

public static int ast_smoother_feed(SWIGTYPE_p_ast_smoother s,
                                    SWIGTYPE_p_ast_frame f)

ast_smoother_read

public static SWIGTYPE_p_ast_frame ast_smoother_read(SWIGTYPE_p_ast_smoother s)

ast_frame_dump

public static void ast_frame_dump(java.lang.String name,
                                  SWIGTYPE_p_ast_frame f,
                                  java.lang.String prefix)