author | llornkcor <llornkcor> | 2002-07-24 15:18:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-24 15:18:26 (UTC) |
commit | 9e126f7ed2f73b26ef440c1cc54d0dc0e6308f68 (patch) (side-by-side diff) | |
tree | e118086859eb8bee05bf39bbb8d7c2442c785547 /core/applets/vmemo/adpcm.h | |
parent | 919228ff6aeb72b6d2585ae108e86d27d0b6bdb1 (diff) | |
download | opie-9e126f7ed2f73b26ef440c1cc54d0dc0e6308f68.zip opie-9e126f7ed2f73b26ef440c1cc54d0dc0e6308f68.tar.gz opie-9e126f7ed2f73b26ef440c1cc54d0dc0e6308f68.tar.bz2 |
added adpcm hidden config, and fixed tmp file moving before recording.. heh
-rw-r--r-- | core/applets/vmemo/adpcm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/applets/vmemo/adpcm.h b/core/applets/vmemo/adpcm.h new file mode 100644 index 0000000..9c17ffa --- a/dev/null +++ b/core/applets/vmemo/adpcm.h @@ -0,0 +1,19 @@ +/* +** adpcm.h - include file for adpcm coder. +** +** Version 1.0, 7-Jul-92. +*/ + +struct adpcm_state { + short valprev; /* Previous output value */ + char index; /* Index into stepsize table */ +}; + +#ifdef __STDC__ +#define ARGS(x) x +#else +#define ARGS(x) () +#endif + +void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *)); +void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *)); |