Mercurial > hg > dmlib
diff minijss/jssmod.h @ 1129:e466d10dae6d
Change API of jssDecodeSample{8,16}() functions to return dmlib error codes
instead of plain boolean value. Change some of the relevant places to use
this return value.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Mar 2015 06:31:54 +0200 |
parents | e22d4ceb6414 |
children | aa3738b121d1 |
line wrap: on
line diff
--- a/minijss/jssmod.h Wed Mar 04 06:11:58 2015 +0200 +++ b/minijss/jssmod.h Wed Mar 04 06:31:54 2015 +0200 @@ -292,8 +292,8 @@ BOOL jssEncodeSample8(Uint8 *, const size_t, const int); BOOL jssEncodeSample16(Uint16 *, const size_t, const int); #endif -BOOL jssDecodeSample8(Uint8 *, const size_t, const int); -BOOL jssDecodeSample16(Uint16 *, const size_t, const int); +int jssDecodeSample8(Uint8 *, const size_t, const int); +int jssDecodeSample16(Uint16 *, const size_t, const int); int jssConvertModuleForPlaying(JSSModule *module); JSSModule * jssAllocateModule(void); int jssFreeModule(JSSModule *);