mp3rtp.c File Reference

#include <config.h>
#include <time.h>
#include "lame.h"
#include "main.h"
#include "parse.h"
#include "lametime.h"
#include "timestatus.h"
#include "get_audio.h"
#include "rtp.h"
#include "console.h"

Include dependency graph for mp3rtp.c:

Go to the source code of this file.

Defines

#define _STDINT_H
#define strchr   index
#define strrchr   rindex
#define memcpy(d, s, n)   bcopy ((s), (d), (n))
#define memmove(d, s, n)   bcopy ((s), (d), (n))

Functions

char * strchr ()
char ** strrchr ()
void rtp_output (const char *mp3buffer, const int mp3size)
static unsigned int maxvalue (int Buffer[2][1152])
static void levelmessage (unsigned int maxv)
int main (int argc, char **argv)

Variables

rtpheader RTPheader
sockaddr_in rtpsi
int rtpsocket


Define Documentation

#define _STDINT_H

Definition at line 16 of file mp3rtp.c.

#define memcpy ( d,
s,
 )     bcopy ((s), (d), (n))

Definition at line 29 of file mp3rtp.c.

#define memmove ( d,
s,
 )     bcopy ((s), (d), (n))

Definition at line 30 of file mp3rtp.c.

#define strchr   index

Definition at line 24 of file mp3rtp.c.

#define strrchr   rindex

Definition at line 25 of file mp3rtp.c.


Function Documentation

static void levelmessage ( unsigned int  maxv  )  [static]

Definition at line 110 of file mp3rtp.c.

References console_flush(), and console_printf().

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 139 of file mp3rtp.c.

References close_infile(), console_printf(), display_bitrates(), error_printf(), frontend_close_console(), frontend_debugf(), frontend_errorf(), frontend_msgf(), frontend_open_console(), get_audio(), init_infile(), initrtp(), lame_close(), lame_encode_buffer_int(), lame_encode_flush(), lame_init(), lame_init_params(), LAME_MAXMP3BUFFER, lame_mp3_tags_fid(), lame_print_config(), lame_set_debugf(), lame_set_errorf(), lame_set_msgf(), lame_set_stream_binary_mode(), levelmessage(), makesocket(), maxvalue(), parse_args(), PATH_MAX, rtp_output(), RTPheader, rtpsi, rtpsocket, and update_interval.

Here is the call graph for this function:

static unsigned int maxvalue ( int  Buffer[2][1152]  )  [static]

Definition at line 95 of file mp3rtp.c.

References i.

Referenced by main().

void rtp_output ( const char *  mp3buffer,
const int  mp3size 
)

Definition at line 71 of file mp3rtp.c.

References rtpheader::b, RTPheader, rtpsi, rtpsocket, sendrtp(), rtpbits::sequence, and rtpheader::timestamp.

Referenced by main().

Here is the call graph for this function:

char* strchr (  ) 

char* * strrchr (  ) 


Variable Documentation

struct rtpheader RTPheader

Definition at line 66 of file mp3rtp.c.

Referenced by main(), and rtp_output().

struct sockaddr_in rtpsi

Definition at line 67 of file mp3rtp.c.

Referenced by main(), and rtp_output().

int rtpsocket

Definition at line 68 of file mp3rtp.c.

Referenced by main(), and rtp_output().


Generated on Sun Dec 2 11:35:12 2007 for LAME by  doxygen 1.5.2