The NetBSD Project

CVS log for src/tests/dev/audio/audiotest.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / dev / audio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 13 07:22:40 2022 UTC (5 months, 3 weeks ago) by isaki
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.26: +100 -2 lines
Diff to previous 1.26 (colored)

audiotest: Add two tests for AUDIO_SETINFO after mmap.
These tests affect only standalone test, not atf.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Aug 13 07:19:15 2022 UTC (5 months, 3 weeks ago) by isaki
Branch: MAIN
Changes since 1.25: +25 -25 lines
Diff to previous 1.25 (colored)

audiotest: Fix typo in comments.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Aug 13 07:14:40 2022 UTC (5 months, 3 weeks ago) by isaki
Branch: MAIN
Changes since 1.24: +61 -49 lines
Diff to previous 1.24 (colored)

audiotest: Separate mmap_len test by parameters.
This change affects only standalone test, not atf.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 7 10:12:19 2022 UTC (5 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

fix some typos and grammar in comments.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 6 18:26:42 2022 UTC (5 months, 4 weeks ago) by andvar
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

s/blity/bility/ in various words, mainly in comments.

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 31 08:43:16 2022 UTC (8 months ago) by andvar
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

fix various typos in comments, documentation and messages.

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 24 06:18:34 2022 UTC (8 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

s/changable/changeable/ in comments.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 17 05:05:20 2022 UTC (8 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

fix few typos in comments.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 23 07:47:42 2022 UTC (9 months, 1 week ago) by isaki
Branch: MAIN
Changes since 1.18: +569 -2 lines
Diff to previous 1.18 (colored)

tests: Add tests for AUDIO_GET[IO]OFFS ioctls.
- AUDIO_GETIOFFS_one_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_one_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_wrap_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_flush_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_set_{RDONLY,RDWR,WRONLY}

Revision 1.18 / (download) - annotate - [select for diffs], Fri Dec 10 20:36:05 2021 UTC (13 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

s/occured/occurred/ in comments, log messages and man pages.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 8 20:50:03 2021 UTC (13 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

fix various typos in comments and log messages.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 5 07:30:51 2021 UTC (13 months, 4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

s/recored/record/ in comment.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 21 09:59:46 2021 UTC (17 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 21 06:18:32 2021 UTC (18 months, 2 weeks ago) by isaki
Branch: MAIN
Changes since 1.13: +291 -2 lines
Diff to previous 1.13 (colored)

Add AUDIO_SETINFO_gain_balance test.
The test checks whether AUDIO_SETINFO can change the gain and the balance
at the same time (if MD driver has the capability).  See PR kern/56308.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 13 09:00:17 2020 UTC (2 years, 3 months ago) by rin
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Argument for AUDIO_WSEEK ioctl is u_long, not int.

Fix false positive for aarch64eb (LP64BE):
AUDIO_WSEEK, failed, Line 4467: n expects 4 but 0

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 26 07:50:12 2020 UTC (2 years, 7 months ago) by jruoho
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Reference PRs consistently.

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 1 05:45:57 2020 UTC (2 years, 9 months ago) by isaki
Branch: MAIN
Changes since 1.10: +10 -11 lines
Diff to previous 1.10 (colored)

Fix two tests.
- kqueue_mode_{RDONLY,RDWR}_READ: Fix expected value.
  This is rest of rev1.9.
- AUDIO_SETINFO_params_simul: Fix condition.
  This happens on full-duplex, not bi-directional.
These affect only standalone test, not atf.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:05 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.10.2.1: +6408 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.10.2.1, Thu Mar 26 13:43:10 2020 UTC (2 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.10: +0 -6408 lines
FILE REMOVED

file audiotest.c was added on branch phil-wifi on 2020-04-08 14:09:05 +0000

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 26 13:43:10 2020 UTC (2 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Branch point for: phil-wifi
Changes since 1.9: +81 -2 lines
Diff to previous 1.9 (colored)

Add tests for poll(POLLIN) before read().
This affects only standalone test, not atf.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 26 13:37:44 2020 UTC (2 years, 10 months ago) by isaki
Branch: MAIN
Changes since 1.8: +31 -15 lines
Diff to previous 1.8 (colored)

Sync with sys/dev/audio/audio.c rev1.65.
> Fix to start recording immediately when open() with READ mode is called.
This affects only standalone test, not atf.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 25 13:07:04 2020 UTC (2 years, 10 months ago) by isaki
Branch: MAIN
Changes since 1.7: +27 -5 lines
Diff to previous 1.7 (colored)

Use exact match to search testname.
This didn't affect test results.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 4 14:20:44 2020 UTC (2 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.6: +170 -536 lines
Diff to previous 1.6 (colored)

Sync with sys/dev/audio/audio.c rev1.62.
> Restore backward compatibility with netbsd-7 audio.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 22 05:53:19 2020 UTC (2 years, 11 months ago) by isaki
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp
Changes since 1.5: +55 -6 lines
Diff to previous 1.5 (colored)

Update AUDIO_SETINFO_channels test.
The kernel limits the number of channels that userland apps can set to
the number of channels supported by the hardware or less.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 18 12:11:26 2020 UTC (2 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.4: +175 -2 lines
Diff to previous 1.4 (colored)

Add tests.
 AUDIO_SETINFO_channels
 AUDIO_SETINFO_sample_rate
 AUDIO_SETINFO_sample_rate_0

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 14 13:20:48 2020 UTC (2 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.3: +30 -34 lines
Diff to previous 1.3 (colored)

Improve around {audioctl_,}open_multiuser.
- Make multiuser bool and remove newval.
- try_audioctl_open_multiuser() doesn't need multiuser argument.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 13 18:06:26 2020 UTC (2 years, 11 months ago) by tnn
Branch: MAIN
Changes since 1.2: +6 -2 lines
Diff to previous 1.2 (colored)

don't use variable 'newval' uninitialized when multiuser mode unchanged

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 12 07:02:21 2020 UTC (2 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

Add sentinel to the testtable[] array.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 11 07:03:16 2020 UTC (2 years, 11 months ago) by isaki
Branch: MAIN

Add ATF tests for audio(4).

    91 passed test cases
    0 failed test cases.
    0 expected failed test cases.
    62 skipped test cases.

There are many skipped tests, because the test itself supports full-
duplex, half-duplex and uni-directional devices but pad(4) used in ATF
tests is uni-directional device.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>