CVS: cvs.openbsd.org: src

2010-05-07 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/07 01:13:21 Modified files: usr.bin/aucat : dev.c Log message: Since aucat uses libsndio, play and rec clocks are the same, so use play and rec latencies counters to calculate the offset between pla

CVS: cvs.openbsd.org: src

2010-05-05 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/06 00:18:37 Modified files: usr.bin/aucat : midi.c Log message: allow volumes of uninitialized slots to be set

CVS: cvs.openbsd.org: src

2010-05-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/04 13:40:08 Modified files: usr.bin/aucat : aproc.c Log message: make the mixer process data as soon as it's pushed by one of its inputs, i.e. don't way that the output requests it.

CVS: cvs.openbsd.org: src

2010-05-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/04 13:35:20 Modified files: usr.bin/aucat : dev.c Log message: if the ``device'' is in loopback mode (ie no audio device), then disable overruns/underruns since aucat must pause when an input or an

CVS: cvs.openbsd.org: src

2010-05-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/02 05:54:27 Modified files: usr.bin/aucat : aucat.c dev.c dev.h headers.c midi.c opt.h siofile.c siofile.h sock.c wav.c Log message: Clean up device handling code to clarif

CVS: cvs.openbsd.org: src

2010-05-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/02 05:12:31 Modified files: usr.bin/aucat : aproc.c aproc.h aucat.c dev.c Log message: Don't systematically fill with silence the mixer output. This might result in extra samples being written to th

CVS: cvs.openbsd.org: src

2010-05-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/02 04:43:30 Modified files: usr.bin/aucat : file.c Log message: use clock_gettime() and interval timers instead of gettimeofday() and poll()'s timeout. Simpler and more accurate, from midish

CVS: cvs.openbsd.org: src

2010-05-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/05/02 04:40:48 Modified files: usr.bin/aucat : aproc.c Log message: in the resampling code, handle the case ``diff == 0'', to avoid producing the first sample of the next block in advance.

CVS: cvs.openbsd.org: src

2010-04-29 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/29 15:09:50 Modified files: lib/libsndio : sun.c Log message: in sun_start(), don't pause the device in play mode, since it's already paused (by either sio_open or sio_stop) from Alexandr Shadchin,

CVS: cvs.openbsd.org: src

2010-04-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/25 12:51:05 Modified files: lib/libsndio : sun.c Log message: If setting close-on-exec flag fails (can this happen?), the wrong descriptor is closed. Fix from Alexandr Shadchin, together with vario

CVS: cvs.openbsd.org: src

2010-04-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/25 12:29:48 Modified files: lib/libsndio : sun.c Log message: Fix the way sio_getcap() probes rates of audio(4) devices. >From Alexandr Shadchin Good catch!

CVS: cvs.openbsd.org: src

2010-04-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/25 12:25:07 Modified files: lib/libsndio : sun.c Log message: when probing for a encoding/channels/rate combination, ensure that play parameters are set only if playback is enabled, and record para

CVS: cvs.openbsd.org: src

2010-04-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/24 08:33:46 Modified files: usr.bin/aucat : aucat.c Log message: if there are no files to play in legacy mode, print the usage message

CVS: cvs.openbsd.org: src

2010-04-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/24 08:13:34 Modified files: lib/libsndio : sun.c Log message: when probing an encoding of a audio(4) device, don't forget to set record precision.

CVS: cvs.openbsd.org: src

2010-04-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/24 07:32:21 Modified files: usr.bin/aucat : aproc.c Log message: don't increment mixer's ``idle'' counter before truncating the amount of samples to commit to ``maxwrite''. Overwise uncommitted samp

CVS: cvs.openbsd.org: www

2010-04-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/04/24 01:53:01 Modified files: faq: current.html Log message: add new _sndio user for aucat(1) and midicat(1)

CVS: cvs.openbsd.org: src

2010-04-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/24 00:18:24 Modified files: usr.bin/aucat : aproc.c aproc.h aucat.c dev.c midi.c sock.c wav.c Log message: rename ibuflist/obuflist -> ins/outs to cut long lines from Thoma

