| History log of /src/tests/dev/audio |
| Revision | Date | Author | Comments |
| 1.2 | 02-Dec-2012 |
pgoyette | Actually remove the no-longer-needed Atffiles
|
| 1.1 | 04-Aug-2010 |
pooka | branches: 1.1.6; 1.1.12; Add test of pad(4): stuff some audio into /dev/audio, read it from /dev/pad. Test that we got sensible output by comparing against a previous audibly good result.
This exercises auconv, audio and pad.
|
| 1.1.12.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.1.6.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.9 | 02-Mar-2020 |
isaki | Re-add -lrumpdev dropped in the previous commit.
|
| 1.8 | 01-Mar-2020 |
christos | Centralize the base rump libraries into a variable used by all the other Makefiles so that we can make changes to it centrally as needed and have less mess. Fixes the sun2 build that needs rumpvfs after librump after the latest changes.
|
| 1.7 | 11-Feb-2020 |
isaki | 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.
|
| 1.6 | 20-Jun-2019 |
isaki | Rewrite t_pad test. Previous version compared the pad's output binary passed mulaw-slinear conversion and frequency conversion with the prepared "good result". In such case, a test may fail when the implemantation changes. In fact, the frequency conversion algorithm was changed in isaki-audio2, so output waveforms is not completely the same (but that's no problem with the audio waveforms). New version uses slinear_le/2ch/44100Hz input data and compares the output binary with the input data. pad with no conversions should output the same binary. Fix PR kern/54187.
|
| 1.5 | 23-Jan-2016 |
christos | branches: 1.5.16; Define _KERNTYPES for things that need it.
|
| 1.4 | 02-Dec-2012 |
pgoyette | Build helper programs as PROGS and not as TESTS_{C,SH}
This enables us to remove custom Atffiles whose only purpose was to avoid using the helpers as tests.
XXX src/tests/dev/dm/ is not (yet) linked into the build!
|
| 1.3 | 31-Oct-2010 |
he | branches: 1.3.6; 1.3.12; There's apparently a circular dependency between -lrump and -lrumpuser. This poses problems when linking statically, as for sun2. Add -lrump also after -lrumpuser, so that this links statically as well.
|
| 1.2 | 04-Aug-2010 |
pooka | need to update install filename too
|
| 1.1 | 04-Aug-2010 |
pooka | Add test of pad(4): stuff some audio into /dev/audio, read it from /dev/pad. Test that we got sensible output by comparing against a previous audibly good result.
This exercises auconv, audio and pad.
|
| 1.3.12.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.3.6.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.5.16.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.5.16.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.33 | 27-Jun-2025 |
andvar | Fix various typos, mainly in comments.
|
| 1.32 | 11-Dec-2023 |
mlelstv | branches: 1.32.2; mmap() fails for size == 0 with EINVAL unless the mapping is anonymous.
|
| 1.31 | 03-Aug-2023 |
rin | 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.
|
| 1.30 | 24-Jun-2023 |
msaitoh | Fix typo in comment.
|
| 1.29 | 23-Apr-2023 |
mlelstv | Allow 24bit support.
|
| 1.28 | 13-Feb-2023 |
andvar | s/plyaback/playback/ in comment.
|
| 1.27 | 13-Aug-2022 |
isaki | audiotest: Add two tests for AUDIO_SETINFO after mmap. These tests affect only standalone test, not atf.
|
| 1.26 | 13-Aug-2022 |
isaki | audiotest: Fix typo in comments.
|
| 1.25 | 13-Aug-2022 |
isaki | audiotest: Separate mmap_len test by parameters. This change affects only standalone test, not atf.
|
| 1.24 | 07-Aug-2022 |
andvar | fix some typos and grammar in comments.
|
| 1.23 | 06-Aug-2022 |
andvar | s/blity/bility/ in various words, mainly in comments.
|
| 1.22 | 31-May-2022 |
andvar | fix various typos in comments, documentation and messages.
|
| 1.21 | 24-May-2022 |
andvar | s/changable/changeable/ in comments.
|
| 1.20 | 17-May-2022 |
andvar | fix few typos in comments.
|
| 1.19 | 23-Apr-2022 |
isaki | 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}
|
| 1.18 | 10-Dec-2021 |
andvar | s/occured/occurred/ in comments, log messages and man pages.
|
| 1.17 | 08-Dec-2021 |
andvar | fix various typos in comments and log messages.
|
| 1.16 | 05-Dec-2021 |
msaitoh | s/recored/record/ in comment.
|
| 1.15 | 21-Aug-2021 |
andvar | s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/
|
| 1.14 | 21-Jul-2021 |
isaki | 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.
|
| 1.13 | 13-Oct-2020 |
rin | 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
|
| 1.12 | 26-Jun-2020 |
jruoho | Reference PRs consistently.
|
| 1.11 | 01-May-2020 |
isaki | 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.
|
| 1.10 | 26-Mar-2020 |
isaki | branches: 1.10.2; Add tests for poll(POLLIN) before read(). This affects only standalone test, not atf.
|
| 1.9 | 26-Mar-2020 |
isaki | 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.
|
| 1.8 | 25-Mar-2020 |
isaki | Use exact match to search testname. This didn't affect test results.
|
| 1.7 | 04-Mar-2020 |
isaki | Sync with sys/dev/audio/audio.c rev1.62. > Restore backward compatibility with netbsd-7 audio.
|
| 1.6 | 22-Feb-2020 |
isaki | 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.
|
| 1.5 | 18-Feb-2020 |
isaki | Add tests. AUDIO_SETINFO_channels AUDIO_SETINFO_sample_rate AUDIO_SETINFO_sample_rate_0
|
| 1.4 | 14-Feb-2020 |
isaki | Improve around {audioctl_,}open_multiuser. - Make multiuser bool and remove newval. - try_audioctl_open_multiuser() doesn't need multiuser argument.
|
| 1.3 | 13-Feb-2020 |
tnn | don't use variable 'newval' uninitialized when multiuser mode unchanged
|
| 1.2 | 12-Feb-2020 |
martin | Add sentinel to the testtable[] array.
|
| 1.1 | 11-Feb-2020 |
isaki | 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.
|
| 1.10.2.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.10.2.1 | 26-Mar-2020 |
martin | file audiotest.c was added on branch phil-wifi on 2020-04-08 14:09:05 +0000
|
| 1.32.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.3 | 20-Jun-2019 |
isaki | Rewrite t_pad test. Previous version compared the pad's output binary passed mulaw-slinear conversion and frequency conversion with the prepared "good result". In such case, a test may fail when the implemantation changes. In fact, the frequency conversion algorithm was changed in isaki-audio2, so output waveforms is not completely the same (but that's no problem with the audio waveforms). New version uses slinear_le/2ch/44100Hz input data and compares the output binary with the input data. pad with no conversions should output the same binary. Fix PR kern/54187.
|
| 1.2 | 15-Oct-2016 |
nat | branches: 1.2.14; pad(4) must be open before corresponding audio device is opened.
OK christos@
|
| 1.1 | 04-Aug-2010 |
pooka | branches: 1.1.28; Add test of pad(4): stuff some audio into /dev/audio, read it from /dev/pad. Test that we got sensible output by comparing against a previous audibly good result.
This exercises auconv, audio and pad.
|
| 1.1.28.1 | 04-Nov-2016 |
pgoyette | Sync with HEAD
|
| 1.2.14.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.2 | 24-Jan-2011 |
pooka | Represent test data as bytes to make it "endian-independent".
from martin
|
| 1.1 | 04-Aug-2010 |
pooka | branches: 1.1.2; Add test of pad(4): stuff some audio into /dev/audio, read it from /dev/pad. Test that we got sensible output by comparing against a previous audibly good result.
This exercises auconv, audio and pad.
|
| 1.1.2.1 | 08-Feb-2011 |
bouyer | Sync with HEAD
|
| 1.2 | 25-Mar-2020 |
isaki | branches: 1.2.2; Use exact match to search testname. This didn't affect test results.
|
| 1.1 | 11-Feb-2020 |
isaki | 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.
|
| 1.2.2.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.2.2.1 | 25-Mar-2020 |
martin | file t_audio.awk was added on branch phil-wifi on 2020-04-08 14:09:05 +0000
|
| 1.4 | 20-Jun-2019 |
isaki | Rewrite t_pad test. Previous version compared the pad's output binary passed mulaw-slinear conversion and frequency conversion with the prepared "good result". In such case, a test may fail when the implemantation changes. In fact, the frequency conversion algorithm was changed in isaki-audio2, so output waveforms is not completely the same (but that's no problem with the audio waveforms). New version uses slinear_le/2ch/44100Hz input data and compares the output binary with the input data. pad with no conversions should output the same binary. Fix PR kern/54187.
|
| 1.3 | 07-Nov-2010 |
jmmv | branches: 1.3.46; Adjusts tests after import of atf-0.12:
- The use.fs property is gone. - Mark the tests/fs/t_create:attrs test as broken when using the default unprivileged-user:_atf setting. This probably deserves a fix somehow but I'm not sure at this point.
|
| 1.2 | 04-Aug-2010 |
pooka | Update test program to deal with uuencoded golden data. XXX: is it not possible to use a pipeline in atf_check?
|
| 1.1 | 04-Aug-2010 |
pooka | Add test of pad(4): stuff some audio into /dev/audio, read it from /dev/pad. Test that we got sensible output by comparing against a previous audibly good result.
This exercises auconv, audio and pad.
|
| 1.3.46.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.2 | 04-Aug-2010 |
pooka | Actually, some nagging voice in my head tells me that all binary files in the repo should be uuencoded, so uuencode the golden audio output.
|
| 1.1 | 04-Aug-2010 |
pooka | Add test of pad(4): stuff some audio into /dev/audio, read it from /dev/pad. Test that we got sensible output by comparing against a previous audibly good result.
This exercises auconv, audio and pad.
|
| 1.5 | 20-Jun-2019 |
isaki | Rewrite t_pad test. Previous version compared the pad's output binary passed mulaw-slinear conversion and frequency conversion with the prepared "good result". In such case, a test may fail when the implemantation changes. In fact, the frequency conversion algorithm was changed in isaki-audio2, so output waveforms is not completely the same (but that's no problem with the audio waveforms). New version uses slinear_le/2ch/44100Hz input data and compares the output binary with the input data. pad with no conversions should output the same binary. Fix PR kern/54187.
|
| 1.4 | 27-Jan-2017 |
nat | branches: 1.4.12; Revert to previous. Audio passes the test properly again.
|
| 1.3 | 11-Dec-2016 |
nat | branches: 1.3.2; Update test output to reflect audio changes.
|
| 1.2 | 26-Feb-2016 |
nat | branches: 1.2.2; Fix soft volume audio distortion. OK jmcneil@. Update atf pad expected output.
|
| 1.1 | 04-Aug-2010 |
pooka | Actually, some nagging voice in my head tells me that all binary files in the repo should be uuencoded, so uuencode the golden audio output.
|
| 1.2.2.2 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.2.2.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.3.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.4.12.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|