Commit graph

970 commits

Author SHA1 Message Date
Abramo Bagnara
b9916fd7fe 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
e0acbbfef8 Added sequencer event <-> MIDI byte stream coder from the kernel space 2000-11-26 22:18:25 +00:00
Abramo Bagnara
867ad7b2bc Implemeted optimal hw_params choice 2000-11-26 12:16:18 +00:00
Abramo Bagnara
115c827b24 Added helper. Tiny cleanings 2000-11-25 21:34:36 +00:00
Jaroslav Kysela
49affda3a0 Added configurable error handlers. 2000-11-25 16:36:18 +00:00
Abramo Bagnara
8c080ce9dd Added snd_pcm_reset to API 2000-11-24 17:08:03 +00:00
Jaroslav Kysela
41bb7068f2 Merged pcmfinal branch. 2000-11-20 20:10:46 +00:00
Jaroslav Kysela
cc214bdfea Big rawmidi update - added subdevices support. 2000-11-03 10:11:50 +00:00
Jaroslav Kysela
0e561770c6 Added functions:
snd_ctl_rawmidi_prefer_subdevice
	snd_rawmidi_open_subdevice
Fixed functions:
	snd_pcm_hw_open - fixed prefer subdevice code
2000-10-30 12:15:18 +00:00
Abramo Bagnara
8d3919707e Added mmaped avail_min 2000-10-16 11:34:11 +00:00
Abramo Bagnara
03f9565ef8 More diagnostics. Fixed shm use. 2000-10-14 19:43:14 +00:00
Abramo Bagnara
a380edd64f Fixed pointers use 2000-10-14 18:34:51 +00:00
Abramo Bagnara
e5e1ca14d4 Fixed mmap wrt shm. Renamed pcm_client, control_client to shm. More error messages. Implemented asoundrc as documented. 2000-10-14 10:31:34 +00:00
Abramo Bagnara
dcc88ffaa7 Added support for async. Added error callback (and begun to use it). First implementation of pcm_share 2000-10-11 12:37:27 +00:00
Abramo Bagnara
5b3e5e6c74 Added support for different mmap areas when running or stopped. Cleanings 2000-10-07 16:59:48 +00:00
Abramo Bagnara
057f56de06 Renamed stop -> drop in API 2000-10-02 06:59:59 +00:00
Abramo Bagnara
2ea3fd4bb3 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:18 +00:00
Abramo Bagnara
fe92855cbb Added rewind to API in place of appl_ptr(). Moved aserver to a better place 2000-09-26 09:46:05 +00:00
Jaroslav Kysela
6962a9d6ce Merged pcmplug branch. 2000-09-24 09:57:26 +00:00
Abramo Bagnara
3733bbdcff Some cleaning renames. Prepared API for new plugins 2000-09-12 07:11:00 +00:00
Abramo Bagnara
df35e8457a Added abstraction layer to controls. Added client/server support to controls. Cleaned private_data use for PCMs. Cleaned aserver 2000-09-11 15:49:10 +00:00
Takashi Iwai
0868c7720b Use __cpu_to_xxx macros for endian conversion 2000-09-06 09:25:04 +00:00
Takashi Iwai
d1d906e295 Experimental synchronization support on ALSA sequencer 2000-09-05 17:15:11 +00:00
Takashi Iwai
a2026ace68 Added FM (OPL2/OPL3) instrument support by Uros Bizjak <uros@kss-loka.si>. 2000-09-01 16:24:12 +00:00
Abramo Bagnara
6f66416685 Types size fixes 2000-08-31 13:31:46 +00:00
Abramo Bagnara
4637f62ff5 First version of ALSA client/server 2000-08-31 11:21:05 +00:00
Takashi Iwai
a7f3ff4a4f New light-weight event handling:
1. No more needs to call snd_seq_event_free() for releasing the cell.
   But you should keep it anyway, both for compatibility and for future
   extension.
2. API is basically kept unmodified.  The sign of return values are same,
   i.e. positive integers will be returned if events exist on buffer/queue.
   But the exact value may be different from the older version.