CVS: cvs.openbsd.org: src

2010-04-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/24 00:15:54 Modified files: lib/libsndio : aucat.c mio.c mio_rmidi.c mio_thru.c sndio.c sun.c Log message: remove trailing spaces, from Alexandr Shadchin, thanks

CVS: cvs.openbsd.org: src

2010-04-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/23 00:29:36 Modified files: etc: rc rc.conf Log message: start ``aucat -l'' from /etc/rc, unless aucat_flags=NO, which is the default setting in rc.conf. ok deraadt

CVS: cvs.openbsd.org: src

2010-04-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/22 11:43:30 Modified files: etc: ftpusers group master.passwd etc/mail : aliases usr.bin/aucat : aucat.1 aucat.c midicat.1 sock.c lib/libsndio : aucat.c

CVS: cvs.openbsd.org: src

2010-04-20 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/21 00:15:02 Modified files: usr.bin/aucat : aucat.c Log message: when creating the ``default'' subdevice, use last parameters of the command line, instead of the device parameters.

CVS: cvs.openbsd.org: src

2010-04-20 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/21 00:13:07 Modified files: usr.bin/aucat : aproc.c aproc.h aucat.1 aucat.c dev.c dev.h opt.c opt.h sock.c wav.c wav.h Log message: adds the necessary bits to join channels

CVS: cvs.openbsd.org: src

2010-04-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/17 03:16:57 Modified files: usr.bin/aucat : aproc.c aproc.h dev.c Log message: Allow the mixer to handle inputs with channel ranges outside the device channel range. This makes the channel mapping c

CVS: cvs.openbsd.org: src

2010-04-11 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/11 10:53:55 Modified files: lib/libsndio : sun.c Log message: audio(4) doesn't require to be started explicitely, so the device is started immediately after it's opened in record only mode. Pause i

CVS: cvs.openbsd.org: src

2010-04-06 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/06 14:19:42 Modified files: usr.bin/aucat : amsg.h Log message: bump (private) protocol version number

CVS: cvs.openbsd.org: src

2010-04-06 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/06 14:07:01 Modified files: usr.bin/aucat : abuf.c abuf.h amsg.h aproc.c aproc.h aucat.1 aucat.c conf.h dev.c dev.h file.c headers.c legacy.c midi.c

CVS: cvs.openbsd.org: www

2010-04-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/04/04 03:08:19 Modified files: . : 47.html Log message: mention aucat(1) improvements

CVS: cvs.openbsd.org: src

2010-04-03 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/03 11:59:17 Modified files: usr.bin/aucat : abuf.c abuf.h amsg.h aproc.c aproc.h aucat.1 aucat.c conf.h dev.c dev.h file.c headers.c legacy.c midi.c

CVS: cvs.openbsd.org: src

2010-04-03 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/04/03 11:40:33 Modified files: usr.bin/aucat : abuf.c abuf.h amsg.h aproc.c aproc.h aucat.1 aucat.c conf.h dev.c dev.h file.c headers.c legacy.c midi.c

CVS: cvs.openbsd.org: www

2010-03-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/03/23 04:55:07 Modified files: papers : index.html Log message: links slides of sndio presentation of AsiaBSDCon 2010

CVS: cvs.openbsd.org: www

2010-03-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/03/23 04:52:51 Added files: papers : asiabsdcon2010_sndio_slides.pdf Log message: add slides of sndio presentation during AsiaBSDCon 2010

CVS: cvs.openbsd.org: www

2010-03-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/03/19 06:29:42 Modified files: . : events.html Log message: add sndio(7) presentation at AsiaBSDCon 2010

CVS: cvs.openbsd.org: www

2010-03-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/03/19 06:22:09 Added files: papers : asiabsdcon2010_sndio.pdf Log message: add AsiaBSDCon 2010 paper about sndio

CVS: cvs.openbsd.org: www

2010-03-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/03/19 06:23:42 Modified files: papers : index.html Log message: link AsiaBSDCon 2010 paper about sndio

