Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								b8c4fef8bf 
								
							 
						 
						
							
							
								
								test/pcm.c: float format support  
							
							 
							
							... 
							
							
							
							Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2009-07-06 12:31:09 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								184301ae4c 
								
							 
						 
						
							
							
								
								test/pcm.c: Generic linear PCM support  
							
							 
							
							... 
							
							
							
							- Fix the support of non-native endianness
- Conversion for unsigned formats
- Only allow linear formats
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2009-07-06 08:42:18 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								3d0843e8ce 
								
							 
						 
						
							
							
								
								test/pcm.c: Fix S24 format  
							
							 
							
							... 
							
							
							
							S24 format has different bit width and physical width.
For calculating the byte offset for big-endian packing, the latter value
has to be used.
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2009-07-06 08:41:00 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kenneth Johansson 
								
							 
						 
						
							
							
							
							
								
							
							
								d23845e563 
								
							 
						 
						
							
							
								
								test/pcm.c: Sample generation on big endian platforms was broken.  
							
							 
							
							... 
							
							
							
							Has not worked since commit 3d1fa92490 
Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2009-07-03 22:49:59 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								16cc295a3c 
								
							 
						 
						
							
							
								
								test/pcm: Fix error messages in async callback and add snd_pcm_start() condition  
							
							 
							
							... 
							
							
							
							Signed-off-by: Jaroslav Kysela <perex@perex.cz> 
							
						 
						
							2008-09-15 15:14:58 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								d31fd52e74 
								
							 
						 
						
							
							
								
								test/pcm.c: Fix SND_PCM_FORMAT_S24 support  
							
							 
							
							... 
							
							
							
							The program uses snd_pcm_format_width() wrongly to calculate the sample
size.  It must be snd_pcm_format_physical_width() instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2008-07-10 18:45:23 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								af2c3fbe7d 
								
							 
						 
						
							
							
								
								Fix type-punning in test/pcm.c  
							
							 
							
							... 
							
							
							
							The cast won't work well with strict aliasing.
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2008-07-10 18:44:15 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								8aaccc9484 
								
							 
						 
						
							
							
								
								Implemented snd_pcm_sw_params_(set|get)_period_event for interrupt wakeup like behaviour  
							
							 
							
							... 
							
							
							
							Actually, PCM timer is used as source for poll(). It might be optimized
in the kernel code later. 
							
						 
						
							2008-05-09 16:02:02 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								cf15e49d84 
								
							 
						 
						
							
							
								
								Remove PCM xfer_align  
							
							 
							
							... 
							
							
							
							The PCM xfer_align is a removed feature from the kernel.
This patch cleans up the corresponding part in alsa-lib. 
							
						 
						
							2008-01-08 18:35:29 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								84ebfe7c92 
								
							 
						 
						
							
							
								
								Fix compile errors/warnings  
							
							 
							
							... 
							
							
							
							Fix compile errors/warnings.
omixer is removed since ordinary_mixer isn't supported any more. 
							
						 
						
							2005-11-21 10:48:52 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								62b9d00ad6 
								
							 
						 
						
							
							
								
								test/pcm.c - remove -EINTR handling (a job for alsa-lib)  
							
							 
							
							
							
						 
						
							2005-08-24 14:06:11 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								d9be3e3556 
								
							 
						 
						
							
							
								
								pcm.c test / example - Added EINTR handling  
							
							 
							
							
							
						 
						
							2005-08-23 12:57:48 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								3d1fa92490 
								
							 
						 
						
							
							
								
								added support for more sample widths  
							
							 
							
							... 
							
							
							
							- patch taken from ALSA bug #1140  
							
						 
						
							2005-05-30 10:22:18 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								f65d9f3108 
								
							 
						 
						
							
							
								
								Added snd_pcm_hw_params_set_rate_resample function  
							
							 
							
							... 
							
							
							
							- snd_pcm_hw_params_set_rate_resample()
- snd_pcm_hw_params_get_rate_resample() 
							
						 
						
							2005-04-12 12:09:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								dff4d5c466 
								
							 
						 
						
							
							
								
								Warning fixes  
							
							 
							
							
							
						 
						
							2004-04-06 17:28:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								23ed7623c6 
								
							 
						 
						
							
							
								
								Maarten de Boer <mdeboer@iua.upf.es>  
							
							 
							
							... 
							
							
							
							The attached patch makes the alsa-lib/test/pmc.c generate_sine code
