CVS: cvs.openbsd.org: src

2015-11-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/23 05:01:04 Modified files: usr.bin/sndiod : sndiod.c Log message: Save and restore umask when creating /tmp/aucat/ to ensure the directory gets the right permissions, as we do in other places.

CVS: cvs.openbsd.org: src

2015-11-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/23 03:02:42 Modified files: usr.bin/sndiod : dev.c Log message: use device numbers stored in the dev structure rather than assuming dev_list is ordered

CVS: cvs.openbsd.org: src

2015-11-23 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/23 02:48:25 Modified files: usr.bin/sndiod : midi.c Log message: Insert new ports at the head of the list and stop assuming its ordered.

CVS: cvs.openbsd.org: src

2015-11-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/22 09:52:06 Modified files: usr.bin/sndiod : sndiod.1 sndiod.c Log message: Disallow multiple -L options and remove the constraint -U to be used before -L. No behaviour change as -L is still disabled

CVS: cvs.openbsd.org: src

2015-11-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/22 09:42:22 Modified files: usr.bin/sndiod : midi.c midi.h Log message: save port number if port structure

CVS: cvs.openbsd.org: src

2015-11-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/22 05:10:26 Modified files: lib/libsndio : sio_sun.c Log message: remove unneeded prototypes

CVS: cvs.openbsd.org: src

2015-11-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/22 05:01:23 Modified files: lib/libsndio : aucat.c aucat.h mio.c mio_aucat.c mio_priv.h mio_rmidi.c sio.c sio_aucat.c sio_sun.c Log message: Don't remove the type componen

CVS: cvs.openbsd.org: src

2015-11-18 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/18 02:35:59 Modified files: lib/libsndio : sio_sun.c Log message: Split function to initialize the raw device in two parts, one to open the device node, the other to do the initialization. This wil

CVS: cvs.openbsd.org: src

2015-11-18 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/18 01:36:20 Modified files: usr.bin/sndiod : listen.c sndiod.c Log message: disable networking (i.e. -L option) until privilege separation is implemented

CVS: cvs.openbsd.org: src

2015-11-18 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/18 01:30:08 Modified files: usr.bin/sndiod : sndiod.1 Log message: say that network communication is not secure

CVS: cvs.openbsd.org: src

2015-11-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/11/17 09:07:42 Modified files: lib/libsndio : sio_sun.c Log message: don't call AUDIO_SETFD ioctl as it's a no-op

CVS: cvs.openbsd.org: src

2015-10-05 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/05 01:18:03 Modified files: lib/libsndio : aucat.c Log message: Fix missing checks for truncation of long file names. Rather than checking for truncation every time we touch the string, simply allo

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 06:21:59 Modified files: usr.bin/sndiod : sndiod.c Log message: Replace %s in the format string, with its value (macro).

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:51:54 Modified files: lib/libsndio : aucat.c Log message: use macros for cookie path and temp file template instead of hardcoded strings. no object change.

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:48:22 Modified files: lib/libsndio : debug.c debug.h mio_rmidi.c sio_sun.c Log message: Validate that midi and audio device numbers are integers.

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:45:26 Modified files: lib/libsndio : mio_rmidi.c sio_sun.c Log message: As device path is known, use its size instead of PATH_MAX

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:40:58 Modified files: lib/libsndio : mio_rmidi.c sio_sun.c Log message: Use macros for audio and midi device paths rather than hardcoded strings. No object change.

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:36:24 Modified files: usr.bin/sndiod : sndiod.c lib/libsndio : amsg.h aucat.c Log message: As the socket path is known, use its size rather that PATH_MAX.

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:30:04 Modified files: lib/libsndio : mio_rmidi.c Log message: fix typo in debug message

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:21:46 Modified files: usr.bin/sndiod : sndiod.c lib/libsndio : amsg.h aucat.c Log message: use macros instead of hard-coded strings for unix sockets paths

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:07:09 Modified files: lib/libsndio : debug.h Log message: fix spacing

CVS: cvs.openbsd.org: src

2015-10-02 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/02 03:04:36 Modified files: lib/libsndio : amsg.h Log message: remove unused DEFAULT_OPT macro

Re: CVS: cvs.openbsd.org: src

2015-09-30 Thread Alexandre Ratchov
On Thu, Oct 01, 2015 at 12:38:19AM -0600, Alexandre Ratchov wrote: > CVSROOT: /cvs > Module name: src > Changes by: ratc...@cvs.openbsd.org 2015/10/01 00:38:19 > > Modified files: > lib/libsndio : aucat.c sndio.7 > > Log message: > Remove support for t

CVS: cvs.openbsd.org: src

