changeset 2694:88f9ea95b92c

LP862286: Fix exception on trying to start PulseAudio playback. 2011-09-29 Xerxes Ranby <xerxes@zafena.se> David Henningsson <david.henningsson@canonical.com> LP862286 * NEWS: Updated. * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ PulseAudioDataLine.java (addStreamListeners): Fix exception on trying to start PulseAudio playback.
author Xerxes Ranby <xerxes@zafena.se>
date Thu, 29 Sep 2011 16:59:04 +0200
parents af642d6ae50e
children 80aee2097f5e
files ChangeLog NEWS pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
diffstat 3 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Sep 26 14:03:11 2011 +0200
+++ b/ChangeLog	Thu Sep 29 16:59:04 2011 +0200
@@ -1,3 +1,12 @@
+2011-09-29  Xerxes Rånby  <xerxes@zafena.se>
+	    David Henningsson <david.henningsson@canonical.com>
+
+	LP862286
+	* NEWS: Updated.
+	* pulseaudio/src/java/org/classpath/icedtea/pulseaudio/
+	  PulseAudioDataLine.java (addStreamListeners): 
+	  Fix exception on trying to start PulseAudio playback.
+
 2011-09-26  Xerxes Rånby  <xerxes@zafena.se>
 	    Mark David Dumlao  <madumlao@gmail.com>
 
--- a/NEWS	Mon Sep 26 14:03:11 2011 +0200
+++ b/NEWS	Thu Sep 29 16:59:04 2011 +0200
@@ -371,6 +371,7 @@
   - S6826104, RH730015: Getting a NullPointer exception when clicked on Application & Toolkit Modal dialog
   - S5082756: Image I/O plug-ins set metadata boolean attributes to "true" or "false"
   - S6296893: BMP Writer handles TopDown property incorrectly for some of the compression types
+  - LP862286: Fix exception on trying to start PulseAudio playback
 * Allow selection of test suites using the jtreg_checks argument e.g. jtreg_checks="langtools"
 * CACAO
   - CA149: Used wrong class loader.
--- a/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java	Mon Sep 26 14:03:11 2011 +0200
+++ b/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java	Thu Sep 29 16:59:04 2011 +0200
@@ -211,7 +211,7 @@
                 if (!dataWritten) {
                     fireLineEvent(new LineEvent(PulseAudioDataLine.this,
                             LineEvent.Type.START, framesSinceOpen));
-                    synchronized (this) {
+                    synchronized (PulseAudioDataLine.this) {
                         PulseAudioDataLine.this.notifyAll();
                     }
                 }