|
|
|
@ -1689,6 +1689,7 @@ FILE *sopen(const char *program)
|
|
|
|
* Author: fox
|
|
|
|
* Author: fox
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <assert.h>
|
|
|
|
@ -1698,7 +1699,7 @@ FILE *sopen(const char *program)
|
|
|
|
|
|
|
|
|
|
|
|
#define false 0
|
|
|
|
#define false 0
|
|
|
|
#define true 1
|
|
|
|
#define true 1
|
|
|
|
|
|
|
|
*/
|
|
|
|
void write_wave(int i, short int *buffer)
|
|
|
|
void write_wave(int i, short int *buffer)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (mode == FSK)
|
|
|
|
if (mode == FSK)
|
|
|
|
|