lib/old/toxav.js
function(tox, opts) {
  if(!opts) opts = {};
  var libpath = opts['path'];

  this._tox = tox;
  this._toxav = this.createLibrary(libpath);
}
function(tox, opts) {
  if(!opts) opts = {};
  var libpath = opts['path'];

  this._tox = tox;
  this._toxav = this.createLibrary(libpath);
}
function ( tox , opts ) { if ( ! opts ) opts = { } ; var libpath = opts [ 'path' ] ; this . _tox = tox ; this . _toxav = this . createLibrary ( libpath ) ; }
Construct a new ToxAV.
@class
@param {Tox} tox       - Tox instance
@param {Object} [opts] - Options
@param {String} [opts.path] toxav library path, will use the
default if not specified
Construct a new ToxAV .