#include "config.h" #include "include/aural_cues.h" #ifndef MP3_BUFFER_H #define MP3_BUFFER_H #define MP3_BUFFER_NO_SOURCE 255 #define MP3_BUFFER_WIFI 240 #define TEST_AUDIO_ID 120 #define TEST_AUDIO_LENGTH 1 __code const static Byte test_audio [TEST_AUDIO_LENGTH] = {1}; extern Byte g_current_source; extern Int16 g_audio_cue_curr; Byte mp3_buffer_0_eof(); Byte mp3_buffer_1_eof(); Byte mp3_buffer_2_eof(); Byte mp3_buffer_3_eof(); Byte mp3_buffer_4_eof(); Byte mp3_buffer_5_eof(); Byte mp3_buffer_6_eof(); Byte mp3_buffer_7_eof(); Byte mp3_buffer_8_eof(); Byte mp3_buffer_9_eof(); Byte mp3_buffer_10_eof(); Byte mp3_buffer_11_eof(); Byte mp3_buffer_12_eof(); Byte mp3_buffer_13_eof(); Byte mp3_buffer_14_eof(); Byte mp3_buffer_15_eof(); Byte mp3_buffer_100_eof(); Byte mp3_buffer_120_eof(); Byte mp3_buffer_240_eof(); Byte mp3_buffer_0_getc(); Byte mp3_buffer_1_getc(); Byte mp3_buffer_2_getc(); Byte mp3_buffer_3_getc(); Byte mp3_buffer_4_getc(); Byte mp3_buffer_5_getc(); Byte mp3_buffer_6_getc(); Byte mp3_buffer_7_getc(); Byte mp3_buffer_8_getc(); Byte mp3_buffer_9_getc(); Byte mp3_buffer_10_getc(); Byte mp3_buffer_11_getc(); Byte mp3_buffer_12_getc(); Byte mp3_buffer_13_getc(); Byte mp3_buffer_14_getc(); Byte mp3_buffer_15_getc(); Byte mp3_buffer_100_getc(); Byte mp3_buffer_120_getc(); void mp3_buffer_init(void); Byte mp3_buffer_eof(void); Byte mp3_buffer_getc(void); void mp3_switch_source(Byte src_a); void mp3_buffer_fix_eof(); void flush_mp3_source_stack(); void push_mp3_source(Byte src_a); void push_mp3_preset_number(Byte src_a); Byte pop_mp3_source(); #endif