changeset in /hg/icedtea: 2008-10-14 Ioana Ivan <iivan at redhat.com>

iivan at town.yyz.redhat.com iivan at town.yyz.redhat.com
Sat Oct 18 21:23:32 PDT 2008


changeset 17eedb3bbfbd in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=17eedb3bbfbd
description:
	2008-10-14 Ioana Ivan <iivan at redhat.com>

	        * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java
	        (connectLine): changed bufferAttributes to fix crackling in the clip tests

diffstat:

2 files changed, 8 insertions(+), 1 deletion(-)
ChangeLog                                                                |    6 ++++++
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java |    3 ++-

diffs (26 lines):

diff -r 53383766dc24 -r 17eedb3bbfbd ChangeLog
--- a/ChangeLog	Tue Oct 14 16:58:03 2008 -0400
+++ b/ChangeLog	Tue Oct 14 17:08:32 2008 -0400
@@ -1,3 +1,9 @@ 2008-10-14 Omair Majid <omajid at redhat.co
+2008-10-14 Ioana Ivan <iivan at redhat.com>
+
+        * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java
+        (connectLine): changed bufferAttributes to fix crackling in the clip tests
+
+
 2008-10-14 Omair Majid <omajid at redhat.com>
 
 	* pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
diff -r 53383766dc24 -r 17eedb3bbfbd pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java
--- a/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java	Tue Oct 14 16:58:03 2008 -0400
+++ b/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java	Tue Oct 14 17:08:32 2008 -0400
@@ -207,7 +207,8 @@ public class PulseAudioClip extends Puls
 	protected void connectLine(int bufferSize, Stream masterStream)
 			throws LineUnavailableException {
 		StreamBufferAttributes bufferAttributes = new StreamBufferAttributes(
-				bufferSize, bufferSize / 2, bufferSize / 2, bufferSize / 2, 0);
+				bufferSize, bufferSize / 4, bufferSize / 8,
+				((bufferSize / 10) > 100 ? bufferSize / 10 : 100), 0);
 
 		if (masterStream != null) {
 			synchronized (eventLoop.threadLock) {



More information about the distro-pkg-dev mailing list