Home
last modified time | relevance | path

Searched refs:alaw (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/audio/include/
H A DAudioTypePcm.h43 typedef unsigned char alaw; typedef
56 void char2alaw(char *&, alaw *&);
63 void short2alaw(short *&, alaw *&);
70 void long2alaw(long *&, alaw *&);
77 void float2alaw(float *&, alaw *&);
84 void double2alaw(double *&, alaw *&);
91 void ulaw2alaw(ulaw *&, alaw *&);
93 void alaw2ulaw(alaw *&, ulaw *&);
94 void alaw2char(alaw *&, char *&);
95 void alaw2short(alaw *&, short *&);
[all …]
/titanic_44/usr/src/cmd/audio/utilities/
H A DAudioTypePcm.cc126 char2alaw(char *&F, alaw *&T) { *T++ = audio_c2a(*F); F++; } in char2alaw()
139 short2alaw(short *&F, alaw *&T) { *T++ = audio_s2a(*F); F++; } in short2alaw()
152 long2alaw(long *&F, alaw *&T) { *T++ = audio_l2a(*F); F++; } in long2alaw()
165 float2alaw(float *&F, alaw *&T) { *T++ = audio_s2a(dbl2long(*F++, 32767)); } in float2alaw()
178 double2alaw(double *&F, alaw *&T) { *T++ = audio_s2a(dbl2long(*F++, 32767)); } in double2alaw()
183 ulaw2alaw(ulaw *&F, alaw *&T) { *T++ = audio_u2a(*F); F++; } in ulaw2alaw()
194 alaw2char(alaw *&F, char *&T) { *T++ = audio_a2c(*F); F++; } in alaw2char()
196 alaw2short(alaw *&F, short *&T) { *T++ = audio_a2s(*F); F++; } in alaw2short()
198 alaw2long(alaw *&F, long *&T) { *T++ = audio_a2l(*F); F++; } in alaw2long()
200 alaw2float(alaw *&F, float *&T) { *T++ = short2dbl(audio_a2s(*F)); F++; } in alaw2float()
[all …]