#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 |
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] |
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 | ( | ) |
struct sockaddr_in rtpsi |
int rtpsocket |