summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/pcm.h
blob: 795b2be7a96a2f4e63b02bbd7db3739c6a4a8eac (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 rockboy_pcm_init(void);
int  rockboy_pcm_submit(void);
void rockboy_pcm_close(void);

#endif