slightly more simple, efficient and readable (but not less accurate),
taking quite some calculation out of the loop. 
							
						 
						
							2004-03-05 09:11:13 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2f1a2513dc 
								
							 
						 
						
							
							
								
								Added verbose flag  
							
							 
							
							
							
						 
						
							2004-02-05 11:01:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								bd93d0a672 
								
							 
						 
						
							
							
								
								Fixed wrong initialization of start_threshold  
							
							 
							
							
							
						 
						
							2004-02-03 16:14:39 +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  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								72c814db2a 
								
							 
						 
						
							
							
								
								Fixed typo  
							
							 
							
							
							
						 
						
							2003-10-13 10:42:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								6ad93ac892 
								
							 
						 
						
							
							
								
								added snd_user_file() function  
							
							 
							
							... 
							
							
							
							alisp extensions
  - added nth, include, path commands
  - added auto-exec functionality
  - added helpers for C<->lisp interoperability 
							
						 
						
							2003-09-03 19:25:08 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								3cce88b444 
								
							 
						 
						
							
							
								
								Added async_direct method  
							
							 
							
							
							
						 
						
							2003-05-15 09:10:36 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								6979732fa5 
								
							 
						 
						
							
							
								
								Changed sw_params to follow hw_params (unify functions)  
							
							 
							
							
							
						 
						
							2002-10-19 19:09:46 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								46b3cc1612 
								
							 
						 
						
							
							
								
								fixed -b option to accept the buffer time in us.  
							
							 
							
							
							
						 
						
							2002-10-17 17:48:56 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7f3942d827 
								
							 
						 
						
							
							
								
								Reverted back the PCM API.  
							
							 
							
							... 
							
							
							
							New snd_pcm_hw_params_* functions are available only explicitly when
ALSA_PCM_NEW_HW_PARAMS_API is defined.
Updated documentation and test code to new API. 
							
						 
						
							2002-09-19 16:12:13 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b9343e0834 
								
							 
						 
						
							
							
								
								- unified snd_pcm_hw_params_* functions  
							
							 
							
							... 
							
							
							
							- added backward compatibility for older non-compatible functions
- added --with-compat-rc3 to configure script to build library
  backwards compatible with 0.9.0rc3
- added symbol versioning like libc.so.6
  - ALSA_0.9      - alsa base
  - ALSA_0.9.0rc4 - first set of new functions (snd_pcm_hw_params_*) 
							
						 
						
							2002-09-17 12:33:05 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								853304bbf4 
								
							 
						 
						
							
							
								
								Corrections by Kevin Conder <kconder@interaccess.com>  
							
							 
							
							
							
						 
						
							2002-03-12 20:14:33 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								155e6822d2 
								
							 
						 
						
							
							
								
								Cleanup against latest API (mmap_commit)  
							
							 
							
							
							
						 
						
							2001-12-11 15:26:33 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								5c98225fc0 
								
							 
						 
						
							
							
								
								Removed snd_pcm_mmap_begin_avail and changed snd_pcm_mmap_begin behaviour back.  
							
							 
							
							
							
						 
						
							2001-12-10 17:16:13 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b7b11c3558 
								
							 
						 
						
							
							
								
								- added snd_pcm_mmap_begin_avail function; it is optimized for use after  
							
							 
							
							... 
							
							
							
							snd_pcm_avail_update() call
- fixed broken hw_ptr management inside snd_pcm_plugin code 
							
						 
						
							2001-12-09 18:41:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ddb7209e9a 
								
							 
						 
						
							
							
								
								Added snd_*_poll_descriptors_revents functions.  
							
							 
							
							
							
						 
						
							2001-11-30 17:36:45 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7c7352a009 
								
							 
						 
						
							
							
								
								Removed useless check  
							
							 
							
							
							
						 
						
							2001-11-01 07:23:28 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								d333c1e9de 
								
							 
						 
						
							
							
								
								Added direct_write transfer method  
							
							 
							
							
							
						 
						
							2001-10-18 18:04:26 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								0f67a428be 
								
							 
						 
						
							
							
								
								Enhanced, added async and direct (mmap) mode  
							
							 
							
							
							
						 
						
							2001-10-18 17:10:06 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								56778fa89d 
								
							 
						 
						
							
							
								
								Changes to show the different transfer methods  
							
							 
							
							
							
						 
						
							2001-10-17 17:50:16 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								76abb9738e 
								
							 
						 
						
							
							
								
								Enhanced, added -c, -r options  
							
							 
							
							
							
						 
						
							2001-10-17 15:04:39 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								d1944ccfa6 
								
							 
						 
						
							
							
								
								Rewritten test code  
							
							 
							
							
							
						 
						
							2001-10-16 16:11:04 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								41bb7068f2 
								
							 
						 
						
							
							
								
								Merged pcmfinal branch.  
							
							 
							
							
							
						 
						
							2000-11-20 20:10:46 +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  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								6962a9d6ce 
								
							 
						 
						
							
							
								
								Merged pcmplug branch.  
							
							 
							
							
							
						 
						
							2000-09-24 09:57:26 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								dc126564c7 
								
							 
						 
						
							
							
								
								PCM changes (record->capture)...  
							
							 
							
							
							
						 
						
							1999-06-12 19:23:10 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								c6d9012d55 
								
							 
						 
						
							
							
								
								Fixes for new types...  
							
							 
							
							
							
						 
						
							1999-06-03 21:41:29 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								fb1938d29f 
								
							 
						 
						
							
							
								
								Coding style..  
							
							 
							
							
							
						 
						
							1998-11-27 15:07:56 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ee5a757438 
								
							 
						 
						
							
							
								
								Bug fix in format setup...  
							
							 
							
							
							
						 
						
							1998-11-27 00:13:37 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								afb68b114a 
								
							 
						 
						
							
							
								
								More tests...  
							
							 
							
							
							
						 
						
							1998-09-21 21:07:47 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								f2bb7cec37 
								
							 
						 
						
							
							
								
								Initial version...  
							
							 
							
							
							
						 
						
							1998-09-15 09:28:50 +00:00