changeset 165:d7c213ee6717

2008-10-07 Omair Majid <omajid@redhat.com> * src/native/org_classpath_icedtea_pulseaudio_Stream.c (drain_callback): Fixed typo. (update_sample_rate_callback): Likewise.
author Omair Majid <omajid@redhat.com>
date Tue, 07 Oct 2008 12:06:29 -0400
parents e688b471726e
children c080309b8edd
files src/native/org_classpath_icedtea_pulseaudio_Stream.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/native/org_classpath_icedtea_pulseaudio_Stream.c	Tue Oct 07 11:31:39 2008 -0400
+++ b/src/native/org_classpath_icedtea_pulseaudio_Stream.c	Tue Oct 07 12:06:29 2008 -0400
@@ -604,7 +604,7 @@
 	notifyWaitingOperations(env);
 
 	if (success == 0) {
-		throwByName(env, ILLEGA_STATE_EXCEPTION, "drain failed");
+		throwByName(env, ILLEGAL_STATE_EXCEPTION, "drain failed");
 	}
 
 }
@@ -924,7 +924,7 @@
 	notifyWaitingOperations(env);
 
 	if (success == 0) {
-		throwByName(eng, ILLEGAL_STATE_EXCEPTION, "update_sampl_rate failed");
+		throwByName(env, ILLEGAL_STATE_EXCEPTION, "update_sampl_rate failed");
 	}
 
 }