2015-09-30 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/10/01 00:38:19 Modified files: lib/libsndio : aucat.c sndio.7 Log message: Remove support for the AUCAT_COOKIE environment variable.

CVS: cvs.openbsd.org: src

2015-09-05 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/09/05 05:39:29 Modified files: usr.bin/sndiod : sndiod.1 Log message: In the last commit, the man-page change was committed by mistake, backit out.

CVS: cvs.openbsd.org: src

2015-09-05 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/09/05 05:19:20 Modified files: usr.bin/sndiod : dev.c sndiod.1 Log message: typos in comments: xfree -> free

CVS: cvs.openbsd.org: src

2015-09-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/09/04 10:02:19 Modified files: sys/dev: audio.c Log message: Fix condition used while seaching candidates for "record level" control for wskbd. This may fix "record level" keys on certain keyboa

CVS: cvs.openbsd.org: src

2015-08-30 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/30 02:52:26 Modified files: sys/dev/pci: envy.c envyvar.h Log message: Add the number of midi ports to the card description, and use it to prevent cards with no midi connectors from attaching mid

CVS: cvs.openbsd.org: src

2015-08-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/28 10:21:41 Modified files: sys/dev/pci: envy.c Log message: Set the midi_isopen flag to zero before the chip is reset, as the flag is used to determine the interrupt mask. Currently this doesn't

CVS: cvs.openbsd.org: src

2015-08-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/28 10:15:39 Modified files: sys/dev/pci: envy.c Log message: remove forgotten debug printf in envy_midi_close

CVS: cvs.openbsd.org: src

2015-08-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/28 09:50:18 Modified files: sys/dev/pci: envy.c envyvar.h Log message: Disable interrupts while the midi uart is not in use. Avoids generating unused interrupts when a chatty peripheral is connec

CVS: cvs.openbsd.org: src

2015-08-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/28 07:51:22 Modified files: sys/dev/pci: envy.c Log message: Fix support of M-Audio Delta 44 cards that use different GPIO pins, than other Delta cards.

CVS: cvs.openbsd.org: src

2015-08-27 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/27 01:38:38 Modified files: usr.bin/sndiod : file.c Log message: backout previous for now, as it causes me portability problems

CVS: cvs.openbsd.org: src

2015-08-27 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/27 01:25:27 Modified files: usr.bin/aucat : afile.c Log message: Allow sparse blocks to be used as silence if samples are encoded as signed integers.

CVS: cvs.openbsd.org: src

2015-08-27 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/27 01:25:56 Modified files: usr.bin/aucat : aucat.c Log message: fix typos in comments and error messages

CVS: cvs.openbsd.org: src

2015-08-11 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/11 15:10:59 Modified files: sys/dev/pci: emuxki.c Log message: Don't inline long functions as this tends to increase object size with no benefit. ok millert, "correct" deraadt

CVS: cvs.openbsd.org: src

2015-08-11 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/11 10:49:50 Modified files: usr.bin/sndiod : file.c Log message: Use INTIM instead of -1 as poll(2) time-out argument. Suggested by deraadt.

CVS: cvs.openbsd.org: src

2015-08-11 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/11 10:43:04 Modified files: usr.bin/sndiod : file.c Log message: Don't call poll(2) with few millisecond time-out argument when -1 could be used. Avoids syscalls when the daemon is not being used. R

CVS: cvs.openbsd.org: src

2015-08-01 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/01 04:47:30 Modified files: usr.bin/sndiod : file.c file.h Log message: Move processing of polled files in its own function, and call it twice: once for files that need immediate handling, and once f

CVS: cvs.openbsd.org: src

2015-08-01 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/08/01 04:30:52 Modified files: lib/libsndio : sndio.7 Log message: Use "Ev" macro for AUCAT_COOKIE environment variable. From Michael Reed . Thanks.

CVS: cvs.openbsd.org: src

2015-07-29 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/29 15:13:32 Modified files: sys/dev: audio.c Log message: Fix spacing and be more verbose in printfs under #ifdef AUDIO_DEBUG. No binary change.

CVS: cvs.openbsd.org: src

2015-07-29 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/29 15:10:50 Modified files: sys/dev/pci: envy.c envyvar.h Log message: Use DMA pointer determine the number of times the audio(4) layer has to advance in time. This is needed to properly recover,

CVS: cvs.openbsd.org: src

2015-07-29 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/29 02:06:29 Modified files: sys/dev/pci: azalia.c Log message: Rework buffer position reporting code. - use simpler data structures (makes the code shorter). - if multiple interrupts are missed

CVS: cvs.openbsd.org: src

