Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-20 | float math functions: copysignf and logbf. ok millert@ | Martynas Venckus | |
2008-11-20 | make both aucat(1) and audio(4) backends use the AUDIODEVICE env | Alexandre Ratchov | |
variable to determine the socket or the device to use. Allow choosing the when aucat(1) is used too. Noticed and tested by naddy@ | |||
2008-11-20 | move allocations between half a page and a page as close to the end of | Otto Moerbeek | |
the page as possible (i.e. make malloc option P a default). ok art@ millert@ krw@ | |||
2008-11-20 | Reduce the leeway malloc allows when moving allocations to the end of | Otto Moerbeek | |
a page to 0. P default will be changed in a separate commit. ok millert@ art@ krw@ | |||
2008-11-20 | while setting the block size, try smaller blocks half of the retries and | Alexandre Ratchov | |
larger blocks the other half. That's because shrinking the block size may not be the right direction to go to find a common block size for play and record. | |||
2008-11-17 | occures -> occurs; | Jason McIntyre | |
2008-11-17 | allow aucat to run as server in play-only and record-only mode, so | Alexandre Ratchov | |
it can be used on play-only, record-only and half-duplex devices. ok jakemsr | |||
2008-11-16 | document that sio_revents() can return POLLHUP | Alexandre Ratchov | |
2008-11-16 | when the aucat backend is used, sio_revents(3) should return POLLHUP | Alexandre Ratchov | |
if the connection to the server is lost. | |||
2008-11-13 | fix rcs tag. | Jonathan Gray | |
From patrick keshishian <sidster@boxsoft.com> | |||
2008-11-13 | To allow for easier playing with more strict settings introduce | Otto Moerbeek | |
a separate symbolic constant for the leeway we allow when moving allocations towards the end of a page. No functional change. | |||
2008-11-12 | avoid a few strlen calls for constant strings; prompted by tg; ok djm@ | Otto Moerbeek | |
2008-11-11 | Compile crt0.o, crtbegin.o and crtend.o with -fpie/-fPIE. This requires | Kurt Miller | |
gcc with pie support to be built first. ok kettenis@ | |||
2008-11-11 | tweak previous; | Jason McIntyre | |
2008-11-11 | expose a volume knob in the sndio API: add sio_setvol(3) and | Alexandre Ratchov | |
sio_onvol(3) functions. The audio(4) backend tries to use the inputs.dac, outputs.dac, outputs.output and outputs.master controls (in this order). Add a sample file in regress/lib/libsndio/vol/vol.c | |||
2008-11-09 | typos; ok ratchov@ jmc@ | Christian Weisgerber | |
2008-11-09 | if the device is not started, make sio_pollfd() pass 0 events bitmap | Alexandre Ratchov | |
to the backend to avoid reporing the device as writable when it's stopped. Solves 100% CPU usage of apps poll()ing a stopped device. | |||
2008-11-09 | typo fixed (overriden -> overridden) | Tobias Stoeckmann | |
ok espie, jmc | |||
2008-11-09 | sio_revents() should return 0 poll events if the device isn't started | Alexandre Ratchov | |
2008-11-09 | tweak previous; | Jason McIntyre | |
2008-11-08 | Document the ddb.trigger sysctl. | Chris Kuethe | |
feedback and ok mpf@, deraadt@ | |||
2008-11-07 | expose the block size in the sndio API by making par->round writable | Alexandre Ratchov | |
and thus remove the ugly rate <-> block-size table from sio_setpar(3). Handle the block size negociation in aucat(1), since it has few constrains the code is overally simpler. ok jakemsr@, major crank suggested by deraadt@ | |||
2008-11-06 | if the freeprot flag (F) is set, do not do delayed frees for chunks | Otto Moerbeek | |
(might catch errors closer to the trouble spot) and junk fill pages just before reuse instead of immediate (we can't access the page anyway) since we set PROT_NONE in the F case. ok djm@ | |||
2008-11-02 | fix markup of example line and description of G flag; partly from and | Otto Moerbeek | |
ok jmc@ | |||
2008-11-02 | remove distinction between warnings and errors, ok deraadt@ djm@ | Otto Moerbeek | |
2008-10-31 | Pass a pointer to warn2 so the warn2 == IN_ALL would not be an | Todd C. Miller | |
always-false condition. From FreeBSD (delphij). | |||
2008-10-30 | only few (frequency, blocksize) pairs are compatible with both resampling | Alexandre Ratchov | |
and block based audio i/o (arithmetic constraints). For now round the frequency to a supported one, (ie 8kHz, 11.025kHz, 12kHz multiple), and get the the block size from a table. fixes problem reported by Robert <robert _at_ openbsd.pap.st> ok jakemsr | |||
2008-10-29 | if MALLOC_STATS is defined, record how many "cheap reallocs" were | Otto Moerbeek | |
tried and how many actually succeeded. | |||
2008-10-29 | document LIBSIO_DEBUG | Todd T. Fries | |
ok ratchov@ | |||
2008-10-28 | fix missing n in error message | Alexandre Ratchov | |
2008-10-28 | sio_initpar() is supposed to return void like the documentation | Jonathan Gray | |
says according to ratchov@. Make it so, and crank major. ok ratchov@ | |||
2008-10-27 | rename libsa to libsndio | Alexandre Ratchov | |
requested by many, "just go for it" deraadt@ | |||
2008-10-26 | add some audio/libsa cross refs; | Jason McIntyre | |
2008-10-26 | rename libsa.3 to sa_open.3 and create mlinks for all other functions | Alexandre Ratchov | |
requested by and help from jmc | |||
2008-10-26 | recored -> recorded | Marc Espie | |
2008-10-26 | add minimal server capability to aucat(1). When started in server | Alexandre Ratchov | |
mode, it listens on an unix socket and mixes/demultiplexes any number of full-duplex streams, doing necessary format conversions and resampling on the fly. programs can use the new libsa(3) library to play and record audio. The library provides a very simple API to connect to the audio server; if aucat(1) isn't running, it uses the audio(4) driver transparently instead. | |||
2008-10-24 | some SEE ALSO additions from Ingo Schwarze; | Jason McIntyre | |
2008-10-23 | Reword description of tm_zone and tm_gmtoff fields | Philip Guenthe | |
Prompted by millert@; ok millert@ jmc@ | |||
2008-10-22 | man page for Makefile.yp, and associated bits; from Ingo Schwarze | Jason McIntyre | |
ok deraadt | |||
2008-10-21 | build w/ USE_LOCALE. ok millert@ | Martynas Venckus | |
2008-10-21 | use decimal point from locale. ok millert@ | Martynas Venckus | |
2008-10-20 | oops, assign errno the right way. caught by david running regress tests | Otto Moerbeek | |
2008-10-19 | document fts_open error handling; from Tim van der Molen | Jason McIntyre | |
ok millert | |||
2008-10-19 | Document that strptime doesn't set the dst flag. | Todd C. Miller | |
Based on a diff from Mark Bucc. OK jmc@ | |||
2008-10-17 | adjust asm to be pic compatible. okay kettenis@ | Kurt Miller | |
2008-10-13 | use calloc() instead of malloc() and memset() | Kevin Lo | |
"look good" tedu@ | |||
2008-10-07 | - noieee_src: adapt complex versions of the functions it already | Martynas Venckus | |
supports (which is all, except the float ones) ok millert@ | |||
2008-10-06 | The recent change to bsd.own.mk to allow PICFLAG to be overridden made | Kurt Miller | |
these previously ignored PICFLAG settings become active. Remove PICFLAG overrides to restore -fpic/-fPIC modes. In snaps for a week. okay drahn@ | |||
2008-10-06 | update to tzcode2008g from elsie.nci.nih.gov | Todd C. Miller | |
2008-10-05 | Fix conversion of numbers without an exponent. | Mark Kettenis | |
ok martynas@ |