summaryrefslogtreecommitdiff
path: root/regress/sys/dev
AgeCommit message (Collapse)Author
2010-07-22Replace strncat() with strlcat().Marcus Glocker
2010-07-22Change include ordering.Marcus Glocker
2010-07-22Initial regression test program for video(4).Marcus Glocker
2009-11-12respect the block size returned by the driverJacob Meuser
2007-10-20oops, too much copying from select(2) manualJacob Meuser
noticed by and fix from deanna@, thanks
2007-10-19fix off by ones in the AUDIO_GET[PR]RINFO testsJacob Meuser
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and theJacob Meuser
data structure these ioctls use, audio_bufinfo. these ioctls return information about the play and record buffers into the audio_bufinfo structure. these are being added to aid in porting non-native audio applications and libraries, and to fix issues in our OSS audio emulation. these ioctls exist only on OpenBSD and should not be used in code intended for distribution. ok ratchov
2007-08-26- remove commented out 'extern errno' declarationJacob Meuser
- remove pointless AUDIO_FLUSH.
2007-08-26add a function to trigger recording and use it for full-duplex modeJacob Meuser
2007-07-31set the blocksize to the size of the read/write buffers.Jacob Meuser
the blocksize matters for the poll() cases because we pass the poll when reading from the device when there is any data in the record buffer. since data is transfered into the buffer in blocksize chunks, if there was no and now is some data in the buffer, there is probably about blocksize bytes of data in the buffer. if in non-blocking mode, which is common when using poll(), and we try to read() more bytes than are in the record buffer, we will receive an EAGAIN. if we read() in blocksize chunks, we will never try to read more than is available. a more eloquent version of the above description should be in audio(4).
2007-07-31pass command line options to audiotest_rw through OPTS, e.g.Jacob Meuser
$ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make
2007-07-06- document -vJason McIntyre
- tweak usage()
2007-07-06remove another $Id$, forgotten in last commitJacob Meuser
2007-07-06proper RCS tagsJacob Meuser
2007-07-06manpage improvements from jmc@Jacob Meuser
2007-07-06regression tests for various audio read(2) and write(2) scenariosJacob Meuser
2007-07-06regression test for AUDIO_GETINFO/AUDIO_SETINFO ioctlsJacob Meuser
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-25- add ability to specify a tone to be played (defaults to 440hz)Jason Wright
- stop using atoi ... use strtod/strtol - fixing timing stuff for alaw/8
2005-12-07Sorry, committed the wrong MakefilePedro Martelletto
2005-12-07Move Art's fdescfs regress to a now more appropriate placePedro Martelletto
2005-09-27various fixups;Jason McIntyre
ok jason@
2005-09-27report time duration required to play sample then % error of sample rate.Dale Rahn
from PR 4304. Also added support for different sample rate requests. ok jason@
2004-07-09if REGRESS_SKIP is defined, no need to also define REGRESS_SKIP_TARGETSDavid Krause
2003-08-06don't repeat the numeric frequency 10 times... use a #defineJason Wright
2003-07-31go deeperTheo de Raadt
2003-06-04fix a few more prints... stupid monoaural devices...Jason Wright
2003-06-04fix printing when AUDIO_SETINFO failsJason Wright
2003-06-02more license cleaningJason Wright
2003-04-25missing .El for .Bl macro;Jason McIntyre
2003-03-28mu-law and A-law spelling;Jason McIntyre
mu-law and u-law are the same, so used mu-law for consistency; ok jason@
2003-03-19spelling fixDavid Krause
ok jason@
2003-02-05- combine 16 bit le/be functionsJason Wright
- clean up format switch
2003-02-04don't need double precision anywhere in hereJason Wright
2003-02-04betterJason Wright
2003-02-04hack at stereo adpcmJason Wright
2003-02-04free memory if pointer is -not- NULL...Jason Wright
2003-02-01rcsidJason Wright
2003-02-01Probably should recurse into the new test...Jason Wright
2003-02-01add -f flag so the device can be specified, and make sure the device isJason Wright
an audio device (ioctl(... AUDIO_GETINFO ...) should do).
2003-02-01audio encoding testerJason Wright