Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								83a533d1a7 
								
							 
						 
						
							
							
								
								[alsa-lib] Avoid zero division  
							
							 
							
							... 
							
							
							
							Check the invalid parameters in snd_pcm_sw_params() beforehand to avoid
zero division. 
							
						 
						
							2004-09-17 17:36:18 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								5586e5cbb1 
								
							 
						 
						
							
							
								
								added a new plugin "iec958" to convert IEC958 subframes.  
							
							 
							
							
							
						 
						
							2004-05-04 15:13:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2cb16f857d 
								
							 
						 
						
							
							
								
								Prefer SND_ macros over SNDRV_ ones  
							
							 
							
							
							
						 
						
							2004-04-20 13:52:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2bad31bbf4 
								
							 
						 
						
							
							
								
								Fixed bugs detected by Intel compiler  
							
							 
							
							
							
						 
						
							2004-04-20 13:42:48 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								965222c3d9 
								
							 
						 
						
							
							
								
								fixed compile warnings.  
							
							 
							
							
							
						 
						
							2004-04-15 12:52:49 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								494f3e66e4 
								
							 
						 
						
							
							
								
								fixed the handling of EINTR in read/write.  
							
							 
							
							... 
							
							
							
							EINTR can be returned during ACPI suspend/resume. 
							
						 
						
							2004-04-15 12:22:26 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b0ad5bf718 
								
							 
						 
						
							
							
								
								Next documentation update for file descriptor routines  
							
							 
							
							
							
						 
						
							2004-04-05 17:59:34 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								72e2f8046e 
								
							 
						 
						
							
							
								
								Added 24-bit copy  
							
							 
							
							
							
						 
						
							2004-03-31 14:16:31 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								f5a5284c6d 
								
							 
						 
						
							
							
								
								A next try to fix the snd_pcm_wait() behaviour with direct plugins  
							
							 
							
							
							
						 
						
							2004-03-24 08:50:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								f70e0fd468 
								
							 
						 
						
							
							
								
								Added mmap_avail() check to snd_pcm_wait() function  
							
							 
							
							
							
						 
						
							2004-03-23 13:29:52 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7c201b510a 
								
							 
						 
						
							
							
								
								- added poll_ask callback to mangle avail_min (rate_plugin as example)  
							
							 
							
							... 
							
							
							
							- added mangling of avail_min to rate_plugin
- added poll_fd_count variable
- FIXME: move poll_revents callback to fast_ops 
							
						 
						
							2004-03-17 11:48:14 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								14b37bcd85 
								
							 
						 
						
							
							
								
								Fixed comments for snd_pcm_avail_update/snd_pcm_delay/snd_pcm_hwsync  
							
							 
							
							
							
						 
						
							2004-03-12 19:07:20 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								1c9c7754eb 
								
							 
						 
						
							
							
								
								Changed specification for silence_size  
							
							 
							
							
							
						 
						
							2004-03-05 08:14:05 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								0ecc03111d 
								
							 
						 
						
							
							
								
								Improved comments for poll_descriptors  
							
							 
							
							
							
						 
						
							2004-03-03 12:54:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Clemens Ladisch 
								
							 
						 
						
							
							
							
							
								
							
							
								16a15f56c4 
								
							 
						 
						
							
							
								
								fix doxygen errors (syntax errors and wrong references)  
							
							 
							
							
							
						 
						
							2004-03-02 17:13:49 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								59b6cbec84 
								
							 
						 
						
							
							
								
								Correction for explanation of near functions  
							
							 
							
							
							
						 
						
							2004-03-02 07:51:50 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								9747c69809 
								
							 
						 
						
							
							
								
								Fixed return comment for *near() functions  
							
							 
							
							
							
						 
						
							2004-03-01 08:53:50 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								10942aee61 
								
							 
						 
						
							
							
								
								Reverted deprecated functions and added linker warning to them  
							
							 
							
							
							
						 
						
							2004-02-23 10:34:17 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								a0bdb34f0d 
								
							 
						 
						
							
							
								
								Remove these functions (alsa-oss package no longer use them):  
							
							 
							
							... 
							
							
							
							snd_pcm_uframes_t _snd_pcm_mmap_hw_ptr(snd_pcm_t *pcm)
