< prev index next >

src/java.desktop/share/classes/javax/sound/sampled/AudioFormat.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -265,11 +265,10 @@
      * @see Encoding#PCM_UNSIGNED
      * @see Encoding#ULAW
      * @see Encoding#ALAW
      */
     public Encoding getEncoding() {
-
         return encoding;
     }
 
     /**
      * Obtains the sample rate. For compressed formats, the return value is the

@@ -286,11 +285,10 @@
      *         {@code AudioSystem.NOT_SPECIFIED}
      * @see #getFrameRate()
      * @see AudioSystem#NOT_SPECIFIED
      */
     public float getSampleRate() {
-
         return sampleRate;
     }
 
     /**
      * Obtains the size of a sample. For compressed formats, the return value is

@@ -307,11 +305,10 @@
      *         {@code AudioSystem.NOT_SPECIFIED}
      * @see #getFrameSize()
      * @see AudioSystem#NOT_SPECIFIED
      */
     public int getSampleSizeInBits() {
-
         return sampleSizeInBits;
     }
 
     /**
      * Obtains the number of channels. When this {@code AudioFormat} is used for

@@ -324,11 +321,10 @@
      * @return The number of channels (1 for mono, 2 for stereo, etc.), or
      *         {@code AudioSystem.NOT_SPECIFIED}
      * @see AudioSystem#NOT_SPECIFIED
      */
     public int getChannels() {
-
         return channels;
     }
 
     /**
      * Obtains the frame size in bytes. When this {@code AudioFormat} is used

@@ -343,11 +339,10 @@
      *         {@code AudioSystem.NOT_SPECIFIED}
      * @see #getSampleSizeInBits()
      * @see AudioSystem#NOT_SPECIFIED
      */
     public int getFrameSize() {
-
         return frameSize;
     }
 
     /**
      * Obtains the frame rate in frames per second. When this

@@ -363,11 +358,10 @@
      *         {@code AudioSystem.NOT_SPECIFIED}
      * @see #getSampleRate()
      * @see AudioSystem#NOT_SPECIFIED
      */
     public float getFrameRate() {
-
         return frameRate;
     }
 
     /**
      * Indicates whether the audio data is stored in big-endian or little-endian

@@ -376,11 +370,10 @@
      *
      * @return {@code true} if the data is stored in big-endian byte order,
      *         {@code false} if little-endian
      */
     public boolean isBigEndian() {
-
         return bigEndian;
     }
 
     /**
      * Obtain an unmodifiable map of properties. The concept of properties is
< prev index next >