wonx/sound.c
Hiroaki Sakai eb06f7f4f8 Added text display function. (Only 0 to 127 ASCII characters, kanji is not supported)
Changed to create Wonx class and manage all resources with Wonx class.
(See Wonx.x WonxP.h)

When p is pressed to switch display / non-display of the screen, redraw the LCD panel
Improvement.

Added -Wall to compile option.

We have summarized the processing part of the function which is duplicated processing in disp.c.

Version 0.1 beta - from wonx-b01.tar.gz
2018-03-07 23:05:40 +00:00

90 lines
1.4 KiB
C

/*****************************************************************************/
/* ここから */
/*****************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <sys/sound.h>
#include "Wonx.h"
/*****************************************************************************/
/* メンバ関数の定義 */
/*****************************************************************************/
void sound_init(void)
{
return;
}
void sound_set_channel(unsigned int flags)
{
return;
}
unsigned int sound_get_channel(void)
{
return (0);
}
void sound_set_output(unsigned int flags)
{
return;
}
unsigned int sound_get_output(void)
{
return (0);
}
void sound_set_wave(int channel, unsigned char * wave)
{
return;
}
void sound_set_pitch(int channel, unsigned int frequency)
{
return;
}
unsigned int sound_get_pitch(int channel)
{
return (0);
}
void sound_set_volume(int channel, unsigned int volume)
{
return;
}
unsigned int sound_get_volume(int channel)
{
return (0);
}
void sound_set_sweep(int sweep, int step)
{
return;
}
unsigned int sound_get_sweep(void)
{
return (0);
}
void sound_set_noise(unsigned int flags)
{
return;
}
unsigned int sound_get_noise(void)
{
return (0);
}
unsigned int sound_get_random(void)
{
return (0);
}