/[svn]/jlscp/trunk/src/org/linuxsampler/lscp/BufferFill.java
ViewVC logotype

Diff of /jlscp/trunk/src/org/linuxsampler/lscp/BufferFill.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1138 by iliev, Wed Jun 1 07:11:31 2005 UTC revision 1139 by iliev, Mon Apr 2 20:43:58 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *   jlscp - a java LinuxSampler control protocol API   *   jlscp - a java LinuxSampler control protocol API
3   *   *
4   *   Copyright (C) 2005 Grigor Kirilov Iliev   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of jlscp.   *   This file is part of jlscp.
7   *   *
# Line 27  package org.linuxsampler.lscp; Line 27  package org.linuxsampler.lscp;
27   * @author  Grigor Iliev   * @author  Grigor Iliev
28   */   */
29  public class BufferFill {  public class BufferFill {
30          private int streamID;          private int streamId;
31          private int value;          private int value;
32                    
33          /** Creates a new instance of <code>BufferFill</code>. */          /** Creates a new instance of <code>BufferFill</code>. */
# Line 37  public class BufferFill { Line 37  public class BufferFill {
37          /**          /**
38           * Creates a new instance of <code>BufferFill</code> with           * Creates a new instance of <code>BufferFill</code> with
39           * the specified stream ID and fill amount.           * the specified stream ID and fill amount.
40           * @param streamID The stream ID of the disk stream buffer.           * @param streamId The stream ID of the disk stream buffer.
41           * @param value The fill amount of the disk stream buffer.           * @param value The fill amount of the disk stream buffer.
42           */           */
43          public          public
44          BufferFill(int streamID, int value) {          BufferFill(int streamId, int value) {
45                  setStreamID(streamID);                  setStreamId(streamId);
46                  setValue(value);                  setValue(value);
47          }          }
48                    
# Line 51  public class BufferFill { Line 51  public class BufferFill {
51           * @return The stream ID of the disk stream buffer.           * @return The stream ID of the disk stream buffer.
52           */           */
53          public int          public int
54          getStreamID() { return streamID; }          getStreamId() { return streamId; }
55                    
56          /**          /**
57           * Sets the stream ID of the disk stream buffer.           * Sets the stream ID of the disk stream buffer.
58           * @param id The stream ID of the disk stream buffer.           * @param id The stream ID of the disk stream buffer.
59           */           */
60          public void          public void
61          setStreamID(int id) { streamID = id; }          setStreamId(int id) { streamId = id; }
62                    
63          /**          /**
64           * Gets the fill amount of the buffer.           * Gets the fill amount of the buffer.

Legend:
Removed from v.1138  
changed lines
  Added in v.1139

  ViewVC Help
Powered by ViewVC