Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								7716fd1e3d 
								
							 
						 
						
							
							
								
								fixes by Art Haas <ahaas@airmail.net>:  
							
							 
							
							... 
							
							
							
							rewritten with C99 struct initialization style. 
							
						 
						
							2003-07-25 17:02:00 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7ecb338398 
								
							 
						 
						
							
							
								
								Use internal snd_pcm_forward() version...  
							
							 
							
							
							
						 
						
							2003-03-07 18:46:25 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2dab1dfbc3 
								
							 
						 
						
							
							
								
								Removed snd_pcm_hwptr().  
							
							 
							
							... 
							
							
							
							Added snd_pcm_hwdiff() and snd_pcm_forward().
Returned the behaviour for snd_pcm_mmap_begin(). 
							
						 
						
							2003-02-22 17:19:02 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								fbd99fdec0 
								
							 
						 
						
							
							
								
								Added snd_pcm_hwptr() and enhanced snd_pcm_mmap_begin() for no xrun mode.  
							
							 
							
							
							
						 
						
							2003-02-22 10:19:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								af89cefd99 
								
							 
						 
						
							
							
								
								More changes for dmix plugin:  
							
							 
							
							... 
							
							
							
							- added poll_events to main pcm structure
  - added poll_revents callback to pcm->ops structure
  - fixed snd_pcm_wait() - call revents function and enhanced
    error code reporting
