mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Enable building and testing of ossaudiodev for Linux.
This commit is contained in:
		
							parent
							
								
									cd0c047619
								
							
						
					
					
						commit
						dca3f2f54a
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								Lib/test/output/test_ossaudiodev
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Lib/test/output/test_ossaudiodev
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| test_ossaudiodev | ||||
| expected rate >= 0, not -1 | ||||
| expected sample size >= 0, not -2 | ||||
| nchannels must be 1 or 2, not 3 | ||||
| unknown audio encoding: 177 | ||||
| for linear unsigned 16-bit little-endian audio, expected sample size 16, not 8 | ||||
| for linear unsigned 8-bit audio, expected sample size 8, not 16 | ||||
							
								
								
									
										1
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								setup.py
									
										
									
									
									
								
							|  | @ -722,6 +722,7 @@ class found(Exception): pass | |||
|         if platform == 'linux2': | ||||
|             # Linux-specific modules | ||||
|             exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) | ||||
|             exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) | ||||
| 
 | ||||
|         if platform == 'sunos5': | ||||
|             # SunOS specific modules | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum