hybridgroup/node-bebop

View on GitHub
lib/AudioState.js

Summary

Maintainability
A
1 hr
Test Coverage


"use strict";

var commandToBuffer = require("./commandToBuffer");

var AudioState = module.exports = function(self) {
  this.self = self;
};

AudioState.prototype.audioStreamingRunning = function(running) {

  var buffer = commandToBuffer(0, "AudioState", "AudioStreamingRunning", running);

  this.self._writePacket(this.self._networkFrameGenerator(buffer));
  return this.self;
};