author | llornkcor <llornkcor> | 2003-04-04 03:03:38 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-04 03:03:38 (UTC) |
commit | ce6388c4f44e9e76342a338954fff598372e06f0 (patch) (unidiff) | |
tree | 895c202343fc394335e6effdb535ccb864a587d3 /noncore/multimedia/opierec/adpcm.h | |
parent | 487971af0c1b70babcc39fd549dc0d8142cd4865 (diff) | |
download | opie-ce6388c4f44e9e76342a338954fff598372e06f0.zip opie-ce6388c4f44e9e76342a338954fff598372e06f0.tar.gz opie-ce6388c4f44e9e76342a338954fff598372e06f0.tar.bz2 |
bitches owe me money. initial commit. zaurus/vercel has sound drivers that doesnt actually change samplerates, so this kinda has problems, currently
Diffstat (limited to 'noncore/multimedia/opierec/adpcm.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/adpcm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/multimedia/opierec/adpcm.h b/noncore/multimedia/opierec/adpcm.h new file mode 100644 index 0000000..9c17ffa --- a/dev/null +++ b/noncore/multimedia/opierec/adpcm.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | ** adpcm.h - include file for adpcm coder. | ||
3 | ** | ||
4 | ** Version 1.0, 7-Jul-92. | ||
5 | */ | ||
6 | |||
7 | struct adpcm_state { | ||
8 | short valprev;/* Previous output value */ | ||
9 | char index; /* Index into stepsize table */ | ||
10 | }; | ||
11 | |||
12 | #ifdef __STDC__ | ||
13 | #define ARGS(x) x | ||
14 | #else | ||
15 | #define ARGS(x) () | ||
16 | #endif | ||
17 | |||
18 | void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *)); | ||
19 | void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *)); | ||