CVS: cvs.openbsd.org: src

2010-03-07 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/03/07 12:06:20 Modified files: share/man/man4 : envy.4 Log message: remove statements that are no longer relevant for BUGS section

CVS: cvs.openbsd.org: src

2010-03-07 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/03/07 12:03:28 Modified files: share/man/man4 : envy.4 Log message: mention VIA Tremor 5.1

CVS: cvs.openbsd.org: src

2010-03-07 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/03/07 11:55:45 Modified files: sys/dev/pci: envy.c envyvar.h envyreg.h Log message: Don't stop DMA in envy_halt_intput() and/or envy_halt_output(). Instead wait for the next interrupt and stop DMA i

CVS: cvs.openbsd.org: src

2010-02-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/02/25 14:25:03 Modified files: sys/dev/pci: envy.c Log message: Fix up some of the comments to use the correct capitilization for names. from brad, thanks!

CVS: cvs.openbsd.org: src

2010-02-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/02/25 14:22:42 Modified files: sys/dev/ic : ac97.c Log message: Add VT1617 codec ID used in VIA Tremor 5.1 cards, from Alexandr Shadchin , thanks!

CVS: cvs.openbsd.org: src

2010-02-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/02/25 14:19:37 Modified files: sys/dev/pci: envy.c envyreg.h envyvar.h Log message: Remove trailing spaces, from Alexandr Shadchin , thanks!

CVS: cvs.openbsd.org: src

2010-02-20 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/02/20 09:45:28 Modified files: sys/dev/pci: envy.c envyreg.h envyvar.h files.pci Log message: Add necessary bits to support AC97 codecs in envy and add support for the VIA Tremor 5.1 card. >From Al

CVS: cvs.openbsd.org: src

2010-02-13 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/02/13 06:45:29 Modified files: usr.bin/midiplay: Makefile midiplay.1 midiplay.c Log message: convert midiplay to sndio(7) so it can be used with soft synths, for instance. Now, the -f option sets the MI

CVS: cvs.openbsd.org: src

2010-02-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/02/10 16:03:53 Modified files: lib/libsndio : sun.c Log message: Fix sio_getcap() for audio(4) devices exposing encodings with precision other than 8, 16 or 32 bits. Found by Jan Stary , thanks!

CVS: cvs.openbsd.org: src

2010-01-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/17 12:17:23 Modified files: usr.bin/aucat : aproc.c Log message: While resampling, if input samples are available but output is blocked don't start processing input. Similarly don't produce output i

CVS: cvs.openbsd.org: src

2010-01-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/17 09:09:30 Modified files: usr.bin/aucat : aproc.c Log message: fix quality degradation when resampling

CVS: cvs.openbsd.org: www

2010-01-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2010/01/16 16:47:46 Modified files: faq: faq13.html Log message: Fix the suggested command to start aucat to a command that actually works. >From Laurent Ghigonis , Thanks!

CVS: cvs.openbsd.org: src

2010-01-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/16 16:21:56 Modified files: usr.bin/aucat : midi.c Log message: don't transmit MIDI active sensing messages, because they cannot be merged.

CVS: cvs.openbsd.org: src

2010-01-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/16 16:18:31 Modified files: usr.bin/aucat : dev.c midi.c Log message: when closing the device, delete its MIDI end, if it has no writers.

Re: CVS: cvs.openbsd.org: src

2010-01-15 Thread Alexandre Ratchov
On Fri, Jan 15, 2010 at 03:17:44PM -0700, Alexandre Ratchov wrote: > CVSROOT: /cvs > Module name: src > Changes by: ratc...@cvs.openbsd.org 2010/01/15 15:17:44 > > Modified files: > usr.bin/aucat : sock.c sock.h > > Log message: Sorry, I lost the log mes

CVS: cvs.openbsd.org: src

2010-01-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/15 15:28:23 Modified files: lib/libsndio : aucat.c Log message: Keep in memory whether the socket is writable. This way sio_revents() can return POLLOUT (if requested), even the handle was not writ

