
#ifndef LTPLAY3_H
#define LTPLAY3_H

extern void music_init(void);
extern void music_play(void);
extern void music_stop_sound(void);

extern volatile unsigned char music_sync_a;
extern volatile unsigned char music_sync_b;
extern volatile unsigned char music_sync_t;
extern volatile unsigned char music_channel_0_level;
extern volatile unsigned char music_channel_1_level;
extern volatile unsigned char music_channel_2_level;
extern volatile unsigned int music_channel_0_tuning;
extern volatile unsigned int music_channel_1_tuning;
extern volatile unsigned int music_channel_2_tuning;
extern volatile unsigned char music_mixer_mute;
extern volatile unsigned char music_channel_a_volume_mask;
extern volatile unsigned char music_channel_b_volume_mask;
extern volatile unsigned char music_channel_c_volume_mask;

extern volatile void music_echo_buffer;
extern volatile void *music_echo_write_pos;
extern volatile void *music_echo_read_pos;

// Tuning-taulukon ensimmäinen ja viimeinen arvo.
extern unsigned int music_first_tuning;
extern unsigned int music_last_tuning;

#endif
