~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to routines/sound/libst.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define st_ulaw_to_linear(ulawbyte) ulaw_exp_table[ulawbyte]
24
24
#define st_linear_to_ulaw(linearword) ulaw_comp_table[(linearword / 4) & 0x3fff]
25
25
#else
26
 
unsigned char st_linear_to_ulaw( /* int sample */ );
27
 
int st_ulaw_to_linear( /* unsigned char ulawbyte */ );
 
26
unsigned char st_linear_to_ulaw(  int sample  );
 
27
int st_ulaw_to_linear(  unsigned char ulawbyte  );
28
28
#endif
29
29
 
30
30
#ifdef FAST_ALAW_CONVERSION
33
33
#define st_Alaw_to_linear(Alawbyte) Alaw_exp_table[Alawbyte]
34
34
#define st_linear_to_Alaw(linearword) Alaw_comp_table[(linearword / 4) & 0x3fff]
35
35
#else
36
 
unsigned char st_linear_to_Alaw( /* int sample */ );
37
 
int st_Alaw_to_linear( /* unsigned char ulawbyte */ );
 
36
unsigned char st_linear_to_Alaw(  int sample  );
 
37
int st_Alaw_to_linear(  unsigned char ulawbyte  );
38
38
#endif
39
39
 
40
40
#ifdef  USG