Mon Mar 19 11:30:47 2012

Asterisk developer's documentation


ex_g722.h File Reference

8-bit data More...

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]

Definition at line 33 of file ex_g722.h.

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

00034 {
00035    static struct ast_frame f = {
00036       .frametype = AST_FRAME_VOICE,
00037       .subclass.codec = AST_FORMAT_G722,
00038       .datalen = sizeof(ex_g722),
00039       .samples = ARRAY_LEN(ex_g722),
00040       .mallocd = 0,
00041       .offset = 0,
00042       .src = __PRETTY_FUNCTION__,
00043       .data.ptr = ex_g722,
00044    };
00045 
00046    return &f;
00047 }


Variable Documentation

uint8_t ex_g722[] [static]

Definition at line 10 of file ex_g722.h.

Referenced by g722_sample().


Generated on Mon Mar 19 11:30:47 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7