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:
Luigi Rizzo
2006-03-29 02:12:31 +00:00
parent 150e0b72cc
commit 68ab41ebfe
3 changed files with 4 additions and 3 deletions

View File

@@ -95,8 +95,6 @@ When a real packet is not available in time, call plc_fillin() to create a sythe
That's it!
*/
#define SAMPLE_RATE 8000
/*! Minimum allowed pitch (66 Hz) */
#define PLC_PITCH_MIN 120
/*! Maximum allowed pitch (200 Hz) */