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

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

Definition at line 23 of file ex_ulaw.h.

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.

00024 {
00025    static struct ast_frame f = {
00026       .frametype = AST_FRAME_VOICE,
00027       .datalen = sizeof(ex_ulaw),
00028       .samples = ARRAY_LEN(ex_ulaw),
00029       .mallocd = 0,
00030       .offset = 0,
00031       .src = __PRETTY_FUNCTION__,
00032       .data.ptr = ex_ulaw,
00033    };
00034 
00035    f.subclass.format = ast_format_ulaw;
00036 
00037    return &f;
00038 }


Variable Documentation

uint8_t ex_ulaw[] [static]

Definition at line 10 of file ex_ulaw.h.

Referenced by ulaw_sample().


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