mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Handle speex under most circumstances
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -573,6 +573,9 @@ static int get_samples(struct ast_frame *f) | ||||
| { | ||||
| 	int samples=0; | ||||
| 	switch(f->subclass) { | ||||
| 	case AST_FORMAT_SPEEX: | ||||
| 		samples = 160;	/* XXX Not necessarily true XXX */ | ||||
| 		break; | ||||
| 	case AST_FORMAT_G723_1: | ||||
| 		samples = 240 /* XXX Not necessarily true XXX */; | ||||
| 		break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user