3. snd_seq_event_input() renders the event directly from the static input
   buffer.  The function is not re-entrant.
4. snd_seq_event_input_selective() is removed.
2000-08-29 11:39:08 +00:00
Abramo Bagnara
ce112d1d7f Added missing functions. Removed unused one 2000-08-28 09:14:37 +00:00
Abramo Bagnara
893272bc15 Missing extern 2000-08-27 16:45:47 +00:00
Abramo Bagnara
b5576ef229 Completed conf. Better name for snd_card_get_index. Cleaned card access 2000-08-25 14:33:53 +00:00
Abramo Bagnara
244653df61 Continued config implementation. Added incomplete support for pcm 2000-08-24 17:07:44 +00:00
Abramo Bagnara
c709eb8140 First version of configuration helpers 2000-08-24 12:49:51 +00:00
Jaroslav Kysela
2d8216be00 Added string.h 2000-08-18 18:48:00 +00:00
Abramo Bagnara
2d0d687591 private_free fixes 2000-08-16 16:05:57 +00:00
Jaroslav Kysela
7376ad380e Added bag operations for the high-level control interface.
Added event layer for simple mixer controls (not fully finished).
2000-08-16 13:35:36 +00:00
Jaroslav Kysela
5bb1fcb00a Cleanups and new control functions (hfirst, hlast, hnext, hprev, hcount). 2000-08-12 15:33:17 +00:00
Jaroslav Kysela
82102903fe The highlevel control layer was rewritten and updated.
Various fixes in mixer simple layer.
Added include/list.h (from the kernel tree).
2000-08-11 19:28:43 +00:00
Jaroslav Kysela
b99128d8de UNUSED -> ATTRIBUTE_UNUSED (follows /usr/include/ansidecl.h) 2000-08-06 12:23:28 +00:00
Jaroslav Kysela
f981892e3a 64-bit fixes.
Controls API uses binary tree functions (tsearch ...).
2000-08-04 10:24:12 +00:00
Jaroslav Kysela
f5d6fdeba8 More control/mixer API updates.
Added highlevel control layer.
Recoded simple control mixer API.
2000-07-28 20:21:12 +00:00
Abramo Bagnara
59c6c40f5c Removed old sync support. Introduced linked streams 2000-07-24 08:19:34 +00:00
Abramo Bagnara
84cb338f83 Added dump facility. Continued pcm_multi implementation 2000-07-17 15:33:29 +00:00
Jaroslav Kysela
273d115de0 Removed old mixer API functions.
Added simple control layer (experimental).
2000-07-15 10:20:32 +00:00
Abramo Bagnara
74832704a8 Implemented generic sync requests 2000-07-04 19:29:16 +00:00
Abramo Bagnara
cc79e0c6ea 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:29 +00:00
Abramo Bagnara
60fa939c21 pcm handle split 2000-06-21 14:59:20 +00:00
Abramo Bagnara
0535d28240 Remove device, stream, subdevice selection and incorporated in info structs 2000-06-21 14:58:20 +00:00
Abramo Bagnara
bc252d4d26 Added hsearch_r for compatibility needs 2000-06-12 17:30:46 +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
Takashi Iwai
bbdff9fce5 Bugfix:
- dead SMP lock in es1968 (maestro2) driver.

Bugfix & enhances of sequencer stuff
    by Scott McNab <sdm@fractalgraphics.com.au>:
 - fix for the insrument list locking in SND_SEQ_EVENT_INSTR_BEGIN
   and SND_SEQ_EVENT_INSTR_END events.
   Note that nothing seems to really take notice of the list locking.
   This is more an issue when we add support for editing instruments
   anyway.

 - added new alsa-lib utility function snd_seq_ev_set_varusr() which
   is similar to snd_seq_ev_set_variable(), but specifies userspace
   extended event data.
   This is required in order to use the SND_SEQ_EVENT_INSTR_PUT
   command (took me bloody ages to work this out btw)

 - minor correction for gus & trident synth drivers
2000-06-08 10:55:34 +00:00