Searched refs:dbl2long (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioTypePcm.cc | 109 dbl2long(double D, long C) function in class:AudioTypePcm 155 float2char(float *&F, char *&T) { *T++ = (char)dbl2long(*F++, 127); } 157 float2short(float *&F, short *&T) { *T++ = (short)dbl2long(*F++, 32767); } 159 float2long(float *&F, long *&T) { *T++ = dbl2long(*F++, 2147483647); } 163 float2ulaw(float *&F, ulaw *&T) { *T++ = audio_s2u(dbl2long(*F++, 32767)); } 165 float2alaw(float *&F, alaw *&T) { *T++ = audio_s2a(dbl2long(*F++, 32767)); } 168 double2char(double *&F, char *&T) { *T++ = (char)dbl2long(*F++, 127); } 170 double2short(double *&F, short *&T) { *T++ = (short)dbl2long(*F++, 32767); } 172 double2long(double *&F, long *&T) { *T++ = dbl2long(*F++, 2147483647); } 176 double2ulaw(double *&F, ulaw *&T) { *T++ = audio_s2u(dbl2long(* [all...] |
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypePcm.h | 49 long dbl2long(double, long);
|
Completed in 66 milliseconds