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 |
* |
* |
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>. */ |
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 |
|
|
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. |