Sun Oct 16 2011 08:42:45

Asterisk developer's documentation


ex_g722.h File Reference

8-bit data More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static struct ast_frameg722_sample (void)

Variables

static uint8_t ex_g722 []

Detailed Description

8-bit data

Copyright (C) 2008, Digium, Inc.

Distributed under the terms of the GNU General Public License

Definition in file ex_g722.h.


Function Documentation

static struct ast_frame* g722_sample ( void  ) [static, read]

Definition at line 33 of file ex_g722.h.

References ast_frame::frametype, AST_FRAME_VOICE, AST_FORMAT_G722, ex_g722, ast_frame::samples, ARRAY_LEN, and f.

{
   static struct ast_frame f = {
      .frametype = AST_FRAME_VOICE,
      .subclass.codec = AST_FORMAT_G722,
      .datalen = sizeof(ex_g722),
      .samples = ARRAY_LEN(ex_g722),
      .mallocd = 0,
      .offset = 0,
      .src = __PRETTY_FUNCTION__,
      .data.ptr = ex_g722,
   };

   return &f;
}

Variable Documentation

uint8_t ex_g722[] [static]

Definition at line 10 of file ex_g722.h.

Referenced by g722_sample().