summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/pcm.h
blob: b90bba087fa460f056b0caab1b2c49d4a6b61cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef __PCM_H__
#define __PCM_H__


#include "defs.h"

struct pcm
{
    int hz, len;
    int stereo;
    short *buf;
    int pos;
};

extern struct pcm pcm;

void pcm_init(void);
int  pcm_submit(void);
void pcm_close(void);

#endif