[pulseaudio-commits] r1920 - /branches/lennart/src/pulsecore/sample-util.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sun Sep 30 17:16:25 PDT 2007


Author: lennart
Date: Mon Oct  1 02:16:24 2007
New Revision: 1920

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1920&root=pulseaudio&view=rev
Log:
fix silence initializer for alaw and ulaw

Modified:
    branches/lennart/src/pulsecore/sample-util.c

Modified: branches/lennart/src/pulsecore/sample-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/sample-util.c?rev=1920&root=pulseaudio&r1=1919&r2=1920&view=diff
==============================================================================
--- branches/lennart/src/pulsecore/sample-util.c (original)
+++ branches/lennart/src/pulsecore/sample-util.c Mon Oct  1 02:16:24 2007
@@ -104,9 +104,11 @@
             c = 0;
             break;
         case PA_SAMPLE_ALAW:
+            c = 0xd5;
+            break;
         case PA_SAMPLE_ULAW:
-            c = 80;
-            break;
+            c = 0xff;
+            breaK;
         default:
             pa_assert_not_reached();
     }




More information about the pulseaudio-commits mailing list