DMIX plugin:
  - more complete code (works at least for one instance)
  - still no "mix" code (it's silent) 
							
						 
						
							2003-02-11 18:14:43 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								8205a95376 
								
							 
						 
						
							
							
								
								Replaced snd_pcm_avail() with snd_pcm_hwsync()  
							
							 
							
							
							
						 
						
							2002-10-12 11:49:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								e859cf2644 
								
							 
						 
						
							
							
								
								Implemented snd_pcm_avail() function.  
							
							 
							
							... 
							
							
							
							More documentation updates for snd_pcm_avail_update() and snd_pcm_delay().
Updated behaviour of read/write functions (wait when buffer is full) to
follow kernel. 
							
						 
						
							2002-10-11 18:39:24 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								c941c548f8 
								
							 
						 
						
							
							
								
								Moved ring buffer pointers and added a mechanism to transfer them via shm  
							
							 
							
							
							
						 
						
							2002-04-23 15:51:29 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								853304bbf4 
								
							 
						 
						
							
							
								
								Corrections by Kevin Conder <kconder@interaccess.com>  
							
							 
							
							
							
						 
						
							2002-03-12 20:14:33 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								42c4c163a3 
								
							 
						 
						
							
							
								
								Fixed against latest internal API  
							
							 
							
							
							
						 
						
							2002-02-22 08:21:18 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								e128bf856e 
								
							 
						 
						
							
							
								
								Cleaned the mmap_commit implementations in plugins.  
							
							 
							
							... 
							
							
							
							Added undo callbacks for snd_pcm_plugin based plugins.
  - helpers when mmap_commit proceed only a partial transfer
Fixes to avail_update implementation in pcm_hw.c. 
							
						 
						
							2002-02-21 15:01:34 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								a24b602f28 
								
							 
						 
						
							
							
								
								Added initial comments for PCM plugins  
							
							 
							
							
							
						 
						
							2002-01-16 16:42:40 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								3e3df2d32b 
								
							 
						 
						
							
							
								
								Updated GNU GPL license (address).  
							
							 
							
							... 
							
							
							
							Changed GNU LGPL licence from 2.0 to 2.1. 
							
						 
						
							2001-12-30 09:22:54 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								0917ba63b0 
								
							 
						 
						
							
							
								
								Changed result of mmap_commit callback  
							
							 
							
							... 
							
							
							
							(follows description of snd_pcm_mmap_commit function). 
							
						 
						
							2001-12-08 21:02:20 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								c39882f602 
								
							 
						 
						
							
							
								
								Configuration:  
							
							 
							
							... 
							
							
							
							- changed snd_config_get_id function to follow semantic of other get functions
  - added snd_config_test_id
  - added runtime pointer type (not persistent)
    - added snd_config_make_pointer, snd_config_set_pointer, snd_config_get_pointer
  - added type/contents checking for callback functions
    - changed 'void *private_data' to 'snd_config_t *private_data'
  - renamed card_strtype functions to card_driver
Control:
  - fixed passing parameters to snd_ctl_async
Async handlers:
  - added public snd_async_handler_get_signo function
Documentation:
  - moved all documentation to source files 
							
						 
						
							2001-11-19 08:14:21 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								27472b56a6 
								
							 
						 
						
							
							
								
								Changes for static build.  
							
							 
							
							
							
						 
						
							2001-10-24 14:14:11 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								3c59c6b11d 
								
							 
						 
						
							
							
								
								Added power management functions and defines.  
							
							 
							
							
							
						 
						
							2001-09-26 13:57:04 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b45c08611c 
								
							 
						 
						
							
							
								
								Added symbol versioning for dlsym-callbacks.  
							
							 
							
							... 
							
							
							
							Removed snd_config_refer_load from confmisc.c and pcm.c. 
							
						 
						
							2001-08-15 12:12:16 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								fcd164e622 
								
							 
						 
						
							
							
								
								Permit to PCM plug configuration to specify unchanged parameters. Added support for RT signals to async interface. Added ops for PCM mix.  
							
							 
							
							
							
						 
						
							2001-07-07 15:53:20 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								157f47aedd 
								
							 
						 
						
							
							
								
								New async notification API. Removed obsolete surround. Cleaning  
							
							 
							
							
							
						 
						
							2001-06-20 20:52:12 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								1e0c53a11c 
								
							 
						 
						
							
							
								
								Added context handling for snd_config_expand.  
							
							 
							
							... 
							
							
							
							PCM slave configuration is now dynamic. 
							
						 
						
							2001-06-16 22:03:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								977a9a33f0 
								
							 
						 
						
							
							
								
								* Cleaned the alsa.conf syntax:  
							
							 
							
							... 
							
							
							
							- added pcm.front, pcm.rear, pcm.center_lfe blocks
* Added configuration for EMU10K1 (it's fully working one!!!)
* snd_config_redirect_load->snd_config_refer_load rename
* snd_config_search_alias code change (works also with pairs base.key)
* cleanups in the evaluate function (the function prototype has been changed) 
							
						 
						
							2001-06-15 08:47:59 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								bf780a25a5 
								
							 
						 
						
							
							
								
								Added argument handling for the slave PCMs.  
							
							 
							
							... 
							
							
							
							The configuration root (snd_config) can be specified for the internal routines.
The pcm_hooks code was recoded (independent code moved to control/setup.c).
Improved the pcm_multi plugin (added master configuration). 
							
						 
						
							2001-06-11 13:35:48 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								31e403ce9d 
								
							 
						 
						
							
							
								
								More work on pcm_hooks  
							
							 
							
							
							
						 
						
							2001-06-06 11:49:52 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								7f651b3071 
								
							 
						 
						
							
							
								
								Added hooked PCM type (one sample hook implementation will follow). Some cleaning.  
							
							 
							
							
							
						 
						
							2001-06-04 18:04:18 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								6cb24e0186 
								
							 
						 
						
							
							
								
								Added embedded/anonymous slave PCM definition  
							
							 
							
							
							
						 
						
							2001-05-14 15:44:37 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2879321023 
								
							 
						 
						
							
							
								
								Fixed linked variable reset  
							
							 
							
							
							
						 
						
							2001-04-17 09:58:06 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								6a3b962d06 
								
							 
						 
						
							
							
								
								Better PCM mmap API. Fixed pcm_multi  
							
							 
							
							
							
						 
						
							2001-04-13 15:40:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								5b50ec848a 
								
							 
						 
						
							
							
								
								Lot of cleanings with the help of gcc3  
							
							 
							
							
							
						 
						
							2001-03-29 17:50:28 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								a275d66356 
								
							 
						 
						
							
							
								
								Improved .asoundrc changes  
							
							 
							
							
							
						 
						
							2001-03-17 16:34:43 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								bbaeb29a74 
								
							 
						 
						
							
							
								
								Renamed ERR to SNDERR. Added s16 pseudo meter scope. Fixed plug hw_refine/params  
							
							 
							
							
							
						 
						
							2001-03-04 20:39:02 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								3830b168ef 
								
							 
						 
						
							
							
								
								Improved plugin code (simpler, faster and multithread ready)  
							
							 
							
							
							
						 
						
							2001-02-27 13:42:12 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								460660d4b4 
								
							 
						 
						
							
							
								
								More generic support for poll descriptors  
							
							 
							
							
							
						 
						
							2001-02-12 23:51:49 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								a2d3434961 
								
							 
						 
						
							
							
								
								Completed mixer API. Improved iterators. Renamed control values struct. Rewritten simple elements implementation  
							
							 
							
							
							
						 
						
							2001-02-11 15:45:35 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								66f13f6115 
								
							 
						 
						
							
							
								
								Splitted rawmidi streams. Removed stream constraint on config files  
							
							 
							
							
							
						 
						
							2001-02-07 13:30:40 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								3e091c8822 
								
							 
						 
						
							
							
								
								Encapsulated conf API  
							
							 
							
							
							
						 
						
							2001-02-07 11:34:33 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								8f0cb26fdf 
								
							 
						 
						
							
							
								
								Control API encapsulation. Better names for kernel API. Simpler PCM hw_params API. Added missing const.  
							
							 
							
							
							
						 
						
							2001-02-06 23:48:10 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								4c9fd35a60 
								
							 
						 
						
							
							
								
								Added missing rawmidi functions. Cleaned PCM use of masks  
							
							 
							
							
							
						 
						
							2001-02-04 18:57:05 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								a7561a9c7e 
								
							 
						 
						
							
							
								
								Corrected and completed encapsulation for PCM and rawmidi. Remove SND_PCM_HW_PARAM_* and use functions. Separated rawmidi info between streams  
							
							 
							
							
							
						 
						
							2001-02-04 17:03:17 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								de19407578 
								
							 
						 
						
							
							
								
								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:56 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								8712ffc6a5 
								
							 
						 
						
							
							
								
								Added snd_ prefix to mask and interval. Divided header.h wrappers  
							
							 
							
							
							
						 
						
							2001-01-30 16:51:26 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								20b70b6d19 
								
							 
						 
						
							
							
								
								Fixed refinement  
							
							 
							
							
							
						 
						
							2001-01-21 17:03:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								f12a252f20 
								
							 
						 
						
							
							
								
								Added support for hw_free in alsa-lib  
							
							 
							
							
							
						 
						
							2001-01-19 13:10:50 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								3126678e72 
								
							 
						 
						
							
							
								
								Major cleaning to hw_params mechanism for plugins  
							
							 
							
							
							
						 
						
							2001-01-18 18:20:31 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								e283a3f642 
								
							 
						 
						
							
							
								
								Added I/O classes  
							
							 
							
							
							
						 
						
							2001-01-17 11:00:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								aa813e1f39 
								
							 
						 
						
							
							
								
								Uniformed some internal names. Bug fixes  
							
							 
							
							
							
						 
						
							2001-01-15 15:15:24 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								cc90e32557 
								
							 
						 
						
							
							
								
								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:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								8f1b27dfb8 
								
							 
						 
						
							
							
								
								PCM API cleaning. silencing implementation. xfer_min removal  
							
							 
							
							
							
						 
						
							2000-12-29 15:00:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								9acdef38c9 
								
							 
						 
						
							
							
								
								Added snd_*_card() functions.  
							
							 
							
							
							
						 
						
							2000-12-22 14:03:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								c268a4bf56 
								
							 
						 
						
							
							
								
								Removed dig_info & dig_params..  
							
							 
							
							
							
						 
						
							2000-12-21 21:52:40 +00:00