2015-07-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/28 15:04:28 Modified files: sys/dev: audio.c Log message: add missing space, from Donovan Watteau thanks!

CVS: cvs.openbsd.org: src

2015-07-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/28 14:57:35 Modified files: sys/dev: audio.c Log message: In case the system misses enough audio interrupts for DMA pointers to wrap, recover by detecting and compensating for the missed inte

CVS: cvs.openbsd.org: src

2015-07-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/28 14:51:10 Modified files: usr.bin/audioctl: audioctl.c Log message: Use new AUDIO_GETPOS ioctl() to ensure "bytes" and "errors" counters are consistent.

CVS: cvs.openbsd.org: src

2015-07-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/28 14:48:49 Modified files: lib/libsndio : sio_sun.c Log message: Use new AUDIO_GETPOS ioctl instead of AUDIO_GETxOFFS and AUDIO_xERROR. It returns a snapshot of the counters we need and avoids inc

CVS: cvs.openbsd.org: src

2015-07-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/28 14:45:02 Modified files: sys/sys: audioio.h sys/dev: audio.c share/man/man4 : audio.4 Log message: Add the AUDIO_GETPOS ioctl() to fetch a snapshot of the 4 count

CVS: cvs.openbsd.org: src

2015-07-26 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/27 00:10:22 Modified files: share/man/man4 : audio.4 Log message: Remove sections that describe features we don't support any longer.

CVS: cvs.openbsd.org: src

2015-07-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/24 02:56:45 Modified files: sys/dev: audio.c Log message: Switch back into counting bytes rather than blocks. We can't just multiply the block count by the block size to get the bytes count b

CVS: cvs.openbsd.org: src

2015-07-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/24 02:50:29 Modified files: lib/libsndio : sio_sun.c Log message: Fix arithmetic mistake causing errors when there are more xruns on the record side than on the play side. This almost never happens

CVS: cvs.openbsd.org: src

2015-07-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/24 02:43:58 Modified files: usr.bin/sndiod : siofile.c Log message: Log when device is disconnected.

CVS: cvs.openbsd.org: src

2015-07-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/24 02:46:35 Modified files: usr.bin/sndiod : siofile.c Log message: Crank watchdog timeout from 2 to 4 seconds.

CVS: cvs.openbsd.org: src

2015-07-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/24 02:43:04 Modified files: usr.bin/sndiod : siofile.c Log message: Clear watchdog timer when device is closed, fixes use-after-free in error code-paths when device is closed before audio is stopped.

CVS: cvs.openbsd.org: src

2015-07-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/22 13:06:28 Modified files: sys/dev: audio.c Log message: Represent the current stream position in blocks rather than bytes just because it's simpler this way. No behaviour change.

CVS: cvs.openbsd.org: src

2015-07-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/17 04:15:24 Modified files: usr.bin/sndiod : file.c file.h Log message: Use an offsets in the array of pollfd structures instead of pointers. No behaviour change.

CVS: cvs.openbsd.org: src

2015-07-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/17 03:51:18 Modified files: usr.bin/sndiod : file.c file.h Log message: rename nfds to max_nfds, no object change

CVS: cvs.openbsd.org: src

2015-07-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/17 03:43:28 Modified files: usr.bin/sndiod : file.c Log message: Move non-debug varibles outside #ifdef DEBUG block

CVS: cvs.openbsd.org: src

2015-07-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/17 03:37:07 Modified files: usr.bin/sndiod : file.c Log message: Simplify debug info: log poll descriptors on a single line, record timestamps only when they are needed.

CVS: cvs.openbsd.org: src

2015-07-17 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/07/17 02:14:48 Modified files: usr.bin/sndiod : file.c Log message: Stop using interval timers (not inherited by fork(2), obsolete in newer posix releases), use the poll(2) timeout parameter instead. Fi

CVS: cvs.openbsd.org: src

2015-06-25 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/06/25 14:05:11 Modified files: sys/dev/isa: gus.c gusvar.h Log message: Cards with revision < 10 (qemu rev is 0), have no ad1848 chip and don't attach the ad1848 driver. But the "malloc" method of g

CVS: cvs.openbsd.org: src

2015-06-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/06/25 00:43:46 Modified files: sys/arch/luna88k/cbus: nec86hw.c sys/dev: audio.c audio_if.h mulaw.c mulaw.h sys/dev/isa: ad1848.c ess.c sbdsp.c sys/dev/pci: envy

CVS: cvs.openbsd.org: src

2015-06-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/06/10 14:14:02 Modified files: sys/dev/pci: autri.c Log message: Don't claim the autri(4) driver supports big-ending, signed 8-bit, or unsigned 16-bit samples. Fixes sound on big endian machines.

