Lines Matching defs:encoding
59 int encoding;
92 *encp = file2sw_encodings[i].encoding;
99 audio_encoding_to_sun(int encoding, int precision, int *sunep)
104 if (file2sw_encodings[i].encoding == encoding &&
117 int sunenc, oencoding = ti->encoding;
119 /* only perform conversions if we don't specify the encoding */
120 switch (ti->encoding) {
127 ti->encoding = AUDIO_ENCODING_SLINEAR_BE;
135 ti->encoding = AUDIO_ENCODING_SLINEAR_BE;
143 ti->encoding = AUDIO_ENCODING_SLINEAR_BE;
148 ti->encoding = AUDIO_ENCODING_SLINEAR_BE;
154 if (audio_encoding_to_sun(ti->encoding, ti->precision, &sunenc) != 0) {
160 warnx("failed to convert to sun encoding from %s "
176 auh.encoding = htonl(sunenc);
199 /* only perform conversions if we don't specify the encoding */
200 switch (ti->encoding) {