gsm compression bad sound quality due to problems with optimization. asterisk patches to include when using gsm with vicidial.

git-svn-id: svn://192.168.202.10@861 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
frankw
2008-05-14 07:05:22 +00:00
parent b067e6b239
commit 86b70f0ab3
3 changed files with 67 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
Index: codecs/gsm/inc/private.h
===================================================================
--- codecs/gsm/inc/private.h (revision 109711)
+++ codecs/gsm/inc/private.h (working copy)
@@ -105,7 +105,7 @@
__asm__ __volatile__(
"addl %2,%0; jno 0f; movl $0x7fffffff,%0; adcl $0,%0; 0:"
- : "=r" (a)
+ : "=&r" (a)
: "0" (a), "ir" (b)
: "cc"
);
@@ -116,7 +116,7 @@
{
__asm__ __volatile__(
"addw %2,%0; jno 0f; movw $0x7fff,%0; adcw $0,%0; 0:"
- : "=r" (a)
+ : "=&r" (a)
: "0" (a), "ir" (b)
: "cc"
);
@@ -127,7 +127,7 @@
{
__asm__ __volatile__(
"subw %2,%0; jno 0f; movw $0x7fff,%0; adcw $0,%0; 0:"
- : "=r" (a)
+ : "=&r" (a)
: "0" (a), "ir" (b)
: "cc"
);