node-bebop
Version:
Node.js JavaScript library for the Parrot Bebop
18 lines (10 loc) • 379 B
JavaScript
;
var commandToBuffer = require("./commandToBuffer");
var Audio = module.exports = function(self) {
this.self = self;
};
Audio.prototype.controllerReadyForStreaming = function(ready) {
var buffer = commandToBuffer(0, "Audio", "ControllerReadyForStreaming", ready);
this.self._writePacket(this.self._networkFrameGenerator(buffer));
return this.self;
};