Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
mp3_private Struct Reference

Data Fields

int buflen
 
char dbuf [MP3_DCACHE]
 
int dbuflen
 
int dbufoffset
 
struct mpstr mp
 
int offset
 
char sbuf [MP3_SCACHE]
 
int sbuflen
 
long seek
 

Detailed Description

Definition at line 49 of file format_mp3.c.

Field Documentation

◆ buflen

int buflen

how much data has been written to the output buffer in the ast_filestream

Definition at line 57 of file format_mp3.c.

Referenced by mp3_read().

◆ dbuf

char dbuf[MP3_DCACHE]

buffer for slinear audio after being decoded out of sbuf

Definition at line 55 of file format_mp3.c.

Referenced by mp3_dqueue(), mp3_read(), and mp3_squeue().

◆ dbuflen

int dbuflen

how much data is left to be read out of dbuf, starting at dbufoffset

Definition at line 61 of file format_mp3.c.

Referenced by mp3_dqueue(), mp3_queue(), mp3_read(), and mp3_squeue().

◆ dbufoffset

int dbufoffset

current offset for reading data out of dbuf

Definition at line 63 of file format_mp3.c.

Referenced by mp3_dqueue(), mp3_queue(), mp3_read(), and mp3_squeue().

◆ mp

struct mpstr mp

state for the mp3 decoder

Definition at line 51 of file format_mp3.c.

Referenced by mp3_close(), mp3_dqueue(), mp3_open(), mp3_queue(), and mp3_squeue().

◆ offset

int offset

Definition at line 64 of file format_mp3.c.

Referenced by mp3_queue(), mp3_read(), mp3_seek(), and mp3_tell().

◆ sbuf

char sbuf[MP3_SCACHE]

buffer to hold mp3 data after read from disk

Definition at line 53 of file format_mp3.c.

Referenced by mp3_squeue().

◆ sbuflen

int sbuflen

how much data has been written to sbuf

Definition at line 59 of file format_mp3.c.

Referenced by mp3_dqueue(), mp3_queue(), and mp3_squeue().

◆ seek

long seek

Definition at line 65 of file format_mp3.c.

Referenced by mp3_queue(), and mp3_seek().


The documentation for this struct was generated from the following file: