2005-03-02 23:49:38 +00:00
|
|
|
|
|
|
|
#ifndef __PCM_H__
|
|
|
|
#define __PCM_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include "defs.h"
|
|
|
|
|
|
|
|
struct pcm
|
|
|
|
{
|
2007-02-06 21:41:08 +00:00
|
|
|
int hz, len;
|
|
|
|
int stereo;
|
2007-06-24 16:00:55 +00:00
|
|
|
short *buf;
|
2007-02-06 21:41:08 +00:00
|
|
|
int pos;
|
2005-03-02 23:49:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct pcm pcm;
|
|
|
|
|
2010-05-27 12:00:23 +00:00
|
|
|
void rockboy_pcm_init(void);
|
|
|
|
int rockboy_pcm_submit(void);
|
|
|
|
void rockboy_pcm_close(void);
|
2005-03-02 23:49:38 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|