Commit graph

68 commits

Author SHA1 Message Date
Abramo Bagnara
9059d26167 Fixed double increment 2000-07-18 13:37:36 +00:00
Abramo Bagnara
84cb338f83 Added dump facility. Continued pcm_multi implementation 2000-07-17 15:33:29 +00:00
Abramo Bagnara
73a9e4c943 Fixed ignoring error 2000-07-16 11:29:33 +00:00
Abramo Bagnara
41499be5ab Fixed tiny hidden bug 2000-07-16 11:28:45 +00:00
Abramo Bagnara
3c9755bb7e Better handling of odd situations 2000-07-14 09:31:23 +00:00
Abramo Bagnara
b312f52b76 pcm handle split. Moved buffer to plugin struct 2000-06-21 15:03:06 +00:00
Abramo Bagnara
e8cac7de4d Changed ALSA unit from bytes to frames. Splitted mmap control structs. Better midlevel interrupt handler 2000-06-10 12:39:51 +00:00
Abramo Bagnara
7fe55fff6a Fix for frame size not byte aligned 2000-06-05 15:28:39 +00:00
Abramo Bagnara
0888689aec Renamed status field in state 2000-06-05 11:38:02 +00:00
Abramo Bagnara
a44c94959e Changed other static checks in assert 2000-06-04 16:24:04 +00:00
Abramo Bagnara
ef2a9bdd88 Added mmap_control access function. Converted static checks in asserts. Uniformed avail functions to kernel code 2000-06-04 13:13:01 +00:00
Abramo Bagnara
f11e203d6e Added snd_pcm_stream_state and snd_pcm_stream_byte_io. Added needed callbacks and cleaned some existing. Fixed byte_boundary request 2000-06-01 21:58:25 +00:00
Abramo Bagnara
6a95bf1516 Endianess cleaning 2000-05-30 18:54:44 +00:00
Abramo Bagnara
1a7f88d10e Better names for ALSA API. Added min_fragments, max_fragments. 2000-05-27 16:52:17 +00:00
Abramo Bagnara
9eb2c42445 Renamed samples in frames where appropriated. Added a compatibility hack for gcc 2.7.2.3 2000-05-24 21:35:55 +00:00
Abramo Bagnara
cc5730a49e Fixed return value 2000-05-24 05:36:23 +00:00
Abramo Bagnara
c582ff51b6 Removed frag_* fields. Collapsed I/O plugins. Added to mmap plugin support for stream mode 2000-05-23 12:52:06 +00:00
Abramo Bagnara
0b2b3c8a81 Changed route plugin arithmetic to unsigned. Choosen better names for plugin ops 2000-05-20 13:18:55 +00:00
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