AudioStreamingSource.js 458 B

12345678910111213141516
  1. function AudioStreamingSource() {
  2. }
  3. Duktape.fin(AudioStreamingSource.prototype, function (x) {
  4. if (x === AudioStreamingSource.prototype) {
  5. return;
  6. }
  7. Polycode.AudioStreamingSource__delete(x.__ptr)
  8. })
  9. AudioStreamingSource.prototype.getNumChannels = function() {
  10. return Polycode.AudioStreamingSource_getNumChannels(this.__ptr)
  11. }
  12. AudioStreamingSource.prototype.getFrequency = function() {
  13. return Polycode.AudioStreamingSource_getFrequency(this.__ptr)
  14. }