diff --git a/mpg321-0.3.2-orig/fbuffer.c b/mpg321-0.3.2-orig/fbuffer.c index aff9d70..8f9eb5a 100644 --- a/mpg321-0.3.2-orig/fbuffer.c +++ b/mpg321-0.3.2-orig/fbuffer.c @@ -32,6 +32,9 @@ extern int stop_playing_file; extern int buffer_size; signed long total_played_frames = 0; +extern int check_default_play_device_buffer(); +extern ao_device *open_ao_playdevice_buffer(struct mad_header const *header); + void output_sighandler (int sig) { ao_close (play_device); ao_shutdown (); diff --git a/mpg321-0.3.2-orig/mpg321.c b/mpg321-0.3.2-orig/mpg321.c index 19282bb..7cd6260 100644 --- a/mpg321-0.3.2-orig/mpg321.c +++ b/mpg321-0.3.2-orig/mpg321.c @@ -104,6 +104,9 @@ extern http_file_length; /* ALSA Volume Range */ extern long volume_min,volume_max; #endif + +extern int calc_http_length(buffer *buf); + /* Get the next frame in the round buffer */ int getnext_place(int position) { diff --git a/mpg321-0.3.2-orig/mpg321.h b/mpg321-0.3.2-orig/mpg321.h index 798bff0..28e8cb9 100644 --- a/mpg321-0.3.2-orig/mpg321.h +++ b/mpg321-0.3.2-orig/mpg321.h @@ -242,7 +242,7 @@ typedef struct { } fft_state; typedef short int sound_sample; -//void fft_perform(const sound_sample *input, double *output, fft_state *state); +void fft_perform(const sound_sample *input, double *output, fft_state *state); fft_state *fft_init(void); diff --git a/mpg321-0.3.2-orig/network.c b/mpg321-0.3.2-orig/network.c index 1bdff8c..c13d255 100644 --- a/mpg321-0.3.2-orig/network.c +++ b/mpg321-0.3.2-orig/network.c @@ -57,6 +57,8 @@ int auth_enable_var = 0; extern char authstring[80]; int http_file_length = 0; +extern void do_basicauth(); + int shoutcast(int); int is_address_multicast(unsigned long address)