changeset in /hg/pulseaudio: 2008-09-6 Omair Majid <omajid at redha...

Omair Majid omajid at redhat.com
Mon Oct 6 08:31:33 PDT 2008


changeset eb2d35a91b0d in /hg/pulseaudio
details: http://icedtea.classpath.org/hg/pulseaudio?cmd=changeset;node=eb2d35a91b0d
description:
	2008-09-6 Omair Majid <omajid at redhat.com>

	    * Got rid of unneeded imports.
	    * Removed unused stuff from PulseAudioVolumeControl

diffstat:

6 files changed, 25 deletions(-)
src/java/org/classpath/icedtea/pulseaudio/EventLoop.java               |    1 
src/java/org/classpath/icedtea/pulseaudio/Operation.java               |    1 
src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java    |    2 -
src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java    |    2 -
src/java/org/classpath/icedtea/pulseaudio/PulseAudioVolumeControl.java |   18 ----------
src/java/org/classpath/icedtea/pulseaudio/Stream.java                  |    1 

diffs (94 lines):

diff -r a9057b218aa0 -r eb2d35a91b0d src/java/org/classpath/icedtea/pulseaudio/EventLoop.java
--- a/src/java/org/classpath/icedtea/pulseaudio/EventLoop.java	Fri Oct 03 16:20:27 2008 -0400
+++ b/src/java/org/classpath/icedtea/pulseaudio/EventLoop.java	Mon Oct 06 11:31:34 2008 -0400
@@ -37,7 +37,6 @@ exception statement from your version.
 
 package org.classpath.icedtea.pulseaudio;
 
-import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.Semaphore;
diff -r a9057b218aa0 -r eb2d35a91b0d src/java/org/classpath/icedtea/pulseaudio/Operation.java
--- a/src/java/org/classpath/icedtea/pulseaudio/Operation.java	Fri Oct 03 16:20:27 2008 -0400
+++ b/src/java/org/classpath/icedtea/pulseaudio/Operation.java	Mon Oct 06 11:31:34 2008 -0400
@@ -37,7 +37,6 @@ exception statement from your version.
 
 package org.classpath.icedtea.pulseaudio;
 
-import java.io.IOException;
 
 /*
  * Encapsulates a pa_operation object
diff -r a9057b218aa0 -r eb2d35a91b0d src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java
--- a/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java	Fri Oct 03 16:20:27 2008 -0400
+++ b/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java	Mon Oct 06 11:31:34 2008 -0400
@@ -37,8 +37,6 @@ exception statement from your version.
 
 package org.classpath.icedtea.pulseaudio;
 
-import java.io.IOException;
-
 import javax.sound.sampled.Port;
 
 public class PulseAudioSourcePort extends PulseAudioPort {
diff -r a9057b218aa0 -r eb2d35a91b0d src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java
--- a/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java	Fri Oct 03 16:20:27 2008 -0400
+++ b/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java	Mon Oct 06 11:31:34 2008 -0400
@@ -37,8 +37,6 @@ exception statement from your version.
 
 package org.classpath.icedtea.pulseaudio;
 
-import java.io.IOException;
-
 import javax.sound.sampled.Port;
 
 public class PulseAudioTargetPort extends PulseAudioPort {
diff -r a9057b218aa0 -r eb2d35a91b0d src/java/org/classpath/icedtea/pulseaudio/PulseAudioVolumeControl.java
--- a/src/java/org/classpath/icedtea/pulseaudio/PulseAudioVolumeControl.java	Fri Oct 03 16:20:27 2008 -0400
+++ b/src/java/org/classpath/icedtea/pulseaudio/PulseAudioVolumeControl.java	Mon Oct 06 11:31:34 2008 -0400
@@ -37,8 +37,6 @@ exception statement from your version.
 
 package org.classpath.icedtea.pulseaudio;
 
-import java.io.IOException;
-
 import javax.sound.sampled.FloatControl;
 
 class PulseAudioVolumeControl extends FloatControl {
@@ -55,24 +53,8 @@ class PulseAudioVolumeControl extends Fl
 		this.eventLoop = eventLoop;
 	}
 
-	@SuppressWarnings("unused")
-	private byte[] streamPointer;
-
 	private EventLoop eventLoop;
 	private PulseAudioPlaybackLine line;
-
-	static {
-		try {
-			String library = new java.io.File(".").getCanonicalPath()
-					+ java.io.File.separatorChar
-					+ System.mapLibraryName("pulse-java");
-			// System.out.println(PulseAudioVolumeControl.class.getCanonicalName()
-			// + ": " + library);
-			System.load(library);
-		} catch (IOException e) {
-			assert ("Loading failed".endsWith("library"));
-		}
-	}
 
 	public synchronized void setValue(float newValue) {
 		if (newValue > MAX_VOLUME || newValue < MIN_VOLUME) {
diff -r a9057b218aa0 -r eb2d35a91b0d src/java/org/classpath/icedtea/pulseaudio/Stream.java
--- a/src/java/org/classpath/icedtea/pulseaudio/Stream.java	Fri Oct 03 16:20:27 2008 -0400
+++ b/src/java/org/classpath/icedtea/pulseaudio/Stream.java	Mon Oct 06 11:31:34 2008 -0400
@@ -37,7 +37,6 @@ exception statement from your version.
 
 package org.classpath.icedtea.pulseaudio;
 
-import java.io.IOException;
 import java.util.LinkedList;
 import java.util.List;
 



More information about the distro-pkg-dev mailing list