CVS: cvs.openbsd.org: src

2015-06-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/06/10 14:02:42 Modified files: sys/dev/pci: autri.c Log message: Use first 4 channels of the board. The previous channel setting caused DMA on the wrong memory location during recording. ok ketteni

CVS: cvs.openbsd.org: src

2015-05-26 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/26 12:17:12 Modified files: usr.bin/audioctl: audioctl.c Log message: Exposes number of bytes processed by the sound card (as returned by AUDIO_GET{I,O}OFFS) instead of the number of bytes processed

CVS: cvs.openbsd.org: src

2015-05-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/16 13:27:53 Modified files: usr.bin/aucat : aucat.c Log message: Call slot_stop() after the play buffer is drained to properly cleanup the slot. Fixes periodic glitches occurring after eof is reache

CVS: cvs.openbsd.org: src

2015-05-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/16 06:51:24 Modified files: usr.bin/audioctl: audioctl.c Log message: Display simply "play" when play mode is set (furthermore, "playsync", aka PLAY_ALL mode is not used anymore)

CVS: cvs.openbsd.org: src

2015-05-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/16 06:48:50 Modified files: usr.bin/audioctl: audioctl.c Log message: remove reference to encodings the kernel doesn't expose anymore

CVS: cvs.openbsd.org: src

2015-05-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/16 04:04:20 Modified files: sys/dev: midi_if.h Log message: hide private midi_softc strucure

CVS: cvs.openbsd.org: src

2015-05-16 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/16 03:56:10 Modified files: sys/dev: midi.c midivar.h Log message: Use device_lookup() instead of digging into midi_cd.cd_devs[] and maintaining a "dying" flag which is already present in the

CVS: cvs.openbsd.org: src

2015-05-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/12 12:39:30 Modified files: sys/dev: midi.c midivar.h Log message: remove the sc->isopen flag, as sc->flags already hold the same information.

CVS: cvs.openbsd.org: src

2015-05-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/12 12:32:49 Modified files: sys/dev: midi.c Log message: store byte count in a size_t and switch from uiomovei() to uiomove()

CVS: cvs.openbsd.org: src

2015-05-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/12 12:23:38 Modified files: sys/dev: midi.c midi_if.h Log message: Remove unused code & definitions: midi_attach(), midi_unit_count(), midi_getinfo(), midi_writebytes(). They were "used" by t

CVS: cvs.openbsd.org: src

2015-05-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/12 12:05:43 Modified files: sys/dev: midi.c Log message: Don't hold the audio mutex when calling uiomove(), as uiomove() may sleep in case of a page fault

CVS: cvs.openbsd.org: src

2015-05-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/12 10:35:24 Modified files: sys/dev/isa: gus_isa.c gus_isapnp.c sb_isa.c sb_isapnp.c Log message: Remove references to (deleted) auconv.h and mulaw.h files. Fixes i386 build. Found by Mark Patruc

CVS: cvs.openbsd.org: src

2015-05-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/11 00:52:36 Modified files: sys/dev/sbus : cs4231.c sys/dev/isa: ad1848.c sys/arch/sparc64/dev: ce4231.c sys/arch/sparc/dev: cs4231.c Log message: Remove support for

CVS: cvs.openbsd.org: src

2015-05-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/11 00:46:22 Modified files: sys/arch/hppa/conf: files.hppa sys/arch/hppa/gsc: harmony.c sys/arch/luna88k/cbus: nec86hw.c sys/arch/luna88k/conf: files.luna88k sys/arc

CVS: cvs.openbsd.org: src

2015-05-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/05/04 06:51:13 Modified files: usr.bin/aucat : dsp.c Log message: Fix clipping bug in float to fixed point conversion, causing audible glitches when samples smaller than the quantification step are con

CVS: cvs.openbsd.org: src

2015-04-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/04/22 14:29:56 Removed files: sys/compat/ossaudio: files.ossaudio ossaudio.c ossaudio.h ossaudiovar.h Log message: Remove forgotten empty files, from miod, thanks

CVS: cvs.openbsd.org: src

2015-04-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/04/19 02:58:02 Modified files: share/man/man8 : compat_linux.8 Log message: Remove reference to oss audio emulation, from Scarlett . Thanks!

CVS: cvs.openbsd.org: src

2015-04-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/04/19 02:42:19 Modified files: lib/libossaudio: ossaudio.c Log message: Make SNDCLT_DSP_* ioctls return ENOTTY, and remove the corresponding code. No ABI change. ok armani@, guenther@, sthen@

CVS: cvs.openbsd.org: src

