How to use the ember-hifi/hifi-connections/base.extend function in ember-hifi

To help you get started, we’ve selected a few ember-hifi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nypublicradio / ember-hifi / tests / dummy / app / hifi-connections / local-dummy-connection.js View on Github external
import BaseSound from 'ember-hifi/hifi-connections/base';

export default BaseSound.extend({
  toString() {
    return 'Local Dummy Connection';
  },

  init           : function() {},
  willDestroy    : function() {},
  currentPosition: function() {},
  play           : function() {},
  pause          : function() {},
  _setVolume     : function() {}
});