Lines Matching full:encoding
36 * size and encoding of samples,
58 ft->encoding.bits_per_sample = 8; /* or 16 ... */ in startread()
59 ft->encoding.encoding = SOX_ENCODING_UNSIGNED; /* or SIGN2 ... */ in startread()
65 samples_in_file = lsx_filelength(ft) / (ft->encoding.bits_per_sample >> 3); in startread()
87 switch (ft->encoding.bits_per_sample) { in read_samples()
89 switch (ft->encoding.encoding) { in read_samples()
94 lsx_fail("Undetected sample encoding in read!"); in read_samples()
133 if (ft->encoding.bits_per_sample == 0) { in startwrite()
138 /* error check ft->encoding.encoding */ in startwrite()
158 switch (ft->encoding.bits_per_sample) { in write_samples()
160 switch (ft->encoding.encoding) { in write_samples()
167 lsx_fail("Undetected bad sample encoding in write!"); in write_samples()
197 /* Encoding types and sizes that this handler can write */ in LSX_FORMAT_HANDLER()