Asterisk - The Open Source Telephony Project  18.5.0
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.


static struct ast_framealaw_sample (void)


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  )

Definition at line 26 of file ex_alaw.h.

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.

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 }
#define ARRAY_LEN(a)
Definition: isdn_lib.c:42
struct ast_frame_subclass subclass
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
Data structure associated with a single frame of data.
enum ast_frame_type frametype
struct ast_format * format

Variable Documentation

◆ ex_alaw

uint8_t ex_alaw[]

Definition at line 13 of file ex_alaw.h.

Referenced by alaw_sample().