/*
 * xrick/include/syssnd.h
 *
 * This source code file is part of the xrick distribution, and as such is
 * copyrighted. Please read the README file in the root directory of the
 * distribution for information about copyrights, trademarks, license,
 * disclaimers, etc.
 */

#ifndef _SYSSND_H
#define _SYSSND_H

#include "system.h"

/* MIXSAMPLES is 8 * (FREQ/50/8) */
#define SYSSND_FREQ 11025
#define SYSSND_CHANNELS 1
#define SYSSND_MAXVOL 10
#define SYSSND_MIXCHANNELS 8
#define SYSSND_MIXSAMPLES 256

typedef struct {
  U8 *buf0;
  U8 *buf;
  U32 len0;
  U32 len;
  S8 loop;
} channel_t;

#endif

/* eof */


