OSDN Git Service
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.
Frank van de Pol [Wed, 15 Dec 1999 23:37:12 +0000 (23:37 +0000)]
small sequencer fixes
Jaroslav Kysela [Wed, 15 Dec 1999 18:34:12 +0000 (18:34 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Frank van de Pol <frank@vande-pol.demon.nl>
Major sequencer changes and cleanups for 1.0.0.
Jaroslav Kysela [Wed, 15 Dec 1999 08:56:29 +0000 (08:56 +0000)]
Steve Ratcliffe <steve@parabola.demon.co.uk>
There is a bug in the alsa-lib remove events function.
Jaroslav Kysela [Tue, 14 Dec 1999 17:12:23 +0000 (17:12 +0000)]
Uros Bizjak <uros@kss-loka.si>
Tue, 14 Dec 1999 09:44:18 +0100 (CET)
Endianness fixes...
Jaroslav Kysela [Sun, 12 Dec 1999 20:25:53 +0000 (20:25 +0000)]
Removed debug output.
Jaroslav Kysela [Sun, 12 Dec 1999 17:26:13 +0000 (17:26 +0000)]
Uros Bizjak <uros@kss-loka.si>
Sun, 12 Dec 1999 17:30:00 +0100 (CET)
Submitted adpcm.c has messed source - it is OK, but 'indent' wrapped all
long lines. I corrected that, and please find a patch to current CVS which
cleans this mess.
Jaroslav Kysela [Sun, 12 Dec 1999 17:23:44 +0000 (17:23 +0000)]
Abramo Bagnara <abramo@alsa-project.org>
- cleaned oss capture
- fixed conversion plugin insertion
card share:
- fixed bugs in group control
- give to OSS mixer a chance to control as more elements as possible
Jaroslav Kysela [Sat, 11 Dec 1999 21:20:03 +0000 (21:20 +0000)]
Small fix for the capture direction..
Jaroslav Kysela [Sat, 11 Dec 1999 20:36:13 +0000 (20:36 +0000)]
Added snd_pcm_get_format_name() to alsa-lib.
Jaroslav Kysela [Sat, 11 Dec 1999 20:21:55 +0000 (20:21 +0000)]
Uros Bizjak <uros@kss-loka.si>
Sat, 11 Dec 1999 19:16:00 +0100 (CET)
Attached is a diff for new adpcm implementation. Sun's CCITT g721 adpcm
codec is NOT IMA adpcm. IMA codec is very simple and better than g721, so
I replaced g721 with included one. Implementation has been tested against
some test files which I got, and should work according to IMA
specification.
Jaroslav Kysela [Sat, 11 Dec 1999 20:08:34 +0000 (20:08 +0000)]
Abramo Bagnara <abramo@alsa-project.org>
Sat, 11 Dec 1999 16:16:34 +0100
- PCM plugin fixes
Jaroslav Kysela [Sat, 11 Dec 1999 11:46:05 +0000 (11:46 +0000)]
Abramo Bagnara <abramo@alsa-project.org>
Sat, 11 Dec 1999 08:45:24 +0100
- changed lowlevel drivers to use pcm_misc.c functions
- fixed some bugs in pcm_plugin_build
- the plugin code is shared between alsa-lib and alsa-driver
Jaroslav Kysela [Sat, 11 Dec 1999 10:50:39 +0000 (10:50 +0000)]
Added 'snd_card_get_name' & 'snd_card_get_longname'.
Jaroslav Kysela [Fri, 10 Dec 1999 14:43:25 +0000 (14:43 +0000)]
- recoded the capture order plugin calls
- the rate resampling is much more smoother for "downsampling" (shrinking)
Jaroslav Kysela [Fri, 10 Dec 1999 00:13:46 +0000 (00:13 +0000)]
Next plugin fixes...
Jaroslav Kysela [Fri, 10 Dec 1999 00:13:46 +0000 (00:13 +0000)]
.
Jaroslav Kysela [Thu, 9 Dec 1999 09:21:56 +0000 (09:21 +0000)]
Abramo Bagnara <abramo@alsa-project.org>
Thu, 09 Dec 1999 09:56:47 +0100
Rate plugin is now ready for optimizations (I've verified reading asm
generated that loop unrolling is not fully satisfactory, I'll try
another solution later today).
Jaroslav Kysela [Wed, 8 Dec 1999 21:58:27 +0000 (21:58 +0000)]
Added back commented code (latency change)
Jaroslav Kysela [Wed, 8 Dec 1999 19:22:10 +0000 (19:22 +0000)]
NO FILL mode selected...
Jaroslav Kysela [Tue, 7 Dec 1999 10:10:07 +0000 (10:10 +0000)]
Abramo Bagnara <abramo@alsa-project.org>
Tue, 07 Dec 1999 08:44:05 +0100
- pcm mixer elements splitted for subchannel handling
- small fix to pcm device element
Jaroslav Kysela [Mon, 6 Dec 1999 00:01:27 +0000 (00:01 +0000)]
Next plugin fixes...
Jaroslav Kysela [Mon, 6 Dec 1999 00:01:26 +0000 (00:01 +0000)]
Abramo Bagnara <abbagnara@racine.ra.it>
Sun, 05 Dec 1999 19:02:01 +0100
Bug fixed:
- duplicated deallocation for mmap'ed area
- missing deallocation in es18xx
- some bugs in volbal conversion
New features:
- virtual mixer for card-share (it seems to work, but I feel that it
need further testing)
Misc:
- reorganization and extension of rate.c
Jaroslav changes:
- volbal source is mostly reverted back (no card-share mixer polling)
Jaroslav Kysela [Sun, 5 Dec 1999 21:12:24 +0000 (21:12 +0000)]
Added more open modes (O_APPEND)..
Jaroslav Kysela [Sun, 5 Dec 1999 21:11:59 +0000 (21:11 +0000)]
Small fixes..
Jaroslav Kysela [Sat, 4 Dec 1999 10:50:47 +0000 (10:50 +0000)]
Fixed small bug in 'format change' section
Jaroslav Kysela [Thu, 2 Dec 1999 14:31:26 +0000 (14:31 +0000)]
PCM plugin patches made by Abramo Bagnara.
Added new plugin - voice & balance.
Jaroslav Kysela [Thu, 2 Dec 1999 12:31:35 +0000 (12:31 +0000)]
Documentation placement changes..
Jaroslav Kysela [Wed, 1 Dec 1999 19:44:14 +0000 (19:44 +0000)]
Wed, 1 Dec 1999 19:46:33 +0100 (CET)
Uros Bizjak <uros@kss-loka.si>
Included in this message, you will find a diff to alsa-lib, which
implements g721 adpcm codec. It works well (only consumes a lot of CPU),
and it plays back the same data as is recorded.
Also added is CSP patch, which adds noise suppression when CSP is
started or stopped (A few TODOs less :) Also changed is copyright for
mulaw, alaw and adpcm codecs (Based on sun implementation ... + I added
myself - if you don't mind. Please check this copyright, if it is OK)
Jaroslav Kysela [Wed, 1 Dec 1999 19:37:05 +0000 (19:37 +0000)]
Copyright change..
Jaroslav Kysela [Wed, 1 Dec 1999 19:31:47 +0000 (19:31 +0000)]
Initial version..
Jaroslav Kysela [Tue, 30 Nov 1999 09:25:59 +0000 (09:25 +0000)]
PCM loopback API improved and added back the functionality.
Some mmap() changes for the OSS emulation.
Jaroslav Kysela [Sun, 28 Nov 1999 18:10:47 +0000 (18:10 +0000)]
Uros Bizjak <uros@kss-loka.si>
Sun, 28 Nov 1999 18:42:50 +0100 (CET)
mu-Law conversion plugin contains the Sun code now.
Added A-Law conversion plugin.
Jaroslav Kysela [Sat, 27 Nov 1999 16:33:58 +0000 (16:33 +0000)]
Mixer: Added filter ioctls for read events.
Jaroslav Kysela [Thu, 25 Nov 1999 11:46:30 +0000 (11:46 +0000)]
Small fix...
Jaroslav Kysela [Thu, 25 Nov 1999 10:15:28 +0000 (10:15 +0000)]
Fixed many bugs..
Jaroslav Kysela [Wed, 24 Nov 1999 18:17:20 +0000 (18:17 +0000)]
Added rounding...
Jaroslav Kysela [Wed, 24 Nov 1999 18:17:00 +0000 (18:17 +0000)]
Some small fixes...
Jaroslav Kysela [Wed, 24 Nov 1999 17:02:42 +0000 (17:02 +0000)]
Returned back some right code.
Jaroslav Kysela [Wed, 24 Nov 1999 17:00:39 +0000 (17:00 +0000)]
Added new plugins & functions.
Jaroslav Kysela [Wed, 24 Nov 1999 17:00:16 +0000 (17:00 +0000)]
Added new PCM functions (pcm_misc.c).
New plugins: rate, voices.
Jaroslav Kysela [Tue, 23 Nov 1999 08:46:03 +0000 (08:46 +0000)]
Corrections in plugin_formats()..
Jaroslav Kysela [Fri, 19 Nov 1999 19:06:05 +0000 (19:06 +0000)]
Changed format back to S16_LE...
Jaroslav Kysela [Fri, 19 Nov 1999 19:05:22 +0000 (19:05 +0000)]
Some fixes...
Jaroslav Kysela [Thu, 18 Nov 1999 14:30:12 +0000 (14:30 +0000)]
Fixed in the plugin build routine...
Jaroslav Kysela [Tue, 16 Nov 1999 15:07:05 +0000 (15:07 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Tue, 16 Nov 1999 14:32:17 +0100
Some minor bug fixes in alsa-lib/seq.
Jaroslav Kysela [Sun, 14 Nov 1999 20:24:46 +0000 (20:24 +0000)]
More fixes...
Jaroslav Kysela [Sun, 14 Nov 1999 20:24:32 +0000 (20:24 +0000)]
More fixes for capture...
Jaroslav Kysela [Sun, 14 Nov 1999 19:56:39 +0000 (19:56 +0000)]
Fixes in case...
Jaroslav Kysela [Fri, 12 Nov 1999 08:29:49 +0000 (08:29 +0000)]
Fixed memory leak by Steve.
Jaroslav Kysela [Mon, 8 Nov 1999 23:19:36 +0000 (23:19 +0000)]
Fixed mmaped access..
Jaroslav Kysela [Sun, 7 Nov 1999 16:43:13 +0000 (16:43 +0000)]
Added snd_pcm_nonblock_mode...
Jaroslav Kysela [Sun, 7 Nov 1999 09:38:36 +0000 (09:38 +0000)]
Fixed small bug in subminor version parsing..
Jaroslav Kysela [Sat, 6 Nov 1999 23:47:07 +0000 (23:47 +0000)]
Merged pcm-v2 branch into main CVS tree.
Jaroslav Kysela [Thu, 7 Oct 1999 10:24:29 +0000 (10:24 +0000)]
Added missed snd_ctl_close in snd_pcm_open_subdevice...
Jaroslav Kysela [Fri, 17 Sep 1999 16:17:21 +0000 (16:17 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de>
Fri, 17 Sep 1999 17:24:43 +0200
OK, the attached is the patch to alsa-driver and alsa-lib.
It will really violate the source/binary compatibility as
I wrote :-p
It includes:
- change of event data for accessing Timer Port
- new middle-level functions for sequencer in alsa-lib
- some comments / fixes
The test programs in alsa-lib (playmidi1, aconnect, aseqnet)
were rewritten to use the new functions above.
I included also a patch to pmidi-1.2.2.
Jaroslav Kysela [Thu, 16 Sep 1999 16:34:09 +0000 (16:34 +0000)]
More TEMPO updates..
Jaroslav Kysela [Thu, 16 Sep 1999 13:51:23 +0000 (13:51 +0000)]
Event->data.queue.value is now used for tempo value...
Jaroslav Kysela [Thu, 16 Sep 1999 09:26:28 +0000 (09:26 +0000)]
In alsa-lib in snd_seq_close() there are a couple of
missing calls to free().
Jaroslav Kysela [Mon, 13 Sep 1999 17:33:56 +0000 (17:33 +0000)]
Taro Watanabe <taro@cs.cmu.edu>
Sat, 11 Sep 1999 13:17:27 -0400
Pan1 element handling.
Jaroslav Kysela [Mon, 6 Sep 1999 17:45:31 +0000 (17:45 +0000)]
Changed versioning
Jaroslav Kysela [Wed, 1 Sep 1999 22:19:11 +0000 (22:19 +0000)]
Takashi Iwai <iwai@ww.uni-erlangen.de> Mon, 30 Aug 1999 14:56:38 +0200
Jaroslav Kysela [Wed, 1 Sep 1999 21:53:46 +0000 (21:53 +0000)]
Fix for 16-bit and/or stereo samples...
Jaroslav Kysela [Thu, 26 Aug 1999 12:59:22 +0000 (12:59 +0000)]
0.5.0
Jaroslav Kysela [Thu, 26 Aug 1999 12:01:18 +0000 (12:01 +0000)]
Small updates to follow new sequencer changes..
Jaroslav Kysela [Thu, 26 Aug 1999 10:23:28 +0000 (10:23 +0000)]
More sequencer extension (event hop counter, get information about subscription)..
Jaroslav Kysela [Mon, 23 Aug 1999 19:39:14 +0000 (19:39 +0000)]
Added aseqnet...
Jaroslav Kysela [Mon, 23 Aug 1999 16:16:48 +0000 (16:16 +0000)]
Cleanups..
Jaroslav Kysela [Mon, 23 Aug 1999 08:10:49 +0000 (08:10 +0000)]
Added version..
Jaroslav Kysela [Sun, 22 Aug 1999 13:34:31 +0000 (13:34 +0000)]
PCM SUBDEVICE selection enhancements
Jaroslav Kysela [Fri, 20 Aug 1999 20:27:07 +0000 (20:27 +0000)]
Added aconnect example..
Jaroslav Kysela [Fri, 20 Aug 1999 20:16:46 +0000 (20:16 +0000)]
Fixes for PCM loopback..
Jaroslav Kysela [Thu, 19 Aug 1999 16:35:48 +0000 (16:35 +0000)]
Sequencer queue remove events
Jaroslav Kysela [Thu, 19 Aug 1999 13:39:10 +0000 (13:39 +0000)]
0.4.1
Frank van de Pol [Sun, 8 Aug 1999 17:41:09 +0000 (17:41 +0000)]
Changes to allow external synchronisation + fix to get external midi working again.
Jaroslav Kysela [Sun, 8 Aug 1999 09:52:27 +0000 (09:52 +0000)]
0.4.0
Frank van de Pol [Fri, 6 Aug 1999 19:31:15 +0000 (19:31 +0000)]
Enhanced timing accuracy for real-time timestamps.
Jaroslav Kysela [Fri, 6 Aug 1999 13:56:45 +0000 (13:56 +0000)]
Lang additions..
Jaroslav Kysela [Mon, 2 Aug 1999 22:02:14 +0000 (22:02 +0000)]
New autoloading changes..
Jaroslav Kysela [Thu, 29 Jul 1999 13:10:52 +0000 (13:10 +0000)]
susumu-o@debian.or.jp - various fixes...
Jaroslav Kysela [Tue, 27 Jul 1999 19:45:10 +0000 (19:45 +0000)]
Mixer read filter...
Jaroslav Kysela [Thu, 22 Jul 1999 18:10:19 +0000 (18:10 +0000)]
More mixer updates (probably last asound.h changes for group enhancements)...
Tim Janik [Thu, 22 Jul 1999 12:18:42 +0000 (12:18 +0000)]
* update to libtool 1.3.3
* check for SND_PROTOCOL_INCOMPATIBLE instead of the old
SND_PROTOCOL_UNCOMPATIBLE
-timj
Jaroslav Kysela [Thu, 22 Jul 1999 10:49:39 +0000 (10:49 +0000)]
More mixer updates and some fixes...
Jaroslav Kysela [Thu, 22 Jul 1999 08:37:23 +0000 (08:37 +0000)]
Removed -fomit-frame-pointer..
Jaroslav Kysela [Tue, 20 Jul 1999 22:00:59 +0000 (22:00 +0000)]
Mixer interface updates (group extensions)..
Jaroslav Kysela [Mon, 19 Jul 1999 08:26:24 +0000 (08:26 +0000)]
Mixer enhancements..
Jaroslav Kysela [Sun, 18 Jul 1999 17:22:16 +0000 (17:22 +0000)]
Fix for format member..