Up to [local] / src / usr.bin / audioctl
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_1
Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 15 03:43:12 2010 UTC (13 years, 10 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.20: +7 -3 lines
Diff to previous 1.20 (colored)
add two new members to structs audio_encoding and audio_prinfo. for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt