=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/dsp.h,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/sndiod/dsp.h 2014/10/12 21:52:27 1.4 --- src/usr.bin/sndiod/dsp.h 2016/01/08 16:17:31 1.5 *************** *** 1,4 **** ! /* $OpenBSD: dsp.h,v 1.4 2014/10/12 21:52:27 ratchov Exp $ */ /* * Copyright (c) 2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: dsp.h,v 1.5 2016/01/08 16:17:31 ratchov Exp $ */ /* * Copyright (c) 2012 Alexandre Ratchov * *************** *** 105,113 **** struct aparams { unsigned int bps; /* bytes per sample */ unsigned int bits; /* actually used bits */ ! unsigned int le; /* 1 if little endian, 0 if big endian */ unsigned int sig; /* 1 if signed, 0 if unsigned */ ! unsigned int msb; /* 1 if msb justified, 0 if lsb justified */ }; struct resamp { --- 105,113 ---- struct aparams { unsigned int bps; /* bytes per sample */ unsigned int bits; /* actually used bits */ ! unsigned int le; /* 1 if little endian, else be */ unsigned int sig; /* 1 if signed, 0 if unsigned */ ! unsigned int msb; /* 1 if msb justified, else lsb */ }; struct resamp { *************** *** 124,130 **** int bfirst; /* bytes to skip at startup */ unsigned int bps; /* bytes per sample */ unsigned int shift; /* shift to get 32bit MSB */ ! unsigned int bias; /* bias of unsigned samples */ int bnext; /* to reach the next byte */ int snext; /* to reach the next sample */ int nch; --- 124,130 ---- int bfirst; /* bytes to skip at startup */ unsigned int bps; /* bytes per sample */ unsigned int shift; /* shift to get 32bit MSB */ ! unsigned int bias; /* bias of unsigned samples */ int bnext; /* to reach the next byte */ int snext; /* to reach the next sample */ int nch;