2015-04-19 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/04/19 02:37:32 Modified files: sys/arch/i386/conf: files.i386 sys/compat/linux: linux_ioctl.c linux_ioctl.h sys/compat/ossaudio: files.ossaudio ossaudio.c ossaudio.h

CVS: cvs.openbsd.org: www

2015-02-24 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:www Changes by: ratc...@cvs.openbsd.org 2015/02/24 02:26:04 Modified files: faq: faq13.html Log message: aucat -M option was removed, suggest using shell file redirections instead. Mention that softsynths could be used as midi output,

CVS: cvs.openbsd.org: src

2015-02-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/02/15 23:35:17 Modified files: usr.bin/sndiod : sock.c Log message: Check if slot is NULL, and if so, drop the connection. For now slot is never NULL, but this is an accident.

CVS: cvs.openbsd.org: src

2015-02-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/02/15 23:28:05 Modified files: usr.bin/sndiod : dev.h siofile.c Log message: add missing protos, fix spacing

CVS: cvs.openbsd.org: src

2015-02-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/02/15 23:26:24 Modified files: usr.bin/sndiod : file.c Log message: Allow files to be skipped in the poll(2) event loop, in case there are events already available (for immediate processing)

CVS: cvs.openbsd.org: src

2015-02-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/02/15 23:11:33 Modified files: usr.bin/sndiod : abuf.c Log message: Use signed integers as offset in the buffer (as aucat does) to avoid other signed integer being accidently promoted to unsigned in fut

CVS: cvs.openbsd.org: src

2015-02-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/02/15 23:07:56 Modified files: lib/libsndio : mio_rmidi.c Log message: Drop yet another hook for ':' char in midi device names.

CVS: cvs.openbsd.org: src

2015-02-15 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/02/15 23:04:06 Modified files: lib/libsndio : sio_sun.c Log message: Remove backward compat bits to support for ':' character in sndio device names. Remove wrong comments.

CVS: cvs.openbsd.org: src

2015-01-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/01/21 01:43:55 Modified files: usr.bin/aucat : Makefile abuf.c abuf.h aucat.1 aucat.c sysex.h Added files: usr.bin/aucat : afile.c afile.h defs.h dsp.c dsp.h utils.c u

CVS: cvs.openbsd.org: src

2015-01-20 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2015/01/20 02:46:31 Modified files: sys/dev/pci: azalia.c Log message: Check for out-of-range indices when searching the default dac and adc. Fix from Alexey Suslikov . Thanks! tested by many, ok armani

CVS: cvs.openbsd.org: src

2014-11-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/11/21 02:07:17 Modified files: lib/libsndio : sio_sun.c Log message: Initialize the xrun attribute to SIO_IGNORE in sio_sun_getpar(). Found by stu@, thanks!

CVS: cvs.openbsd.org: src

2014-11-21 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/11/21 02:05:38 Modified files: usr.bin/sndiod : sock.c Log message: Don't forget to transmit the xrun attribute in GETPAR messages. Found by stu@, thanks.

CVS: cvs.openbsd.org: src

2014-10-12 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/10/12 15:52:27 Modified files: usr.bin/sndiod : dsp.c dsp.h Log message: Don't assume that right-shift sign-extends integers.

CVS: cvs.openbsd.org: src

2014-10-08 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/10/08 10:44:47 Modified files: usr.bin/sndiod : siofile.c Log message: check audio parameters returned by the audio drivers, and nicely report driver bugs rather than crashing/misbehaving later if param

CVS: cvs.openbsd.org: src

2014-09-22 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/09/23 00:47:37 Modified files: usr.bin/audioctl: audioctl.c Log message: Hide unused, duplicate and/or misleading fields. ok armani, shadchin, kspillner

CVS: cvs.openbsd.org: src

2014-08-20 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/08/20 01:19:42 Modified files: sys/dev/ic : arcofi.c Log message: Call audio_{pint,rint}() call-backs with the mutex held. Found by Izumi Tsutsui, thanks! ok miod@

CVS: cvs.openbsd.org: src

2014-08-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/08/10 04:25:35 Modified files: usr.bin/aucat : dev.c Log message: typo in debug message

CVS: cvs.openbsd.org: src

2014-08-10 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/08/10 04:25:04 Modified files: usr.bin/aucat : wav.c Log message: initialize mmcpos, found by guenther

CVS: cvs.openbsd.org: src

2014-06-04 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2014/06/04 02:01:25 Modified files: sys/dev/usb: uaudio.c Log message: Properly compare endpoint addresses: ignore the direction bit which is not part of the address. From Remco , thanks! ok mpi@

<    1   2   3   4   5   6   7   8   9   10   >