Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Functions | Variables
ex_ulaw.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_frameulaw_sample (void)
 

Variables

static uint8_t ex_ulaw []
 

Detailed Description

8-bit data

Copyright (C) 2008, Digium, Inc.

Distributed under the terms of the GNU General Public License

Definition in file ex_ulaw.h.

Function Documentation

◆ ulaw_sample()

static struct ast_frame * ulaw_sample ( void  )
static

Definition at line 26 of file ex_ulaw.h.

27{
28 static struct ast_frame f = {
30 .datalen = sizeof(ex_ulaw),
32 .mallocd = 0,
33 .offset = 0,
34 .src = __PRETTY_FUNCTION__,
35 .data.ptr = ex_ulaw,
36 };
37
39
40 return &f;
41}
static uint8_t ex_ulaw[]
Definition: ex_ulaw.h:13
struct ast_format * ast_format_ulaw
Built-in cached ulaw format.
Definition: format_cache.c:86
@ 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_ulaw, AST_FRAME_VOICE, ex_ulaw, ast_frame_subclass::format, ast_frame::frametype, ast_frame::samples, and ast_frame::subclass.

Variable Documentation

◆ ex_ulaw

uint8_t ex_ulaw[]
static

Definition at line 13 of file ex_ulaw.h.

Referenced by ulaw_sample().