History log of /openbsd/usr.bin/aucat/Makefile (Results 1 – 22 of 22)
Revision Date Author Comments
# 10ba9548 21-Jan-2015 ratchov <ratchov@openbsd.org>

Simplify internals and rewrite file header parsing code:
- remove -M, -t, -w, -C, -x flags that don't make sense anymore
- make "-j off" the default (sndiod already does the job)
- don't limit the nu

Simplify internals and rewrite file header parsing code:
- remove -M, -t, -w, -C, -x flags that don't make sense anymore
- make "-j off" the default (sndiod already does the job)
- don't limit the number of played/recorded files.
- add support for floating-point encoded files.
- add support for apple .aiff and sun/next .au files

show more ...


# aaa3cca7 21-Nov-2013 ratchov <ratchov@openbsd.org>

use -Wmissing-prototypes


# 93e53464 19-Nov-2013 ratchov <ratchov@openbsd.org>

move -Wxxx flags from CFALGS to COPTS

suggested by deraadt


# a134e2b5 12-Nov-2013 ratchov <ratchov@openbsd.org>

remove bogus legacy server-specific bits that cause confusion


# 87bc9f6a 23-Nov-2012 ratchov <ratchov@openbsd.org>

Remplace aucat server by a new sndiod daemon aimed to be simpler
smaller and faster than aucat. It's a drop in replacement with the
following exceptions that don't affect the default setup:
- The s

Remplace aucat server by a new sndiod daemon aimed to be simpler
smaller and faster than aucat. It's a drop in replacement with the
following exceptions that don't affect the default setup:
- The sample rate and the encoding are a per-device parameters
thus -r and -e options must precede the corresponding -f option
- MIDI thru boxes are dynamically created and no -M option
is required anymore, so -M was removed.
- MIDI ports are exposed with a new ``midi/N'' name, rather
than abusing MIDI thru boxes.
with help from armani@, ok deraadt@

show more ...


# 83e91f52 09-Dec-2011 ratchov <ratchov@openbsd.org>

add a new sndiod audio/midi daemon and hide aucat server-specific
options.


# 8825335a 17-Oct-2011 ratchov <ratchov@openbsd.org>

Remove midicat since aucat can now be used instead of midicat
with almost the same syntax (roughly an extra -M option).
Thru boxes are created with aucat, and corresponding MIDI port
names have the "

Remove midicat since aucat can now be used instead of midicat
with almost the same syntax (roughly an extra -M option).
Thru boxes are created with aucat, and corresponding MIDI port
names have the "aucat" prefix instead of "midithru". The old
device name will still work some time for backward compatibility.

ok deraadt

show more ...


# 509f01d9 27-Apr-2011 ratchov <ratchov@openbsd.org>

move amsg.h containing protocol defs from aucat side to libsndio side.

requested by deraadt


# fee63dc5 31-Jul-2010 ratchov <ratchov@openbsd.org>

remove 2 years old compatibility mode


# dec09956 04-Jun-2010 ratchov <ratchov@openbsd.org>

Allow the audio device to be opened only while it's actually used.
This is necessary for uaudio devices, for instance to start aucat
before the device is plugged. Or to unplug a device whithout
havin

Allow the audio device to be opened only while it's actually used.
This is necessary for uaudio devices, for instance to start aucat
before the device is plugged. Or to unplug a device whithout
having to restart aucat when another device is plugged. This is
controlled with the new -a option.

Allow multiple audio devices to be used concurently, i.e.
multiple ``-f devname'' options to be used; -f options must follow
per-device options, which is what we do for other options.

show more ...


# 7a82348a 13-Jan-2010 ratchov <ratchov@openbsd.org>

Rename s/safile/siofile/g, missed when libsa was renamed to
libsndio. Fixes crashes in full-duplex mode on vax and hp300.


# 015dec6c 10-Jan-2010 ratchov <ratchov@openbsd.org>

Add traces to help tracking subtle timing bugs often causing
underuns and overruns; such bugs are hard to debug with ktrace
or a debugger. They are also handy to debug or monitor code
using aucat.

T

Add traces to help tracking subtle timing bugs often causing
underuns and overruns; such bugs are hard to debug with ktrace
or a debugger. They are also handy to debug or monitor code
using aucat.

To enable traces, compile aucat with ``make DEBUG=-DDEBUG'' and
use the -d option multiple times.