CVS: cvs.openbsd.org: src

2010-01-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/15 15:17:10 Modified files: usr.bin/aucat : aproc.c Log message: Fix resampling algorithm to always produce integer block sizes.

CVS: cvs.openbsd.org: src

2010-01-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/15 15:17:44 Modified files: usr.bin/aucat : sock.c sock.h Log message:

CVS: cvs.openbsd.org: src

2010-01-14 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/14 11:15:27 Modified files: sys/dev/pci: auich.c Log message: SiS devices seem unable to reset dma block index to zero, causing dma to start at the wrong place. Workaround this limitation by star

CVS: cvs.openbsd.org: src

2010-01-14 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/14 10:57:47 Modified files: usr.bin/aucat : aproc.c Log message: Use a more accurate algorithm to calculate clock tick duration when resampling is involved. Removes single sample jitter, which could

CVS: cvs.openbsd.org: src

2010-01-14 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/14 10:43:55 Modified files: usr.bin/aucat : aucat.c wav.c Log message: Use -C option to specify recorded channel range instead of -c which is for played channels. spotted by Jan Stary , thanks

CVS: cvs.openbsd.org: src

2010-01-13 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/13 03:02:52 Modified files: usr.bin/aucat : Makefile dev.c Added files: usr.bin/aucat : siofile.c siofile.h Removed files: usr.bin/aucat : safile.c safile.h Log message: Rename s

CVS: cvs.openbsd.org: src

2010-01-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/12 14:42:59 Modified files: usr.bin/aucat : aproc.c safile.c Log message: check for bogus clock ticks sent by the device; helps tracking bugs in device drivers.

CVS: cvs.openbsd.org: src

2010-01-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/12 14:39:39 Modified files: usr.bin/aucat : dev.c Log message: When attaching a new stream, if the "extra" latency is zero, then don't trigger a zero-length clock tick. Fixes duplicate start ticks s

CVS: cvs.openbsd.org: src

2010-01-11 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/11 06:06:32 Modified files: usr.bin/aucat : abuf.c aproc.c aproc.h aucat.c dev.c dev.h safile.c sock.c Log message: When resuming from suspend, prime play buffers with sile

CVS: cvs.openbsd.org: src

2010-01-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/10 14:47:41 Modified files: usr.bin/aucat : Makefile abuf.c aparams.c aproc.c aucat.c conf.h dev.c file.c headers.c midi.c miofile.c opt.c pipe.c sa

CVS: cvs.openbsd.org: src

2010-01-05 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2010/01/05 03:18:12 Modified files: usr.bin/aucat : aproc.c aproc.h aucat.c dev.c dev.h sock.c wav.c wav.h Log message: Make the way .wav files are handled closer to the way socket

CVS: cvs.openbsd.org: src

2009-12-30 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/12/30 01:27:12 Modified files: lib/libsndio : sio_open.3 Log message: explain what sio_close() drains play buffers as if sio_close() was called. Since sio_onmove() callback doesn't return negative del

CVS: cvs.openbsd.org: src

