Up to [local] / src / usr.bin / aucat
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 27 15:36:18 2023 UTC (14 months, 2 weeks ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.4 (colored)
typo: filed -> failed; ok ratchov@
Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 27 15:35:29 2023 UTC (14 months, 2 weeks ago) by op
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored) to selected 1.4 (colored)
reading aid: explicitly check for memcmp() != 0; no functional change ok ratchov@
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 13 15:14:24 2023 UTC (16 months, 3 weeks ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored) to selected 1.4 (colored)
Use extended header format for .wav files. According to Microsoft docs, it is needed if bits > 16 or if there are more than 2 channels, which aucat supports and is the defaut. Fixes errors reported by audio/sox port when trying to play .wav files generated by aucat. Reported by John Rigg <obsd at jrigg.co.uk> and others on misc@
Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 24 21:24:15 2021 UTC (2 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored) to selected 1.4 (colored)
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 12 15:46:53 2021 UTC (3 years, 4 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.7: +15 -15 lines
Diff to previous 1.7 (colored) to selected 1.4 (colored)
const-ify lookup tables; ok ratchov@
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:00 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.6: +10 -10 lines
Diff to previous 1.6 (colored) to selected 1.4 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 23 06:03:55 2017 UTC (6 years, 6 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.5: +0 -3 lines
Diff to previous 1.5 (colored) to selected 1.4 (colored)
Remove useless variable assignments in .au header parsing code. From Michael W. Bombardieri. Thanks.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 24 17:20:03 2017 UTC (7 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Use the right header sizes for reading .aiff and .au files, ok ratchov
Revision 1.4 / (download) - annotate - [selected], Fri Sep 30 08:43:23 2016 UTC (7 years, 8 months ago) by ratchov
Branch: MAIN
Changes since 1.3: +0 -2 lines
Diff to previous 1.3 (colored)
Remove unnecessary includes. From Michael W. Bombardieri <mb at ii.net>.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 10 11:06:44 2016 UTC (8 years, 5 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.2: +7 -4 lines
Diff to previous 1.2 (colored) to selected 1.4 (colored)
trailing spaces, fit in 80 columns
Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 27 07:25:27 2015 UTC (8 years, 9 months ago) by ratchov
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.4 (colored)
Allow sparse blocks to be used as silence if samples are encoded as signed integers.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 21 08:43:55 2015 UTC (9 years, 4 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Diff to selected 1.4 (colored)
Simplify internals and rewrite file header parsing code: - remove -M, -t, -w, -C, -x flags that don't make sense anymore - make "-j off" the default (sndiod already does the job) - don't limit the number of played/recorded files. - add support for floating-point encoded files. - add support for apple .aiff and sun/next .au files