ok jakemsr

show more ...


# 34405ddd 27-Sep-2009 ratchov <ratchov@openbsd.org>

remove all debug traces


# 6efede29 25-Jul-2009 ratchov <ratchov@openbsd.org>

Currently midi capable programs can control midi hardware, but
cannot cooperate with other programs. The aim of this change is
to allow any program to send midi data to other programs as they
were m

Currently midi capable programs can control midi hardware, but
cannot cooperate with other programs. The aim of this change is
to allow any program to send midi data to other programs as they
were midi hardware. For instance, this change should solve the
longstanding problem of using a midi sequencer with software
synthesizers. More precisely:

- new midicat(1) utility (actually hardlink to aucat(1)).
it creates software midi thru boxes, allowing programs
to send midi messages to other programs as they were
midi(4) hardware.

- new midi api in libsndio (see mio_open(3)), to access
midi(4) devices and midicat(1) sockets in a uniform way.

- new device naming scheme <service>:<unit>[.<option>],
common to audio and midi.

- new sndio(7) manual describing concepts and naming

The current audio device naming still works, but people having
scripts or configuration files containing device names could read
the sndio(7) man page and slowly start updating device names.

discussed with jakemsr@ and deraadt@, help form jmc@

show more ...


# 2e07e3f4 04-Jun-2009 jsg <jsg@openbsd.org>

don't trust the compiler to generate warnings we care about,
remove -Werror.
ok ratchov@


# a51c8720 28-Oct-2008 miod <miod@openbsd.org>

Use -Werror unconditionnaly again.


# e95dfd02 27-Oct-2008 miod <miod@openbsd.org>

No -Werror on m88k, hairy gcc bug generates false ``variable might be used
uninitialized'' warnings. To be removed when the compiler bug is fixed
eventually.


# f153e440 27-Oct-2008 ratchov <ratchov@openbsd.org>

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 9bb28def 26-Oct-2008 ratchov <ratchov@openbsd.org>

add minimal server capability to aucat(1). When started in server
mode, it listens on an unix socket and mixes/demultiplexes any number
of full-duplex streams, doing necessary format conversions and

add minimal server capability to aucat(1). When started in server
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.

show more ...


# dc5a7cae 14-Aug-2008 ratchov <ratchov@openbsd.org>

move all device related stuff from aucat.c to a new dev.c file.
The new dev_xxx() routines expose a "high level" self-contained
interface to the device. At initialization, the device is opened
and tw

move all device related stuff from aucat.c to a new dev.c file.
The new dev_xxx() routines expose a "high level" self-contained
interface to the device. At initialization, the device is opened
and two chains of aproc structures are created:

* a playback chain that exposes a (initially) empty mix
aproc to which the rest of the code can attach new
streams to be played

* record chain that exposes a (initially) empty sub aproc
to which the rest of the code can attach new stream to
to record

The rest of the code, has just to use dev_attach() routine to
attach streams. While we're at it, add a ``devops'' structure
containing pointers to the device-specific routines. This will
allow later to add support for other type of device than the
Sun API.

Also, write the .wav headers in file_del(), so put all header
related data in the file strucuture. This allows to close() the
file, as soon as wpipe_xxx() aproc terminates. This will be
useful for the server, because it will need to close() descripts
of closed connections immediately.

add mix_pushzero() routine to fill the mixer with silence. It
will be used to avoid the mixer to underrun when there are no
input streams. Since we always have at least one input stream
there's no behaviour change.

ok jakemsr

show more ...


# d0585044 23-May-2008 ratchov <ratchov@openbsd.org>

add support for:
- recording, full-duplex operation
- format conversions and resampling on the fly
- mixing on the fly of multiple inputs of different formats
- up to 16 channels, simplistic "rou

add support for:
- recording, full-duplex operation
- format conversions and resampling on the fly
- mixing on the fly of multiple inputs of different formats
- up to 16 channels, simplistic "routing" of channel ranges
- more linear encodings (in raw and wav files)
the old behaviour is fully preserved if none of the new -i and -o
options are used.

code and fixes from jakemsr@ and eric@, suggestions by others.
ok "go ahead" deraadt@

show more ...


# 1d8e6258 02-Jan-1997 kstailey <kstailey@openbsd.org>

new utility for playing sound files