Asterisk - The Open Source Telephony Project GIT-master-a358458
Functions | Variables
ex_alaw.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_framealaw_sample (void)
 

Variables

static uint8_t ex_alaw []
 

Detailed Description

8-bit data

Copyright (C) 2008, Digium, Inc.

Distributed under the terms of the GNU General Public License

Definition in file ex_alaw.h.

Function Documentation

◆ alaw_sample()

static struct ast_frame * alaw_sample ( void  )
static

Definition at line 26 of file ex_alaw.h.

27{
28 static struct ast_frame f = {
30 .datalen = sizeof(ex_alaw),
32 .mallocd = 0,
33 .offset = 0,
34 .src = __PRETTY_FUNCTION__,
35 .data.ptr = ex_alaw,
36 };
38 return &f;
39}
static uint8_t ex_alaw[]
Definition: ex_alaw.h:13
struct ast_format * ast_format_alaw
Built-in cached alaw format.
Definition: format_cache.c:91
@ AST_FRAME_VOICE
struct ast_format * format
Data structure associated with a single frame of data.
struct ast_frame_subclass subclass
enum ast_frame_type frametype
#define ARRAY_LEN(a)
Definition: utils.h:666

References ARRAY_LEN, ast_format_alaw, AST_FRAME_VOICE, ex_alaw, ast_frame_subclass::format, ast_frame::frametype, ast_frame::samples, and ast_frame::subclass.

Variable Documentation

◆ ex_alaw

uint8_t ex_alaw[]
static

Definition at line 13 of file ex_alaw.h.

Referenced by alaw_sample().