Since there is a possibility that the Error () function will collide with libwonx.a when linking, It changed to Wonx_Error (). Added bios_exit (). sprite_set_char, sprite_get_char, palette number minus 8 Fixed bug that was not specified. font_set_monodata (), font_set_colordata (), font_get_data (), disp.c, The arguments of screen_set_char (), screen_get_char (), sprite_set_data () Changed from void * to appropriate type. Sample program and attached SpeedMac. I added a document. Version 0.3 beta - from wonx-b03.tar.gz
27 lines
964 B
C
27 lines
964 B
C
#ifndef _WONX_SYS_SOUND_H_
|
|
#define _WONX_SYS_SOUND_H_
|
|
|
|
#include "service.h"
|
|
|
|
/*****************************************************************************/
|
|
/* ¸ß´¹´Ø¿ô¤ÎÀë¸À */
|
|
/*****************************************************************************/
|
|
|
|
void sound_init(void);
|
|
void sound_set_channel(unsigned int flags);
|
|
unsigned int sound_get_channel(void);
|
|
void sound_set_output(unsigned int flags);
|
|
unsigned int sound_get_output(void);
|
|
void sound_set_wave(int channel, unsigned char * wave);
|
|
void sound_set_pitch(int channel, unsigned int frequency);
|
|
unsigned int sound_get_pitch(int channel);
|
|
void sound_set_volume(int channel, unsigned int volume);
|
|
unsigned int sound_get_volume(int channel);
|
|
void sound_set_sweep(int sweep, int step);
|
|
unsigned int sound_get_sweep(void);
|
|
void sound_set_noise(unsigned int flags);
|
|
unsigned int sound_get_noise(void);
|
|
unsigned int sound_get_random(void);
|
|
|
|
#endif
|