2009-12-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/12/12 08:15:34 Modified files: usr.bin/aucat : headers.c Log message: when parsing .wav headers, check if rate <= RATE_MAX (instead of rate < RATE_MAX). Similarly check if bits <= 32 (instead of bits <

CVS: cvs.openbsd.org: src

2009-12-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/12/04 01:17:39 Modified files: sys/dev/usb: uaudio.c Log message: In uaudio_detach(), check that sc->sc_alts is not NULL before using it. This could happen if uaudio_attach() failed, for instance b

CVS: cvs.openbsd.org: src

2009-12-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/12/02 01:19:11 Modified files: lib/libsndio : sun.c Log message: we don't expose overruns/underruns as negative positions anymore, don't call the sio_onmove() call-back with negative argument.

CVS: cvs.openbsd.org: src

2009-12-01 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/12/01 14:27:13 Modified files: share/man/man4 : envy.4 Log message: add ``M-Audio Revolution 5.1'' in the list of supported cards

CVS: cvs.openbsd.org: src

2009-11-29 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/11/29 12:51:21 Modified files: sys/dev/ic : opl.c Log message: unbreak compilation on sparc64 with AUDIO_DEBUG defined

CVS: cvs.openbsd.org: src

2009-11-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/11/21 07:21:08 Modified files: usr.bin/aucat : aucat.c Log message: use strtonum(3) and strtol(3) instead of sscanf(3) suggested by deraadt@

CVS: cvs.openbsd.org: src

2009-11-03 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/11/03 14:31:37 Modified files: usr.bin/aucat : aproc.c aproc.h aucat.1 aucat.c conf.h dev.c dev.h midi.c midi.h opt.c opt.h sock.c Log message: Allow any program using aucat t

CVS: cvs.openbsd.org: src

2009-11-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/11/02 23:41:19 Modified files: lib/libsndio : sun.c Log message: in block size calculations, use SIO_BPS(precision) instead of precision / 8. Fixes sio_setpar() requesting smaller block sizes on 24-bi

CVS: cvs.openbsd.org: src

2009-11-01 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/11/01 22:54:16 Modified files: sys/dev/pci: envy.c envyreg.h Log message: Add support for ``M-Audio Revolution 5.1'' cards, based on envy24HT. >From Alexandr Shadchin Thanks!

CVS: cvs.openbsd.org: src

2009-10-27 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/27 16:41:03 Modified files: usr.bin/aucat : aproc.h midi.c midi.h sock.c Log message: slightly cleanup the socket and control bits: - reject bogus clients ignoring flow control during the start phas

CVS: cvs.openbsd.org: src

2009-10-27 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/27 16:24:27 Modified files: usr.bin/aucat : dev.c Log message: set the THRU_AUTOQUIT flag only for ``thru'' devices

CVS: cvs.openbsd.org: src

2009-10-27 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/27 16:21:37 Modified files: usr.bin/aucat : aucat.c Log message: add missing word in error message

CVS: cvs.openbsd.org: src

2009-10-26 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/26 13:06:28 Modified files: lib/libsndio : aucat.c Log message: reader state cannot be IDLE, terminate the stream if so rather entering a busy loop

CVS: cvs.openbsd.org: src

2009-10-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/24 03:35:16 Modified files: lib/libsndio : aucat.c Log message: Flow control blocks the client in sio_write(3). Split the data stream in a way that the pause never occurs in the middle of data chun

CVS: cvs.openbsd.org: src

2009-10-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/24 03:13:35 Modified files: sys/dev/pci: envy.c share/man/man4 : envy.4 Log message: add the subvendor ID of ``M-Audio Audiophile 2496'' and add it to the list of supported cards

CVS: cvs.openbsd.org: src

2009-10-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/22 16:26:49 Modified files: lib/libsndio : mio_thru.c Log message: set protocol version number for midi too. Fixes aucat refusing control connections.

Re: CVS: cvs.openbsd.org: src

2009-10-22 Thread Alexandre Ratchov
On Thu, Oct 22, 2009 at 03:41:30PM -0600, Alexandre Ratchov wrote: > CVSROOT: /cvs > Module name: src > Changes by: ratc...@cvs.openbsd.org 2009/10/22 15:41:30 > > Modified files: > usr.bin/aucat : amsg.h sock.c > lib/libsndio : aucat.c > > L

CVS: cvs.openbsd.org: src

2009-10-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/22 15:41:30 Modified files: usr.bin/aucat : amsg.h sock.c lib/libsndio : aucat.c Log message: When starting playback, the client tries to write ``bufsz'' frames instead of ``appbufsz'', w

CVS: cvs.openbsd.org: src

2009-10-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/22 15:14:10 Modified files: usr.bin/aucat : midicat.1 Log message: use .Ux in midicat.1, as we do for aucat.1 now

CVS: cvs.openbsd.org: www

2009-10-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2009/10/22 00:12:01 Modified files: faq: faq13.html Log message: typo: s/precess/process/ from ajacoutot and remco _at d-compu.dyndns.org

CVS: cvs.openbsd.org: www

2009-10-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2009/10/22 00:10:35 Modified files: faq: index.html Log message: add ``audio server'' section in the table of contents and and reference the new section in the ``recent changes'' list. ok nick,

CVS: cvs.openbsd.org: www

2009-10-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2009/10/21 10:47:43 Modified files: faq: faq13.html Log message: add a new section about how to setup audio server ok nick@

CVS: cvs.openbsd.org: src

2009-10-20 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/20 23:43:41 Modified files: usr.bin/aucat : sock.c Log message: when freeing buffers (i.e. when sio_stop() is called on client side), clear the ``tickpending'' flag to avoid sending ticks correspond

CVS: cvs.openbsd.org: src

2009-10-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/17 04:55:43 Modified files: usr.bin/aucat : amsg.h lib/libsndio : aucat.c Log message: Add version number to aucat protocol. It's not used yet, but later, it will permit aucat to reject c

CVS: cvs.openbsd.org: src

2009-10-11 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/11 06:59:29 Modified files: sys/dev/pci: envy.c envyreg.h Log message: At initialization of HT chips, write configuration on the corresponding control registers rather than on the PCI configurati

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 07:55:37 Modified files: usr.bin/aucat : aucat.c dev.h sock.c Log message: don't use a references to the device file to check the current mode

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 06:43:09 Modified files: usr.bin/aucat : aproc.h aucat.c dev.c midi.c Log message: make dev_done() common to audio and MIDI, and drop dev_thrudone()

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 05:58:41 Modified files: usr.bin/aucat : aucat.c dev.c Log message: use dev_done() for loopback devices too and remove dev_loopdone()

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 05:27:39 Modified files: lib/libsndio : sun.c Log message: when setting parameters of sun devices, check that selected encoding is actually linear

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 05:19:55 Modified files: lib/libsndio : sun.c Log message: at initialization of sun devices, use sio_setpar(3) instead of AUDIO_SETINFO() to set the initial parameters, since AUDIO_SETINFO() can

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 03:54:06 Modified files: usr.bin/aucat : aproc.c dev.c Log message: We don't need independent file reader and writer anymore. So, destroy reader when writer terminates and destroy writer when rea

CVS: cvs.openbsd.org: src

2009-10-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/10 02:34:12 Modified files: lib/libsndio : sun.c Log message: since AUDIO_INITINFO() may set parameters to whatever is supported by the device, we may end up with different recording and playback p

CVS: cvs.openbsd.org: src

2009-10-09 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/09 10:49:48 Modified files: usr.bin/aucat : abuf.c abuf.h aproc.c dev.c dev.h midi.c Log message: Make abuf structure smaller: - put aproc-specific parameters into unions since they are never used t

CVS: cvs.openbsd.org: src

2009-10-06 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/06 12:06:55 Modified files: usr.bin/aucat : aproc.c aproc.h Log message: prevent aproc structures to be deleted twice. Doesn't change anything for now but will be used in future code.

CVS: cvs.openbsd.org: src

2009-10-05 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/10/05 01:05:24 Modified files: usr.bin/aucat : aucat.1 aucat.c midicat.1 sock.c Log message: add -d flag. When started in server mode, if the -d flag is used aucat and midicat don't daemonize and log o

CVS: cvs.openbsd.org: src

2009-09-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/09/19 10:30:10 Modified files: usr.bin/aucat : safile.c Log message: if the device is dying, don't try to stop it, otherwise this would trigger the code to free() it, which will try to stop it, and so

CVS: cvs.openbsd.org: src

2009-09-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/09/19 09:56:04 Modified files: usr.bin/aucat : safile.c Log message: tag the device as stopped even if sio_stop() failed (ie. device is disconnected). This way, when it's ``file'' structure is free()'d

CVS: cvs.openbsd.org: src

2009-08-29 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2009/08/29 08:46:44 Modified files: usr.bin/aucat : midi.c Log message: accept ``common'' messages (including system explusive) on the control MIDI port.

<    5   6   7   8   9   10   11   12   13   >