mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Make CAS tone quieter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -73,7 +73,7 @@ static inline void gen_tones(unsigned char *buf, int len, int codec, float ddr1,
|
||||
t = 2.0 - (*cr2 * *cr2 + *ci2 * *ci2);
|
||||
*cr2 *= t;
|
||||
*ci2 *= t;
|
||||
buf[x] = AST_LIN2X((*cr1 + *cr2) * 8192.0);
|
||||
buf[x] = AST_LIN2X((*cr1 + *cr2) * 2048.0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user