jdk/src/share/classes/com/sun/media/sound/DirectAudioDevice.java
changeset 21278 ef8a3a2a72f2
parent 18215 b2afd66ce6db
child 22584 eed64ee05369
--- a/jdk/src/share/classes/com/sun/media/sound/DirectAudioDevice.java	Tue Oct 29 16:35:20 2013 +0400
+++ b/jdk/src/share/classes/com/sun/media/sound/DirectAudioDevice.java	Tue Oct 29 17:01:06 2013 +0400
@@ -378,7 +378,7 @@
         protected final boolean isSource;         // true for SourceDataLine, false for TargetDataLine
         protected volatile long bytePosition;
         protected volatile boolean doIO = false;     // true in between start() and stop() calls
-        protected volatile boolean stoppedWritten = false; // true if a write occured in stopped state
+        protected volatile boolean stoppedWritten = false; // true if a write occurred in stopped state
         protected volatile boolean drained = false; // set to true when drain function returns, set to false in write()
         protected boolean monitoring = false;
 
@@ -642,7 +642,7 @@
         public void drain() {
             noService = true;
             // additional safeguard against draining forever
-            // this occured on Solaris 8 x86, probably due to a bug
+            // this occurred on Solaris 8 x86, probably due to a bug
             // in the audio driver
             int counter = 0;
             long startPos = getLongFramePosition();