Commit graph

309 commits

Author SHA1 Message Date
Abramo Bagnara
a2426856b3 Removed card type from devices info. Added card number to devices info. Completed encapsulation of PCM API. Removed snd_pcm_card(). All copy functions now have the form copy(dst, src). 2001-01-31 17:26:59 +00:00
Abramo Bagnara
6f4c05c64a Added snd_ prefix to mask and interval. Divided header.h wrappers 2001-01-30 16:51:28 +00:00
Abramo Bagnara
d1f96b62a8 First step toward encapsulation 2001-01-29 14:27:56 +00:00
Abramo Bagnara
72db56ca30 Fixed aplay -l 2001-01-29 08:41:26 +00:00
Abramo Bagnara
025a1c8d26 Added I/O classes 2001-01-17 11:00:34 +00:00
Abramo Bagnara
be058e4a04 Changed some remaining size_t's 2001-01-15 13:43:08 +00:00
Abramo Bagnara
744c8798c0 New PCM model with fragment concept removal and two interrupt sources
Renamed size_t/ssize_t to snd_pcm_sframes_t/snd_pcm_uframes_t
2001-01-15 11:06:55 +00:00
Abramo Bagnara
7b49188c03 Fixed missing mask initialization 2001-01-09 19:35:52 +00:00
Abramo Bagnara
924fa1704a PCM API cleaning. silencing implementation. xfer_min removal 2000-12-29 15:00:55 +00:00
Jaroslav Kysela
652941f76e Updated the S/PDIF test code. 2000-12-22 14:03:15 +00:00
Jaroslav Kysela
84f294a3b9 S/PDIF related changes.. 2000-12-21 21:53:07 +00:00
Abramo Bagnara
a3696de829 New hw_params implementation 2000-12-21 20:44:11 +00:00
Jaroslav Kysela
2f0a374adb pcm_name defaults to plug:0,0 2000-12-11 12:29:49 +00:00
Abramo Bagnara
2f6416f347 Fixed non interleaved with only one channels case 2000-12-11 11:19:39 +00:00
Abramo Bagnara
eadcd7a727 Runtime hw_info constraints support. New hw_info with lengths 2000-12-07 15:58:04 +00:00
Abramo Bagnara
5f542e20aa More relaxed strategy 2000-12-04 10:08:30 +00:00
Jaroslav Kysela
3180b94099 Updates for the latest API (the next device changes). 2000-11-30 19:25:50 +00:00
Abramo Bagnara
b62a07a9db Fixed sw_params 2000-11-30 14:14:36 +00:00
Jaroslav Kysela
fd099e6484 Added debug flags 2000-11-29 18:34:03 +00:00
Abramo Bagnara
95785f81a3 Missing letters 2000-11-29 18:29:31 +00:00
Abramo Bagnara
880f642260 Added experimental options for spdif output (for debugging purpose) 2000-11-29 18:27:33 +00:00
Abramo Bagnara
c3348ac9dd Cleaned all hw_info. Removed snd_pcm_hw_{info,params}_rules* and changed strategy to allow the same functionality. Cleaned names tables. Added informative failure 2000-11-29 08:32:36 +00:00
Jaroslav Kysela
25b7943321 Merged pcmfinal branch. 2000-11-20 20:11:13 +00:00
Jaroslav Kysela
cfce590e41 DESTDIR fixes 2000-11-04 12:16:28 +00:00
Abramo Bagnara
00cf60e11d Ported to alsa-lib changes 2000-10-14 10:35:24 +00:00
Abramo Bagnara
0f2eaba07a Removed memory leak 2000-10-07 17:00:33 +00:00
Abramo Bagnara
5e4997b682 Removed snd_pcm_drain done before setup 2000-10-05 11:25:01 +00:00
Abramo Bagnara
fe0398a0f6 Removed ptrs from status. Some cleaning for alsa-lib 2000-10-05 10:26:08 +00:00
Abramo Bagnara
da8c3eddb0 Removed xrun_max. Cleaned xrun handling 2000-10-03 06:47:16 +00:00
Abramo Bagnara
907eba4cf9 Removed xrun_act. Added SND_PCM_STATE_DRAINING. Clean spinlock abuse in read/write path 2000-10-02 20:23:29 +00:00
Abramo Bagnara
543e387fc8 Renamed stop -> drop in API 2000-10-02 07:00:00 +00:00
Abramo Bagnara
2ec99095fe Completed renaming drain->stop, flush->drain (PCM). Done renaming drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap 2000-09-29 20:49:20 +00:00
Jaroslav Kysela
637b3f828c Merged pcmplug branch. 2000-09-24 09:57:50 +00:00
Abramo Bagnara
d57f1ef166 Fixed thinko 2000-09-12 12:40:09 +00:00
Abramo Bagnara
5085796784 Some cleaning renames. Prepared API for new plugins 2000-09-12 07:11:02 +00:00
Abramo Bagnara
a6427e6044 Added abstraction layer to controls. Added client/server support to controls. Cleaned private_data use for PCMs. Cleaned aserver 2000-09-11 15:49:33 +00:00
Jaroslav Kysela
fad195af13 Fixed -l output 2000-09-09 23:17:04 +00:00
Jaroslav Kysela
8013b4b934 Recoded WAV file parser 2000-09-04 09:18:13 +00:00
Jaroslav Kysela
9d3cbc3833 Next fix in safe_read 2000-08-29 08:04:19 +00:00
Abramo Bagnara
44ee42e587 Better name for snd_card_get_index. Cleaned error messages 2000-08-25 14:36:58 +00:00
Abramo Bagnara
6add1cdfb5 Ported aplay to named PCMs 2000-08-24 17:59:21 +00:00
Jaroslav Kysela
983837e243 Fix 2000-08-23 14:38:37 +00:00
Jaroslav Kysela
bf4625ca5a More verbose errors, added safe_read for pipes 2000-08-19 09:08:39 +00:00
Abramo Bagnara
80e0e86510 Slightly better failure diagnostic 2000-08-11 21:02:34 +00:00
Jaroslav Kysela
ad018be92c 64-bit fixes.. 2000-08-04 09:55:35 +00:00
Abramo Bagnara
67aefd9f3e Added dump facility. Continued pcm_multi implementation 2000-07-17 15:33:29 +00:00
Abramo Bagnara
54164096e3 Fixed timelimit use 2000-07-12 16:25:21 +00:00
Abramo Bagnara
c88189e490 Fixed arecord bug wrt time limit 2000-07-06 17:20:49 +00:00
Abramo Bagnara
bc41b6a2b7 Moved some info fields to proper place (setup). Renamed mmap_size to mmap_bytes. Added detailed fail report to params_t. Added params_info to API. 2000-07-01 10:38:30 +00:00
Abramo Bagnara
da6110d1a3 Added cd and dat format shortcuts 2000-06-25 16:30:20 +00:00
Abramo Bagnara
35c721265c Conformance to new pcm_info semantic 2000-06-22 06:07:13 +00:00
Abramo Bagnara
c410bf9a62 Reorganized options and added support for pcm_multi 2000-06-21 15:05:06 +00:00
Abramo Bagnara
217417698c Fixed oversized silence filling 2000-06-11 13:33:16 +00:00
Abramo Bagnara
5cc8a510e9 Changed ALSA unit from bytes to frames. Splitted mmap control structs. Better midlevel interrupt handler 2000-06-10 12:39:52 +00:00
Abramo Bagnara
0ac6348583 Renamed status field in state 2000-06-05 11:38:02 +00:00
Abramo Bagnara
fb8e187f17 Commented out useless (and wrong) munmap 2000-06-04 16:26:59 +00:00
Abramo Bagnara
5825302e03 Uros Bizjak <uros@kss-loka.si>:
- fixes compilation (format.voices -> format.channels)
- ntohl -> BE_INT for AU files
- recoded AU_MAGIC header for AU files
2000-06-01 11:37:43 +00:00
Takashi Iwai
1b4bd70ef9 - Fix big-endian bug in aplay/arecord. 2000-05-30 10:12:59 +00:00
Abramo Bagnara
048c2000f8 Better .wav detection 2000-05-29 18:54:23 +00:00
Abramo Bagnara
749b454304 Better names for ALSA API. Added min_fragments, max_fragments. 2000-05-27 16:52:19 +00:00
Takashi Iwai
c8e5bf9d40 - Fix typos in endian condition check
(XXX_ENDIAN -> SND_XXX_ENDIAN)
2000-05-26 11:53:14 +00:00
Abramo Bagnara
2a0c823b25 Moved format descriptions out of kernel space. Exported setup dump function. 2000-05-25 08:36:59 +00:00
Abramo Bagnara
a44c389b7d Removed frag_* fields. Collapsed I/O plugins. Added to mmap plugin support for stream mode 2000-05-23 12:52:07 +00:00
Abramo Bagnara
23221cc296 Initial implementation of non interleaved play/record 2000-05-18 14:42:43 +00:00
Abramo Bagnara
ba5e41f7a3 Description fix 2000-05-16 18:06:39 +00:00
Abramo Bagnara
f2644facde Propagated field name change 2000-05-16 16:00:51 +00:00
Takashi Iwai
3b5c5b2268 - fix alsamixer bug which causes SEGFAULT when volume bar is changed.
- fix aplay for reading WAVE file properly even on big-endian machine.
2000-05-16 10:46:11 +00:00
Abramo Bagnara
8bc5325f98 Fixed error destination 2000-05-12 17:51:56 +00:00
Jaroslav Kysela
b77ca419f6 Merged pcm2 branch. 2000-05-08 18:54:14 +00:00
Abramo Bagnara
09502f8c1a Added mmap'able plugins 2000-04-17 17:40:06 +00:00
Abramo Bagnara
ac470cab8e Changed mmap control. Removed *right* useless mode setting 2000-04-16 15:37:30 +00:00
Abramo Bagnara
84d62fd991 Removed misleading and useless mode setting 2000-04-16 11:07:42 +00:00
Abramo Bagnara
16b31a3f6c Make explicit an assert 2000-04-12 20:44:14 +00:00
Jaroslav Kysela
35723eca5f Fixed return codes (added EPIPE). 2000-02-22 17:36:35 +00:00
Jaroslav Kysela
fcdb2f42e1 Fix for the -o parameter.
Fix int the capture error handling.
2000-01-28 22:46:00 +00:00
Jaroslav Kysela
a77f0e9208 Small cosmetic changes... 2000-01-11 13:28:15 +00:00
Abramo Bagnara
4b7b384e40 fixed function names 2000-01-10 08:16:32 +00:00
Abramo Bagnara
8344e31ce6 - 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:40 +00:00
Abramo Bagnara
744b833c5b Added right support for timelimit in 24 and 32 bits linear samples 1999-12-28 14:52:56 +00:00
Jaroslav Kysela
c0bd9ad381 MMAP changes (/dev/snd/pcmcontrol).
Removed unregister callback from snd_minor_t.
1999-12-26 17:27:47 +00:00
Abramo Bagnara
2265c964e0 Added raw format specification 1999-12-25 15:27:50 +00:00
Jaroslav Kysela
c1f35c1425 Rerouted 'Using soundcard ...' message to stderr 1999-12-13 19:17:52 +00:00
Jaroslav Kysela
1057ea82b6 Added snd_pcm_get_format_name() to alsa-lib. 1999-12-11 20:36:14 +00:00
Jaroslav Kysela
a56730c1fa Added longname printf 1999-12-11 11:43:22 +00:00
Jaroslav Kysela
d162b1026f PCM loopback API improved and added back the functionality.
Some mmap() changes for the OSS emulation.
1999-11-30 09:26:00 +00:00
Jaroslav Kysela
924b1d976a ADPCM & special formats.. 1999-11-28 18:04:29 +00:00
Jaroslav Kysela
55408731f7 More fixes for capture 1999-11-14 20:25:09 +00:00
Jaroslav Kysela
a90832df7e Added new formats... 1999-11-14 19:25:45 +00:00
Jaroslav Kysela
cbc2d3ad2e Fixed mmaped access.. 1999-11-08 23:19:37 +00:00
Jaroslav Kysela
bf4f126205 Merged pcm-v2 branch into main CVS tree. 1999-11-06 23:47:10 +00:00
Jaroslav Kysela
97e99f23b4 PCM SUBDEVICE selection enhancements 1999-08-22 13:34:40 +00:00
Jaroslav Kysela
b55e471c0c Small '-l' fixes... 1999-07-29 18:00:14 +00:00
Jaroslav Kysela
551d49e092 Compilation fixes... 1999-06-13 10:09:54 +00:00
Frank van de Pol
67f54274bd Changed data type of alsa-lib handles from 'void *' to the specific type for
the handle in use. This should be more type-safe as the compiler will perform
checking on type now.
1999-06-02 00:40:31 +00:00
Jaroslav Kysela
7a41ac1568 Changed e-mail from <perex@jcu.cz> to <perex@suse.cz>.. 1999-05-11 22:18:49 +00:00
Jaroslav Kysela
9b9ccc77e2 EGCS fix... 1999-03-09 13:54:32 +00:00
Jaroslav Kysela
4db1fd02ce Merged new-mixer branch... 1999-03-08 16:51:53 +00:00
Jaroslav Kysela
87c7c4f447 Added '-' file as stdin/stdout.. 1999-02-10 10:06:34 +00:00
Chris Cannam
d9158162d0 Convert alsa-utils to use automake 1999-01-30 19:12:34 +00:00
Jaroslav Kysela
8773d373f0 Coding style... 1998-11-27 15:17:45 +00:00
Jaroslav Kysela
221a13fc32 Initial version... 1998-11-27 14:43:15 +00:00
Jaroslav Kysela
1cf6e9aba5 Changed Speed to Rate... 1998-11-27 14:41:42 +00:00
Jaroslav Kysela
552cb61798 Fix for -V switch... 1998-11-25 20:35:55 +00:00
Jaroslav Kysela
085591d89f Little changes in #include section... 1998-11-04 18:08:08 +00:00
Jaroslav Kysela
d63ab61022 config.h renamed to aconfig.h due to conflict with glibc... 1998-08-31 09:21:36 +00:00
Jaroslav Kysela
efd0fa4035 Big renaming - from sound to asound... 1998-08-30 21:10:35 +00:00
Jaroslav Kysela
e5535421d9 Little changes for new PCM API. 1998-08-28 14:08:47 +00:00
Jaroslav Kysela
f003ef744c Removed Files:
amixer/amixer aplay/aplay
1998-08-13 16:12:52 +00:00
Jaroslav Kysela
fbb20e85ec Initial revision 1998-08-13 15:43:39 +00:00