Home
last modified time | relevance | path

Searched refs:audio_s2u (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypePcm.cc135 short2ulaw(short *&F, ulaw *&T) { *T++ = audio_s2u(*F); F++; } in short2ulaw()
161 float2ulaw(float *&F, ulaw *&T) { *T++ = audio_s2u(dbl2long(*F++, 32767)); } in float2ulaw()
174 double2ulaw(double *&F, ulaw *&T) { *T++ = audio_s2u(dbl2long(*F++, 32767)); } in double2ulaw()
H A Dg721.c530 sp = audio_s2u((sr <= -0x2000)? -0x8000 : in _tandem_adjust_ulaw()
H A Dg723.c531 sp = audio_s2u((sr <= -0x2000)? -0x8000 : in _tandem_adjust_ulaw()
/illumos-gate/usr/src/cmd/audio/include/
H A Daudio_encode.h76 #define audio_s2u(X) (_linear2ulaw[((short)(X)) >> 2]) macro