BufferSet

final case class BufferSet(id: Int, pairs: FillValue*) extends Message with SyncCmd

The /b_set message sets individual samples of the buffer to given values.

The /b_set message sets individual samples of the buffer to given values.

Value Params
id

the identifier of the buffer whose contents to write.

pairs

pairs of sample offsets and sample values. The offsets are de-interleaved samples, so for multi-channel buffers, to address a particular frame, the frame index must be multiplied by the number of channels and offset by the channel to write into.

See also
trait Serializable
trait Product
trait Equals
trait SyncCmd
trait SyncSend
trait Send
class Message
trait Packet
class Object
trait Matchable
class Any

Value members

Concrete methods

def copy(id: Int, pairs: Seq[FillValue]): BufferSet

Inherited methods

def encode(c: PacketCodec, b: ByteBuffer): Unit
Inherited from
Message
def encodedSize(c: PacketCodec): Int
Inherited from
Message
override def equals(other: Any): Boolean
Definition Classes
Message -> Any
Inherited from
Message
override def hashCode(): Int
Definition Classes
Message -> Any
Inherited from
Message
final def isSynchronous: Boolean
Inherited from
SyncSend
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override def toString: String
Definition Classes
Message -> Any
Inherited from
Message

Inherited fields

val args: Any*
Inherited from
Message
val name: String
Inherited from
Message