=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/audioctl/audioctl.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/audioctl/audioctl.c 2009/11/12 07:32:26 1.20 --- src/usr.bin/audioctl/audioctl.c 2010/07/15 03:43:12 1.21 *************** *** 1,4 **** ! /* $OpenBSD: audioctl.c,v 1.20 2009/11/12 07:32:26 ratchov Exp $ */ /* $NetBSD: audioctl.c,v 1.14 1998/04/27 16:55:23 augustss Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: audioctl.c,v 1.21 2010/07/15 03:43:12 jakemsr Exp $ */ /* $NetBSD: audioctl.c,v 1.14 1998/04/27 16:55:23 augustss Exp $ */ /* *************** *** 96,101 **** --- 96,103 ---- { "play.sample_rate", &info.play.sample_rate, UINT, ALIAS }, { "play.channels", &info.play.channels, UINT, 0 }, { "play.precision", &info.play.precision, UINT, 0 }, + { "play.bps", &info.play.bps, UINT, 0 }, + { "play.msb", &info.play.msb, UINT, 0 }, { "play.encoding", &info.play.encoding, ENC, 0 }, { "play.gain", &info.play.gain, UINT, 0 }, { "play.balance", &info.play.balance, UCHAR, 0 }, *************** *** 116,121 **** --- 118,125 ---- { "record.sample_rate", &info.record.sample_rate,UINT, ALIAS }, { "record.channels", &info.record.channels, UINT, 0 }, { "record.precision", &info.record.precision, UINT, 0 }, + { "record.bps", &info.record.bps, UINT, 0 }, + { "record.msb", &info.record.msb, UINT, 0 }, { "record.encoding", &info.record.encoding, ENC, 0 }, { "record.gain", &info.record.gain, UINT, 0 }, { "record.balance", &info.record.balance, UCHAR, 0 }, *************** *** 320,327 **** break; if (pos) encbuf[pos++] = ','; ! snprintf(encbuf+pos, sizeof(encbuf)-pos, "%s:%d%s", ! enc.name, enc.precision, enc.flags & AUDIO_ENCODINGFLAG_EMULATED ? "*" : ""); pos += strlen(encbuf+pos); } --- 324,331 ---- break; if (pos) encbuf[pos++] = ','; ! snprintf(encbuf+pos, sizeof(encbuf)-pos, "%s:%d:%d:%d%s", ! enc.name, enc.precision, enc.bps, enc.msb, enc.flags & AUDIO_ENCODINGFLAG_EMULATED ? "*" : ""); pos += strlen(encbuf+pos); }