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


Keyword substitution: kv
Default branch: MAIN


Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Dec 11 09:26:08 2023 UTC (10 months, 3 weeks ago) by mlelstv
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -5 lines
mmap() fails for size == 0 with EINVAL unless the mapping is anonymous.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Aug 3 08:36:38 2023 UTC (15 months ago) by rin
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
audiotest: Appease GCC 12.3.0 -Wmisleading-indentation

It does not matter whether this statement is a part of this if-then
block or not, anyway. No binary changes.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Jun 24 05:27:13 2023 UTC (16 months, 1 week ago) by msaitoh
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Fix typo in comment.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Apr 23 16:49:38 2023 UTC (18 months, 1 week ago) by mlelstv
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
Allow 24bit support.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Feb 13 22:24:06 2023 UTC (20 months, 2 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
s/plyaback/playback/ in comment.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Aug 13 07:22:40 2022 UTC (2 years, 2 months ago) by isaki
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +100 -2 lines
audiotest: Add two tests for AUDIO_SETINFO after mmap.
These tests affect only standalone test, not atf.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Aug 13 07:19:15 2022 UTC (2 years, 2 months ago) by isaki
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +25 -25 lines
audiotest: Fix typo in comments.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Aug 13 07:14:40 2022 UTC (2 years, 2 months ago) by isaki
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +61 -49 lines
audiotest: Separate mmap_len test by parameters.
This change affects only standalone test, not atf.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Aug 7 10:12:19 2022 UTC (2 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
fix some typos and grammar in comments.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 6 18:26:42 2022 UTC (2 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
s/blity/bility/ in various words, mainly in comments.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 31 08:43:16 2022 UTC (2 years, 5 months ago) by andvar
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
fix various typos in comments, documentation and messages.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 24 06:18:34 2022 UTC (2 years, 5 months ago) by andvar
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
s/changable/changeable/ in comments.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue May 17 05:05:20 2022 UTC (2 years, 5 months ago) by andvar
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
fix few typos in comments.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 23 07:47:42 2022 UTC (2 years, 6 months ago) by isaki
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +569 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 10 20:36:05 2021 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
s/occured/occurred/ in comments, log messages and man pages.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Dec 8 20:50:03 2021 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
fix various typos in comments and log messages.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Dec 5 07:30:51 2021 UTC (2 years, 10 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
s/recored/record/ in comment.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Aug 21 09:59:46 2021 UTC (3 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 21 06:18:32 2021 UTC (3 years, 3 months ago) by isaki
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +291 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 13 09:00:17 2020 UTC (4 years ago) by rin
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 26 07:50:12 2020 UTC (4 years, 4 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Reference PRs consistently.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 1 05:45:57 2020 UTC (4 years, 6 months ago) by isaki
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -11 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:05 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +6408 -0 lines
Merge changes from current as of 20200406

Revision 1.10.2.1
Thu Mar 26 13:43:10 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.10: +0 -6408 lines
file audiotest.c was added on branch phil-wifi on 2020-04-08 14:09:05 +0000

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 26 13:43:10 2020 UTC (4 years, 7 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Branch point for: phil-wifi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +81 -2 lines
Add tests for poll(POLLIN) before read().
This affects only standalone test, not atf.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 26 13:37:44 2020 UTC (4 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +31 -15 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 25 13:07:04 2020 UTC (4 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +27 -5 lines
Use exact match to search testname.
This didn't affect test results.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 4 14:20:44 2020 UTC (4 years, 8 months ago) by isaki
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +170 -536 lines
Sync with sys/dev/audio/audio.c rev1.62.
> Restore backward compatibility with netbsd-7 audio.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 22 05:53:19 2020 UTC (4 years, 8 months ago) by isaki
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +55 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 18 12:11:26 2020 UTC (4 years, 8 months ago) by isaki
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +175 -2 lines
Add tests.
 AUDIO_SETINFO_channels
 AUDIO_SETINFO_sample_rate
 AUDIO_SETINFO_sample_rate_0

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 14 13:20:48 2020 UTC (4 years, 8 months ago) by isaki
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +30 -34 lines
Improve around {audioctl_,}open_multiuser.
- Make multiuser bool and remove newval.
- try_audioctl_open_multiuser() doesn't need multiuser argument.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 13 18:06:26 2020 UTC (4 years, 8 months ago) by tnn
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -2 lines
don't use variable 'newval' uninitialized when multiuser mode unchanged

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 12 07:02:21 2020 UTC (4 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
Add sentinel to the testtable[] array.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 11 07:03:16 2020 UTC (4 years, 8 months ago) by isaki
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>