smssound: remove unneeded stuff as it causes problems in haiku os

This commit is contained in:
dinkc64 2018-02-02 01:18:47 +00:00
parent d6e32a6c80
commit 1c3f790e8a
1 changed files with 0 additions and 17 deletions

View File

@ -2,27 +2,10 @@
#ifndef _SMSSOUND_H_ #ifndef _SMSSOUND_H_
#define _SMSSOUND_H_ #define _SMSSOUND_H_
enum {
STREAM_PSG_L, /* PSG left channel */
STREAM_PSG_R, /* PSG right channel */
STREAM_FM_MO, /* YM2413 melody channel */
STREAM_FM_RO, /* YM2413 rhythm channel */
STREAM_MAX /* Total # of sound streams */
};
/* Sound emulation structure */ /* Sound emulation structure */
typedef struct typedef struct
{ {
void (*mixer_callback)(INT16 **stream, INT16 **output, INT32 length);
INT16 *output[2];
INT16 *stream[STREAM_MAX];
INT32 fm_which;
INT32 enabled; INT32 enabled;
INT32 fps;
INT32 buffer_size;
INT32 sample_count;
INT32 sample_rate;
INT32 done_so_far;
UINT32 fm_clock; UINT32 fm_clock;
UINT32 psg_clock; UINT32 psg_clock;
} snd_t; } snd_t;