mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-29 07:24:55 +00:00 
			
		
		
		
	format_sln: add .slin as supported file extension
Adds '.slin' to existing supported file extensions:
.sln and .raw
ASTERISK-30465
Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496
(cherry picked from commit 71a83c128d)
			
			
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							2383e8a598
						
					
				
				
					commit
					33a9c3be91
				
			
							
								
								
									
										5
									
								
								doc/CHANGES-staging/format_sln_support_for_slin.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								doc/CHANGES-staging/format_sln_support_for_slin.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| Subject: format_sln | ||||
|  | ||||
| format_sln now recognizes '.slin' as a valid | ||||
| file extension in addition to the existing | ||||
| '.sln' and '.raw'. | ||||
| @@ -127,7 +127,7 @@ static off_t slinear_tell(struct ast_filestream *fs) | ||||
| static struct ast_frame *slinear_read(struct ast_filestream *s, int *whennext){return generic_read(s, whennext, 320);} | ||||
| static struct ast_format_def slin_f = { | ||||
| 	.name = "sln", | ||||
| 	.exts = "sln|raw", | ||||
| 	.exts = "sln|slin|raw", | ||||
| 	.write = slinear_write, | ||||
| 	.seek = slinear_seek, | ||||
| 	.trunc = slinear_trunc, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user