Commit graph

50 commits

Author SHA1 Message Date
Abramo Bagnara
2284d80ef0 Fixed one typo and one thinko 2000-05-18 14:38:10 +00:00
Abramo Bagnara
7b054f4dce - splitted mmap in logical steps
- optimized mmap transfer
- completed mmap helpers
- renamed pcm_plugin_build.c to pcm_common.c
2000-05-16 15:20:34 +00:00
Jaroslav Kysela
1cd6778173 Merged pcm2 branch. 2000-05-08 18:53:38 +00:00
Abramo Bagnara
5673d299a9 Cleaned pcm internals. Added mmap'able plugins 2000-04-17 17:31:41 +00:00
Abramo Bagnara
cab3f4819b Implemented voice_setup. Changed mmap control 2000-04-16 15:36:30 +00:00
Abramo Bagnara
427a14e32b Renamed for congruency two fields 2000-04-16 15:28:42 +00:00
Abramo Bagnara
22b1b2a64d Fixed return value 2000-04-13 21:17:03 +00:00
Jaroslav Kysela
31c7d12284 Removed double goto. 2000-04-13 14:59:38 +00:00
Abramo Bagnara
2c07d4f1ea Avoided useless writev use 2000-04-13 11:45:39 +00:00
Abramo Bagnara
e963b9f371 Removed obsolete interleave plugin. Rewritten and fixed other for efficiency. 2000-04-12 20:38:48 +00:00
Jaroslav Kysela
098b4b6a96 New plugin interface with readv/writev support.
Initial code.
2000-03-29 20:26:06 +00:00
Abramo Bagnara
e7d099089c Removed volbal plugin (substituted with route) 2000-03-22 16:22:12 +00:00
Abramo Bagnara
6949222d36 Added route plugin 2000-03-22 16:20:23 +00:00
Abramo Bagnara
bce4a22410 Removed voices plugin 2000-03-22 16:20:05 +00:00
Abramo Bagnara
43e11d788a Removed voices and volbal plugins. Rewritten interleave plugin. Changed some name in linear 2000-03-22 16:18:04 +00:00
Jaroslav Kysela
54d348c4d7 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.
2000-03-21 17:36:27 +00:00
Jaroslav Kysela
ea8a84d3c1 Moved EXPORT_SYMBOL tags for driver to plugin.c only. 2000-02-27 20:07:45 +00:00
Jaroslav Kysela
4637dfaa3e Fixed return codes (added EPIPE). 2000-02-22 17:36:34 +00:00
Jaroslav Kysela
c808ac0806 Massive fixes in the mmap plugin (NONBLOCK, poll). 2000-01-28 22:45:18 +00:00
Abramo Bagnara
e88db2cc00 Fixed integer types use 2000-01-16 12:32:10 +00:00
Abramo Bagnara
fc0a0352db Get rid of compiler warning 2000-01-08 21:59:57 +00:00
Abramo Bagnara
63f5a79562 - 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
2000-01-08 20:11:33 +00:00
Abramo Bagnara
077ba9f7f4 Order and indentation fix 1999-12-27 22:22:13 +00:00
Abramo Bagnara
5b0c6ba74a Added 24 bit sample support 1999-12-27 22:06:24 +00:00
Abramo Bagnara
8738da23d8 Completed linear plugin 1999-12-25 15:25:46 +00:00
Abramo Bagnara
cde18e13bc Fixed return value for plugin transfer function 1999-12-25 15:23:47 +00:00
Jaroslav Kysela
b2b360fc66 Uros Bizjak <uros@kss-loka.si>
Tue, 14 Dec 1999 09:44:18 +0100 (CET)
Endianness fixes...
1999-12-14 17:12:23 +00:00
Jaroslav Kysela
637a8dd5b0 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.
1999-12-12 17:26:13 +00:00
Jaroslav Kysela
a3b8114c84 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.
1999-12-11 20:21:55 +00:00
Jaroslav Kysela
00f2df9954 Abramo Bagnara <abramo@alsa-project.org>
Sat, 11 Dec 1999 16:16:34 +0100
- PCM plugin fixes
1999-12-11 20:08:34 +00:00
Jaroslav Kysela
20ebae20a7 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
1999-12-11 11:46:05 +00:00
Jaroslav Kysela
dc490583b2 - recoded the capture order plugin calls
- the rate resampling is much more smoother for "downsampling" (shrinking)
1999-12-10 14:43:25 +00:00
Jaroslav Kysela
d0fc70a1c7 Next plugin fixes... 1999-12-10 00:13:46 +00:00
Jaroslav Kysela
15c2b15ba1 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).
1999-12-09 09:21:56 +00:00
Jaroslav Kysela
6aabe84a5e 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)
1999-12-06 00:01:26 +00:00
Jaroslav Kysela
2f68297615 Small fixes.. 1999-12-05 21:11:59 +00:00
Jaroslav Kysela
78dc424b72 PCM plugin patches made by Abramo Bagnara.
Added new plugin - voice & balance.
1999-12-02 14:31:26 +00:00
Jaroslav Kysela
12e03f1928 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)
1999-12-01 19:44:14 +00:00
Jaroslav Kysela
34018cf902 Copyright change.. 1999-12-01 19:37:05 +00:00
Jaroslav Kysela
85762c0472 Initial version.. 1999-12-01 19:31:47 +00:00
Jaroslav Kysela
3239ca9940 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.
1999-11-28 18:10:47 +00:00
Jaroslav Kysela
9c524f9e7c Small fix... 1999-11-25 11:46:30 +00:00
Jaroslav Kysela
adb16d5236 Fixed many bugs.. 1999-11-25 10:15:28 +00:00
Jaroslav Kysela
9433839ddd Some small fixes... 1999-11-24 18:17:00 +00:00
Jaroslav Kysela
875d195da0 Returned back some right code. 1999-11-24 17:02:42 +00:00
Jaroslav Kysela
4a01380a7b Added new PCM functions (pcm_misc.c).
New plugins: rate, voices.
1999-11-24 17:00:16 +00:00
Jaroslav Kysela
368d383feb More fixes... 1999-11-14 20:24:46 +00:00
Jaroslav Kysela
0c10299487 Fixes in case... 1999-11-14 19:56:39 +00:00
Jaroslav Kysela
8328751e64 Fixed mmaped access.. 1999-11-08 23:19:36 +00:00
Jaroslav Kysela
600dc6ae32 Merged pcm-v2 branch into main CVS tree. 1999-11-06 23:47:07 +00:00