This commit is contained in:
Gerolf Ziegenhain 2016-10-04 16:53:37 +02:00
parent 28767e86a6
commit b3938f5a5e
1 changed files with 5 additions and 4 deletions

View File

@ -208,7 +208,11 @@ snd_output_t *output = NULL;
int beep_test(void) int beep_test(void)
{ {
double p1,p2,f1,f2; }
int beep(double freq_hz, double duration_sec)
{
double p1,p2,f1,f2;
unsigned int i,j; unsigned int i,j;
snd_pcm_sframes_t frames; snd_pcm_sframes_t frames;
@ -239,10 +243,7 @@ int beep_test(void)
printf("Short write (expected %li, wrote %li)\n", FRAMES, (long)frames); printf("Short write (expected %li, wrote %li)\n", FRAMES, (long)frames);
} }
return 0; return 0;
}
int beep(double freq_hz, double duration_sec)
{
} }
int beep_init() int beep_init()
{ {