mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Use correct function for name of codec (bug #2897)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										2
									
								
								dsp.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dsp.c
									
									
									
									
									
								
							| @@ -1457,7 +1457,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, | |||||||
| 			shortdata[x] = AST_ALAW(odata[x]); | 			shortdata[x] = AST_ALAW(odata[x]); | ||||||
| 		break; | 		break; | ||||||
| 	default: | 	default: | ||||||
| 		ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_codec2str(af->subclass)); | 		ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_getformatname(af->subclass)); | ||||||
| 		return af; | 		return af; | ||||||
| 	} | 	} | ||||||
| 	silence = __ast_dsp_silence(dsp, shortdata, len, NULL); | 	silence = __ast_dsp_silence(dsp, shortdata, len, NULL); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user