OSDN Git Service
Jaroslav Kysela [Mon, 8 May 2000 20:24:38 +0000 (20:24 +0000)]
Fixed device name...
Jaroslav Kysela [Mon, 8 May 2000 18:53:38 +0000 (18:53 +0000)]
Merged pcm2 branch.
Jaroslav Kysela [Tue, 18 Apr 2000 15:20:12 +0000 (15:20 +0000)]
Another API cleanups.
Added setup functions for rawmidi and timer interfaces.
Jaroslav Kysela [Tue, 18 Apr 2000 15:18:38 +0000 (15:18 +0000)]
Fixed rate specification..
Jaroslav Kysela [Tue, 18 Apr 2000 11:25:05 +0000 (11:25 +0000)]
Protocol version number changed to 2.0.0.
Jaroslav Kysela [Mon, 17 Apr 2000 18:55:13 +0000 (18:55 +0000)]
MUX1 & MUX2 renaming.
Abramo Bagnara [Mon, 17 Apr 2000 17:39:16 +0000 (17:39 +0000)]
Cleaned pcm internals. Added mmap'able plugins
Abramo Bagnara [Mon, 17 Apr 2000 17:31:41 +0000 (17:31 +0000)]
Cleaned pcm internals. Added mmap'able plugins
Abramo Bagnara [Sun, 16 Apr 2000 15:38:28 +0000 (15:38 +0000)]
Implemented voice_setup
Abramo Bagnara [Sun, 16 Apr 2000 15:36:30 +0000 (15:36 +0000)]
Implemented voice_setup. Changed mmap control
Abramo Bagnara [Sun, 16 Apr 2000 15:36:09 +0000 (15:36 +0000)]
Renamed for congruency two fields
Abramo Bagnara [Sun, 16 Apr 2000 15:28:42 +0000 (15:28 +0000)]
Renamed for congruency two fields
Jaroslav Kysela [Sun, 16 Apr 2000 11:45:29 +0000 (11:45 +0000)]
Changed protocol version to 1.1.0
Jaroslav Kysela [Sat, 15 Apr 2000 10:49:04 +0000 (10:49 +0000)]
Added CAPTURE3/PLAYBACK3 plugins.
Jaroslav Kysela [Sat, 15 Apr 2000 10:48:49 +0000 (10:48 +0000)]
Fixed C++ compilation.
Abramo Bagnara [Thu, 13 Apr 2000 21:17:03 +0000 (21:17 +0000)]
Fixed return value
Jaroslav Kysela [Thu, 13 Apr 2000 14:59:38 +0000 (14:59 +0000)]
Removed double goto.
Abramo Bagnara [Thu, 13 Apr 2000 11:45:39 +0000 (11:45 +0000)]
Avoided useless writev use
Jaroslav Kysela [Thu, 13 Apr 2000 09:28:04 +0000 (09:28 +0000)]
Fixed compilation problem (route plugin definition).
Abramo Bagnara [Wed, 12 Apr 2000 20:42:48 +0000 (20:42 +0000)]
Fixed readv/writev
Abramo Bagnara [Wed, 12 Apr 2000 20:41:16 +0000 (20:41 +0000)]
Fixed plugins
Abramo Bagnara [Wed, 12 Apr 2000 20:38:48 +0000 (20:38 +0000)]
Removed obsolete interleave plugin. Rewritten and fixed other for efficiency.
Jaroslav Kysela [Mon, 3 Apr 2000 18:17:59 +0000 (18:17 +0000)]
0.6.0pre1
Jaroslav Kysela [Thu, 30 Mar 2000 13:21:26 +0000 (13:21 +0000)]
Added snd_pcm_format_physical_width...
Jaroslav Kysela [Wed, 29 Mar 2000 20:26:06 +0000 (20:26 +0000)]
New plugin interface with readv/writev support.
Initial code.
Abramo Bagnara [Wed, 22 Mar 2000 16:22:12 +0000 (16:22 +0000)]
Removed volbal plugin (substituted with route)
Abramo Bagnara [Wed, 22 Mar 2000 16:20:23 +0000 (16:20 +0000)]
Added route plugin
Abramo Bagnara [Wed, 22 Mar 2000 16:20:05 +0000 (16:20 +0000)]
Removed voices plugin
Abramo Bagnara [Wed, 22 Mar 2000 16:18:04 +0000 (16:18 +0000)]
Removed voices and volbal plugins. Rewritten interleave plugin. Changed some name in linear
Abramo Bagnara [Wed, 22 Mar 2000 16:12:59 +0000 (16:12 +0000)]
moved silence byte function
Jaroslav Kysela [Tue, 21 Mar 2000 17:36:27 +0000 (17:36 +0000)]
Plugin updates. The action callback has a new argument.
The mmap plugin is updated to accept frags_min & frags_max. Also,
SND_PCM_STOP_ROLLOVER behaves much better.
Takashi Iwai [Sat, 18 Mar 2000 18:03:50 +0000 (18:03 +0000)]
New functions for sequencer:
- snd_seq_event_output_buffer()
Outputs an event on buffer without flushing to sequencer.
Useful for non-blocking mode write.
- snd_seq_event_output_direct()
Outputs an event directly to sequencer without using buffer.
Thus the event can be passed even if output buffer is full.
- snd_seq_input_buffer_size(), snd_seq_output_buffer_size()
Returns the size of input/output buffers
- snd_seq_resize_input_buffer(), snd_seq_resize_output_buffer()
Changes the size of input/output buffers
Jaroslav Kysela [Sat, 11 Mar 2000 21:34:41 +0000 (21:34 +0000)]
0.5.6
Jaroslav Kysela [Sat, 11 Mar 2000 11:08:08 +0000 (11:08 +0000)]
Changed versioning scheme.
Jaroslav Kysela [Fri, 10 Mar 2000 22:08:40 +0000 (22:08 +0000)]
Small cleanup by Frank van de Pol <frank@vande-pol.demon.nl> - timestamp
Jaroslav Kysela [Fri, 10 Mar 2000 14:05:49 +0000 (14:05 +0000)]
Fixed return value for snd_pcm_close
Jaroslav Kysela [Sat, 4 Mar 2000 15:50:35 +0000 (15:50 +0000)]
Fixed wrong name...
Jaroslav Kysela [Sat, 4 Mar 2000 15:50:15 +0000 (15:50 +0000)]
Added midiloop utility..
Jaroslav Kysela [Wed, 1 Mar 2000 18:13:35 +0000 (18:13 +0000)]
0.5.5
Jaroslav Kysela [Wed, 1 Mar 2000 18:12:30 +0000 (18:12 +0000)]
Changed the switch interface.
Every switches are accessible via one ioctl.
Jaroslav Kysela [Sun, 27 Feb 2000 20:07:45 +0000 (20:07 +0000)]
Moved EXPORT_SYMBOL tags for driver to plugin.c only.
Jaroslav Kysela [Sun, 27 Feb 2000 13:39:48 +0000 (13:39 +0000)]
0.5.4
Jaroslav Kysela [Sun, 27 Feb 2000 13:35:01 +0000 (13:35 +0000)]
.tar.gz -> .tar.bz2
Jaroslav Kysela [Tue, 22 Feb 2000 17:36:34 +0000 (17:36 +0000)]
Fixed return codes (added EPIPE).
Jaroslav Kysela [Mon, 21 Feb 2000 12:28:43 +0000 (12:28 +0000)]
SND_PCM_RATE_PLL -> SND_PCM_RATE_CONTINUOUS
Jaroslav Kysela [Fri, 18 Feb 2000 18:12:50 +0000 (18:12 +0000)]
Loopback API improvement - added silence block.
Jaroslav Kysela [Wed, 16 Feb 2000 21:28:10 +0000 (21:28 +0000)]
Added dist-hook..
Jaroslav Kysela [Wed, 16 Feb 2000 21:05:51 +0000 (21:05 +0000)]
pack -> .bz2
Jaroslav Kysela [Wed, 16 Feb 2000 20:55:46 +0000 (20:55 +0000)]
0.5.3
Jaroslav Kysela [Sat, 12 Feb 2000 17:09:07 +0000 (17:09 +0000)]
maarten de boer <maarten.deboer@iua.upf.es>
Sat, 12 Feb 2000 17:36:07 +0100
Jaroslav Kysela [Tue, 8 Feb 2000 08:41:28 +0000 (08:41 +0000)]
fixed snd_defaults_rawmidi_card
Jaroslav Kysela [Fri, 4 Feb 2000 14:23:19 +0000 (14:23 +0000)]
Added rawmidi.c from maarten de boer <maarten.deboer@iua.upf.es>
Jaroslav Kysela [Fri, 4 Feb 2000 12:35:24 +0000 (12:35 +0000)]
0.5.2
Jaroslav Kysela [Fri, 4 Feb 2000 10:07:20 +0000 (10:07 +0000)]
Updated to current API..
Jaroslav Kysela [Thu, 3 Feb 2000 19:41:43 +0000 (19:41 +0000)]
Added midi devices..
Abramo Bagnara [Mon, 31 Jan 2000 12:40:05 +0000 (12:40 +0000)]
added readv/writev support
Jaroslav Kysela [Fri, 28 Jan 2000 22:45:18 +0000 (22:45 +0000)]
Massive fixes in the mmap plugin (NONBLOCK, poll).
Jaroslav Kysela [Mon, 24 Jan 2000 10:26:04 +0000 (10:26 +0000)]
Fixed wrong function name... snd_control_read-
Jaroslav Kysela [Sun, 23 Jan 2000 20:28:54 +0000 (20:28 +0000)]
0.5.1a
Jaroslav Kysela [Sun, 23 Jan 2000 20:23:37 +0000 (20:23 +0000)]
Added extern to snd_mixer_weight_entry_t *snd_mixer_default_weights
Jaroslav Kysela [Sat, 22 Jan 2000 18:58:08 +0000 (18:58 +0000)]
0.5.1
Jaroslav Kysela [Fri, 21 Jan 2000 11:32:54 +0000 (11:32 +0000)]
Added sender command to help...
Jaroslav Kysela [Thu, 20 Jan 2000 12:14:50 +0000 (12:14 +0000)]
snd_seq_timestamp_t->real was renamed to snd_seq_timestamp_t->time
Some code is using real as a variable type.
Abramo Bagnara [Tue, 18 Jan 2000 08:45:02 +0000 (08:45 +0000)]
Added group and elements sorting
Jaroslav Kysela [Sun, 16 Jan 2000 22:08:26 +0000 (22:08 +0000)]
-release info is taken from configure.in
Jaroslav Kysela [Sun, 16 Jan 2000 21:54:45 +0000 (21:54 +0000)]
0.5.0
Abramo Bagnara [Sun, 16 Jan 2000 12:32:10 +0000 (12:32 +0000)]
Fixed integer types use
Jaroslav Kysela [Wed, 12 Jan 2000 09:49:57 +0000 (09:49 +0000)]
0.5.0pre3
Jaroslav Kysela [Wed, 12 Jan 2000 08:35:47 +0000 (08:35 +0000)]
Removed.
Abramo Bagnara [Tue, 11 Jan 2000 20:00:17 +0000 (20:00 +0000)]
Added pcm_local.h to distribution
Jaroslav Kysela [Tue, 11 Jan 2000 17:35:50 +0000 (17:35 +0000)]
Added snd_hwdep_ioctl function.
Jaroslav Kysela [Tue, 11 Jan 2000 17:30:47 +0000 (17:30 +0000)]
Added missing rule..
Jaroslav Kysela [Tue, 11 Jan 2000 17:25:42 +0000 (17:25 +0000)]
0.5.0pre2
Jaroslav Kysela [Tue, 11 Jan 2000 17:25:21 +0000 (17:25 +0000)]
Added back rules for old autoconf...
Jaroslav Kysela [Mon, 10 Jan 2000 20:19:24 +0000 (20:19 +0000)]
Removed aconnect & aseqnet..
Jaroslav Kysela [Mon, 10 Jan 2000 13:29:00 +0000 (13:29 +0000)]
jcu.cz -> alsa-project.org modifications & other cleanups
Jaroslav Kysela [Mon, 10 Jan 2000 13:08:38 +0000 (13:08 +0000)]
Removed unfinished sequencer sync code.
Jaroslav Kysela [Mon, 10 Jan 2000 13:08:18 +0000 (13:08 +0000)]
0.5.0pre1
Jaroslav Kysela [Mon, 10 Jan 2000 10:57:12 +0000 (10:57 +0000)]
Fixed I/O plugin insert
Jaroslav Kysela [Mon, 10 Jan 2000 10:07:53 +0000 (10:07 +0000)]
Added the support for the hardware depedent interface.
Abramo Bagnara [Sun, 9 Jan 2000 22:45:28 +0000 (22:45 +0000)]
get rid of a gcc warning
Abramo Bagnara [Sun, 9 Jan 2000 22:44:52 +0000 (22:44 +0000)]
uniformed alsa-lib interfaces
Abramo Bagnara [Sat, 8 Jan 2000 21:59:57 +0000 (21:59 +0000)]
Get rid of compiler warning
Jaroslav Kysela [Sat, 8 Jan 2000 21:51:25 +0000 (21:51 +0000)]
Compilation fix (removed snd_rawmidi_[output|input]_info_t).
Abramo Bagnara [Sat, 8 Jan 2000 20:11:33 +0000 (20:11 +0000)]
- splitted pcm channels in two different devices to handle mmap correctly
- removed mmap control device
- reordered pcm shared and not shared code
- changed O_WRONLY oss pcm modifier in a more symmetric and elegant way
- changed slightly control interface
- added snd-debug-check
- uniformed null pointer check
- fixed a typo in linear plugin
Jaroslav Kysela [Tue, 4 Jan 2000 12:38:59 +0000 (12:38 +0000)]
Moved aconnect and aseqnet sequencer utilities into the alsa-utils package.
Jaroslav Kysela [Mon, 3 Jan 2000 22:44:19 +0000 (22:44 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Initial code.
Jaroslav Kysela [Mon, 3 Jan 2000 10:25:56 +0000 (10:25 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Mon, 03 Jan 2000 10:47:02 +0100
- bugfix: proper handling of exclusive subscription
- bugfix and update: alsa-lib/test/seq* stuff
- minor updates (long option support, etc) of aconnect and aseqnet
- man pages for aconnect and aseqnet are added
Jaroslav Kysela [Thu, 30 Dec 1999 15:21:52 +0000 (15:21 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Thu, 30 Dec 1999 16:07:12 +0100
- fix of memory leak in seq_midi
- snd_seq_extract_output() accepts NULL ev_res argument (for removing the
error event without malloc).
- addition of snd_seq_drain_input_buffer() and snd_seq_drain_output_buffer()
functions in alsa-lib
Abramo Bagnara [Thu, 30 Dec 1999 12:27:38 +0000 (12:27 +0000)]
Fixed #ifdef
Abramo Bagnara [Tue, 28 Dec 1999 14:51:00 +0000 (14:51 +0000)]
Fixed a few typos and hwparams strategy
Abramo Bagnara [Mon, 27 Dec 1999 22:22:13 +0000 (22:22 +0000)]
Order and indentation fix
Abramo Bagnara [Mon, 27 Dec 1999 22:06:24 +0000 (22:06 +0000)]
Added 24 bit sample support
Jaroslav Kysela [Sun, 26 Dec 1999 17:27:43 +0000 (17:27 +0000)]
MMAP changes (/dev/snd/pcmcontrol).
Removed unregister callback from snd_minor_t.
Abramo Bagnara [Sat, 25 Dec 1999 15:25:46 +0000 (15:25 +0000)]
Completed linear plugin
Abramo Bagnara [Sat, 25 Dec 1999 15:23:47 +0000 (15:23 +0000)]
Fixed return value for plugin transfer function
Abramo Bagnara [Sat, 25 Dec 1999 15:22:21 +0000 (15:22 +0000)]
Added snd_pcm_build_linear_format
Jaroslav Kysela [Wed, 22 Dec 1999 15:05:51 +0000 (15:05 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Wed, 22 Dec 1999 15:51:37 +0100
Changes in alsa-driver:
1. SND_SEQ_DEST_DIRECT was removed. For direct dispatching, specify
the scheduling queue as SND_SEQ_QUEUE_DIRECT.
Source compatibility is kept if alsa-lib functions are used to set
or check direct mode.
Tested: pmidi, playmidi1, aconnect, aseqview, OSS emulation
2. The error event can be bounced to the sender as an encapsulated
event with SND_SEQ_EVENT_BOUNCE type. If the orignal event is
variable length (like SYSEX), the data body is added after the
copied event data. (To access to it, use
snd_seq_event_bounce_ext_data() macro.)
This feature is enabled only when the sender is opened with read
flag and has a client-filter flag SND_SEQ_FILTER_BOUNCE, so that
as default it is disabled.
3. Maximum size of VARIABLE length event is defined as 2048 bytes.
Larger events will be refused.
Note that this is not the size of VARUSR nor VARIPC event.
4. Return error code was revised.
Possible errors for read():
-ENXIO invalid client or file open mode
-ENOSPC FIFO overflow (the flag is cleared after this error report)
-EINVAL no enough user-space buffer to write the whole event
-EFAULT seg. fault during copy to user space
Possible errors for write():
-ENXIO invalid client or file open mode
-ENOMEM malloc failed
-EFAULT seg. fault during copy from user space
-EINVAL invalid event
-EAGAIN no space in output pool
-EINTR interrupts while sleep
-EMLINK too many hops
others depends on return value from driver event_input callback
Changes in alsa-lib:
5. Behavior of snd_seq_flush_output() was changed.
It flushes data in output buffer as much as possible. This has
two advantages. One is that most data can be sent at one call,
and another is that the error in write() can be detected directly
from this function.
The demerit of this implementation is that in non-blocking mode, it
tries twice write() even if write pool of sequencer is full, which
is not actually error. In this case, flush_output() always returns
-EAGAIN error code.
After an error is detected (except for -EAGAIN in non-blocking
mode), you should remove the error event via
snd_seq_extract_output() as below. Otherwise, it'll remain in
output buffer and cause the same error again.
6. Some functions were added:
snd_seq_exract_output(seq, &event)
This extracts the first event on *output* buffer. This will
be useful to know (and remove) the event which causes error in
write().
snd_seq_event_input_pending(seq, fetch)
Retunrs the number of events on input buffer.
If no events exist in input buffer, it fetches from sequencer
(only when flag is true).
snd_seq_event_input_selective(seq, &ev, type, blocking)
Retrieve the event from input with the given event type.
If blocking is true, it waits until the target event is
received. It'll be useful for checking bounced error or
waiting for hand-shake results (eg. loading insruments).
Jaroslav Kysela [Sun, 19 Dec 1999 09:49:35 +0000 (09:49 +0000)]
Steve Ratcliffe <steve@parabola.demon.co.uk>
Sorry, small correction to my previous patch.
Jaroslav Kysela [Thu, 16 Dec 1999 14:14:16 +0000 (14:14 +0000)]
Reset all protocol versions to 1.0.0.