snd_pcm_uframes_t _snd_pcm_boundary(snd_pcm_t *pcm) 
							
						 
						
							2004-02-21 20:38:07 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								131d6610fc 
								
							 
						 
						
							
							
								
								Fixed file plugin - mmap access was broken and revents were not handled correctly  
							
							 
							
							
							
						 
						
							2004-02-08 10:19:52 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								9505cbe5d8 
								
							 
						 
						
							
							
								
								Added start_threshold sanity checks  
							
							 
							
							
							
						 
						
							2004-02-06 09:38:49 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								bf978c3ff2 
								
							 
						 
						
							
							
								
								Fixed non-versions build  
							
							 
							
							
							
						 
						
							2004-01-21 09:30:59 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								9105bb7fcd 
								
							 
						 
						
							
							
								
								Added SNDRV_PCM_STATE_DISCONNECTED state.  
							
							 
							
							... 
							
							
							
							Changed direct plugins to handle DISCONNECT/SUSPEND states from slave. 
							
						 
						
							2004-01-19 19:48:27 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								b833982c70 
								
							 
						 
						
							
							
								
								- added asym plugin.  
							
							 
							
							
							
						 
						
							2004-01-08 14:05:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								56c0ba4371 
								
							 
						 
						
							
							
								
								Added more stop threshold comments  
							
							 
							
							
							
						 
						
							2003-12-29 09:10:48 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								d4af763f8a 
								
							 
						 
						
							
							
								
								Switch from old to new PCM API retaining binary compatibility  
							
							 
							
							... 
							
							
							
							Changed version to 1.0.0pre1 
							
						 
						
							2003-11-05 10:38:37 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								87425aed82 
								
							 
						 
						
							
							
								
								added more descriptions.  
							
							 
							
							
							
						 
						
							2003-10-31 18:52:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								e489376d5d 
								
							 
						 
						
							
							
								
								use only #xxx to link (for the recent doxygen).  
							
							 
							
							
							
						 
						
							2003-10-20 14:04:21 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								cb1f308ab5 
								
							 
						 
						
							
							
								
								NULL check in mmap_begin()  
							
							 
							
							
							
						 
						
							2003-07-23 06:57:53 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								0d1fc81692 
								
							 
						 
						
							
							
								
								Fixed typo  
							
							 
							
							
							
						 
						
							2003-07-16 19:31:42 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ed9961c9a2 
								
							 
						 
						
							
							
								
								Fixed snd_pcm_wait() function  
							
							 
							
							
							
						 
						
							2003-07-16 19:31:15 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								f073afbdfa 
								
							 
						 
						
							
							
								
								- snd_pcm_wait() returns more understandable error code when an error  
							
							 
							
							... 
							
							
							
							happens during poll().
- clean up the code along with the change above. 
							
						 
						
							2003-07-16 11:37:25 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b004a9d791 
								
							 
						 
						
							
							
								
								Added snd_pcm_munmap() call to snd_pcm_close() - free all resources  
							
							 
							
							
							
						 
						
							2003-06-22 09:59:03 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								a24442958b 
								
							 
						 
						
							
							
								
								Use snd_pcm_hwsync() rather than snd_pcm_delay() in write_areas()  
							
							 
							
							
							
						 
						
							2003-05-04 20:06:30 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								573f85dc1d 
								
							 
						 
						
							
							
								
								- added shm area manager code  
							
							 
							
							... 
							
							
							
							- fixed parsing of period_size/buffer_size options for dmix, dsnoop and
  dshare plugins 
							
						 
						
							2003-04-23 12:41:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								2978d18323 
								
							 
						 
						
							
							
								
								check the current pcm status in snd_pcm_read/write_areas() if  
							
							 
							
							... 
							
							
							
							snd_pcm_wait() returns an error.  this will fix the bogus
return code of snd_pcm_readi/writei(). 
							
						 
						
							2003-03-27 09:10:22 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								bc28eccdcd 
								
							 
						 
						
							
							
								
								Extracted common code from dmix plugin.  
							
							 
							
							... 
							
							
							
							Initial framework for dsnoop and dshare plugins. 
							
						 
						
							2003-03-18 20:37:42 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								fea03e9eba 
								
							 
						 
						
							
							
								
								Fixed compilation --with-versioned=no  
							
							 
							
							
							
						 
						
							2003-03-11 18:51:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								157107491c 
								
							 
						 
						
							
							
								
								Added snd_pcm_type_name()  
							
							 
							
							... 
							
							
							
							Fixed rate conversion plugin (SIGSEGV) - rounding problem 
							
						 
						
							2003-03-08 16:35:18 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								3cc4c86fb2 
								
							 
						 
						
							
							
								
								Moved pcm_jack plugin to src/pcm/ext directory (must be build manually).  
							
							 
							
							... 
							
							
							
							The pcm open functions looks to /usr/lib/alsa-lib directory for plugins
like jack. 
							
						 
						
							2003-03-05 19:56:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								1ac62945f8 
								
							 
						 
						
							
							
								
								Added htstamp functions  
							
							 
							
							
							
						 
						
							2003-02-28 20:29:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								cf9e518d51 
								
							 
						 
						
							
							
								
								Timestamp update (struct timeval -> struct timespec).  
							
							 
							
							
							
						 
						
							2003-02-28 17:23:28 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7b09000813 
								
							 
						 
						
							
							
								
								Removed snd_pcm_hwdiff() function  
							
							 
							
							
							
						 
						
							2003-02-22 17:53:01 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								b5316c86cc 
								
							 
						 
						
							
							
								
								Fixed compilation problem for dmix (donot_close)  
							
							 
							
							
							
						 
						
							2003-02-12 11:49:47 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								06cccc6a78 
								
							 
						 
						
							
							
								
								Fixed description of test hw_params functions  
							
							 
							
							
							
						 
						
							2003-02-11 09:34:09 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7c5e5f5728 
								
							 
						 
						
							
							
								
								Added snd_pcm_sw_params_get_boundary() function.  
							
							 
							
							... 
							
							
							
							Implemented refine function in dmix. 
							
						 
						
							2003-02-05 21:26:14 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								073dff1ba1 
								
							 
						 
						
							
							
								
								Commented out FD_CLOEXEC fcntl() calls  
							
							 
							
							
							
						 
						
							2003-02-05 11:00:16 +00:00