Mon Mar 19 11:30:47 2012

Asterisk developer's documentation


ex_alaw.h File Reference

8-bit data More...

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

static struct ast_frame* alaw_sample ( void   )  [static]

Definition at line 23 of file ex_alaw.h.

References ARRAY_LEN, AST_FORMAT_ALAW, AST_FRAME_VOICE, ex_alaw, f, and ast_frame::samples.

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


Variable Documentation

uint8_t ex_alaw[] [static]

Definition at line 10 of file ex_alaw.h.

Referenced by alaw_sample().


Generated on Mon Mar 19 11:30:47 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7