mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Add two widely used constants
#define DEFAULT_SAMPLE_RATE 8000 #define DEFAULT_SAMPLES_PER_MS ((DEFAULT_SAMPLE_RATE)/1000) to the main header, and remove equivalent ones from plc.[ch] This will simplify the cleanup of the codec/ and formats/ files. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -20,6 +20,9 @@ | ||||
|  | ||||
| #define DEFAULT_LANGUAGE "en" | ||||
|  | ||||
| #define DEFAULT_SAMPLE_RATE 8000 | ||||
| #define DEFAULT_SAMPLES_PER_MS  ((DEFAULT_SAMPLE_RATE)/1000) | ||||
|  | ||||
| #define AST_CONFIG_MAX_PATH 255 | ||||
|  | ||||
| /* provided in asterisk.c */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user