Fri Aug 17 00:17:39 2018

Asterisk developer's documentation


ex_ilbc.h File Reference

Raw 8-bit data. More...

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::frametype, ILBC_SAMPLES, ast_frame::mallocd, ast_frame::offset, ast_frame::samples, and ast_frame::src.

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


Variable Documentation

uint8_t ex_ilbc[] [static]

Definition at line 10 of file ex_ilbc.h.

Referenced by ilbc_sample().


Generated on 17 Aug 2018 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1