ex_ilbc.h File Reference

Raw 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_frameilbc_sample (void)

Variables

static uint8_t ex_ilbc []


Detailed Description

Raw 8-bit data.

Copyright (C) 2008, Digium, Inc.

Distributed under the terms of the GNU General Public License

Definition in file ex_ilbc.h.


Function Documentation

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

Definition at line 18 of file ex_ilbc.h.

References ast_format_ilbc, AST_FRAME_VOICE, ast_frame::data, ex_ilbc, ast_frame_subclass::format, ast_frame::frametype, ILBC_SAMPLES, ast_frame::mallocd, ast_frame::offset, ast_frame::samples, ast_frame::src, and ast_frame::subclass.

00019 {
00020    static struct ast_frame f = {
00021       .frametype = AST_FRAME_VOICE,
00022       .datalen = sizeof(ex_ilbc),
00023       /* All frames are 30 ms long */
00024       .samples = ILBC_SAMPLES,
00025       .mallocd = 0,
00026       .offset = 0,
00027       .src = __PRETTY_FUNCTION__,
00028       .data.ptr = ex_ilbc,
00029    };
00030 
00031    f.subclass.format = ast_format_ilbc;
00032 
00033    return &f;
00034 }


Variable Documentation

uint8_t ex_ilbc[] [static]

Definition at line 10 of file ex_ilbc.h.

Referenced by ilbc_sample().


Generated on Thu Apr 16 06:30:55 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6